[AW] Change prefetch exception boundary interface

Instead of creating boundary interface for each value type of the
PrefetchExceptions, we can just use an enum and pass any necessary
information in the onFailure and let AndroidX create this exception based
on the data passed.

This should be the clean and optimized way of handling it.

Bug: 355430425
Change-Id: I186c3a443ecb24955442116ad49bb84a81b7f581
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6309156
Reviewed-by: Richard (Torne) Coles <[email protected]>
Commit-Queue: Sayed Elabady <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1427142}
NOKEYCHECK=True
GitOrigin-RevId: 0434289fcb70ceaec09e711b2cb716640140bef5
6 files changed
tree: 4195cdd1791611dd07b203eed959b953e35d4d26
  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.