diff options
author | Marijn Kruisselbrink <mek@chromium.org> | 2017-10-14 10:34:11 +0900 |
---|---|---|
committer | Qijiang Fan <fqj@google.com> | 2020-06-05 07:29:40 +0900 |
commit | ad4478ba27e963913852808a119ceeba16c8204f (patch) | |
tree | 21a1789618d3afc9a842aa4796080f96efbbebe9 /mojo/public/tools/bindings/chromium_bindings_configuration.gni | |
parent | 46cd6e910d2a195b73e66d4fc54bd6e36daab42a (diff) | |
download | libchrome-ad4478ba27e963913852808a119ceeba16c8204f.tar.gz |
Add typemaps for MessagePortMessage mojo struct.
This splits the mojom MessagePortMessage struct into CloneableMessage
and TransferableMessage structs, and adds typemaps to map these structs
to either blink::*Message or blink::Blink*Message, and uses the split out
CloneableMessage struct type in the BroadcastChannel mojo interface.
In a follow-up CL CloneableMessage will be expended with Blob handles to
keep blobs that are part of the message alive, at which point sharing the
same serialization logic will make code a lot simpler.
Other follow-up patches will use the same struct for other postMessage
APIs/IPCs/mojo interfaces.
Bug: 740744, 351753
Change-Id: I6cb6849352f7726cb9628b0156a507e08745fabe
Reviewed-on: https://chromium-review.googlesource.com/600541
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Ken Rockot <rockot@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#508906}
CrOS-Libchrome-Original-Commit: 94b81b508179a877b893dbf0c0986bd27e5f7818
Diffstat (limited to 'mojo/public/tools/bindings/chromium_bindings_configuration.gni')
-rw-r--r-- | mojo/public/tools/bindings/chromium_bindings_configuration.gni | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mojo/public/tools/bindings/chromium_bindings_configuration.gni b/mojo/public/tools/bindings/chromium_bindings_configuration.gni index a6c270b206..a2d95df71d 100644 --- a/mojo/public/tools/bindings/chromium_bindings_configuration.gni +++ b/mojo/public/tools/bindings/chromium_bindings_configuration.gni @@ -42,6 +42,7 @@ _typemap_imports = [ "//services/viz/privileged/interfaces/compositing/typemaps.gni", "//services/viz/public/cpp/compositing/typemaps.gni", "//skia/public/interfaces/typemaps.gni", + "//third_party/WebKit/common/typemaps.gni", "//third_party/WebKit/public/public_typemaps.gni", "//ui/base/mojo/typemaps.gni", "//ui/display/mojo/typemaps.gni", |