Add getSpeculativeLoadingStatus and change setSpeculativeLoadingStatus
to take enum instead of boolean.

We may want later in the future to run separate experiments for
Prefetch and Prerender, hence a single boolean will make that
impossible so we need to make it possible to enable each separately.

Bug: 340826097
Change-Id: I614c9acfc65b97d7bd775bc2fcd4ed94c595e712
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5554286
Reviewed-by: Michael van Ouwerkerk <mvanouwerkerk@chromium.org>
Commit-Queue: Sayed Elabady <elabadysayed@chromium.org>
Reviewed-by: Richard (Torne) Coles <torne@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1306817}
NOKEYCHECK=True
GitOrigin-RevId: 7b170ddff0cfcb3866a417610e119c14ea72a5a6
2 files changed
tree: 1520d108a528e374cfc0f540b40c2b65b3994b6f
  1. src/
  2. .gitignore
  3. BUILD.gn
  4. DEPS
  5. OWNERS
  6. proguard.flags
  7. 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.