webview: allow PacProcessor to be used with DE storage.

The Android PAC processor service needs to be able to run while the
device is locked (using DE storage) but relies on WebView's copy of V8
to run PAC scripts.

WebView normally disallows callers using DE storage, but this breaks the
PAC processor. The PAC processor doesn't use the rest of the WebView
implementation and doesn't store anything meaningful in the data
directory, so just skip the DE storage check for this case.

Bug: 356495702
Change-Id: I9b0721e97235d59a987a5625b0b273fc890a3c05
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5756641
Reviewed-by: Nate Fischer <ntfschr@chromium.org>
Auto-Submit: Richard (Torne) Coles <torne@chromium.org>
Commit-Queue: Richard (Torne) Coles <torne@chromium.org>
Commit-Queue: Nate Fischer <ntfschr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1336329}
NOKEYCHECK=True
GitOrigin-RevId: d21b9c681f1f0ebcdecf240add207afc7ab8d73b
1 file changed
tree: 393020998f0d1c4e82cc408a45a3568bd06d4184
  1. java/
  2. BUILD.gn
  3. README.md
README.md

//android_webview/glue/

This folder contains a shim layer between the public frameworks APIs (android.webkit.*) and WebView's implementation, and allows them to (mostly) not directly depend on each other.

Folder Dependencies

//android_webview/java/ must not depend on this directory.

See Also