[Reland] Change the API shape for BackForwardCacheSettings

This change alters the structure of BackForwardCacheSettings by grouping
the settings directly on the Settings object. This removes the need for
a builder and the corresponding setter method in the WebSettingsCompat
class.

This change was reverted due to a bug in the first version of the API
and this CL fixes it.

Bug: b:432395269
Change-Id: Ib3fd6e5c37997f10998e02b9635bd4b39bb76e28
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7213581
Commit-Queue: Sayed Elabady <[email protected]>
Reviewed-by: Ashley Newson <[email protected]>
Reviewed-by: Richard (Torne) Coles <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1555528}
NOKEYCHECK=True
GitOrigin-RevId: b8c03f6e9492de9c404743ae072b40bd05f12a61
1 file changed
tree: ced85b6ef77ba065715ddf7f8b7e0a0bee8b6985
  1. src/
  2. .gitignore
  3. AndroidManifest.xml
  4. BUILD.gn
  5. DEPS
  6. OWNERS
  7. proguard.flags
  8. README.md
README.md

Webkit Boundary Interfaces

Note: the canonical copy of the boundary interfaces lives in the chromium repository; this subdirectory of chromium is mirrored into the Android project for use by the webkit AndroidX module.

If you‘re reading this file in the Android repository, don’t make changes in this folder. Please make changes in chromium, or contact the OWNERS in frameworks/support/webkit/.

If you're reading this file in the chromium repository, you should feel free to make changes. Please be aware that this folder has strict import requirements (enforced by DEPS), because it must continue to build when mirrored into Android.