Revert "Replace String with WebMessagePayload for AndroidX WebMessage API"

This reverts commit bc7514a7cf7b67ffc3fb0698310a23246df5a7c5.

Reason for revert: Fail the downstream builds

Original change's description:
> Replace String with WebMessagePayload for AndroidX WebMessage API
>
> Design doc: https://docs.google.com/document/d/1nsQnwwY43OuA4PsSaMioiKA0c_M1eV1XX2q15YFA7cI/edit?usp=sharing
>
> This CL did not add new features.
> - Add a new boundary type WebMessagePayload to replace String
> WebMessage.getData().
> - Add new data class MessagePayload in content/, and replace existing
> PostMessage API with the new type.
> - A followup change will add ArrayBuffer support in
> WebViewCompat.postMessageToMainFrame and
> WebChannelCompat.postMessage.
>
> How to test: run tests in existing AndroidX Webkit.
>
> Bug: 1023334
> Change-Id: Ib5b35b974bee597a6efada75503c5288f7058c50
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3583520
> Reviewed-by: Bo Liu <boliu@chromium.org>
> Reviewed-by: Richard Coles <torne@chromium.org>
> Reviewed-by: Peter Conn <peconn@chromium.org>
> Commit-Queue: Linyue He <linyhe@microsoft.com>
> Cr-Commit-Position: refs/heads/main@{#995852}

Bug: 1023334, 1319735
Change-Id: If4f6e38f8392ad4135cd76f6391abe6c248194bd
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3607489
Auto-Submit: Zhiyuan Cai <zhiyuancai@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Owners-Override: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#996032}
NOKEYCHECK=True
GitOrigin-RevId: dc0c4bc3ac5be6c530ddf43d1a9f3621ad76a845
4 files changed
tree: 1198b623fb128d023496a22e58b2c9fdeafada2c
  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.