Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(584)

Unified Diff: content/child/webmessageportchannel_impl.h

Issue 2755223002: Enable Blink to pass extra Mojo handles across MessagePorts
Patch Set: Finish plumbing Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/android/app_web_message_port.cc ('k') | content/child/webmessageportchannel_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webmessageportchannel_impl.h
diff --git a/content/child/webmessageportchannel_impl.h b/content/child/webmessageportchannel_impl.h
index 70a04b1766171f0fbba35cce72e53a9257011904..634d9e2d0f646ff214df057f636bb542967400fc 100644
--- a/content/child/webmessageportchannel_impl.h
+++ b/content/child/webmessageportchannel_impl.h
@@ -42,9 +42,11 @@ class WebMessagePortChannelImpl : public blink::WebMessagePortChannel {
// WebMessagePortChannel implementation.
void setClient(blink::WebMessagePortChannelClient* client) override;
void postMessage(const blink::WebString& encoded_message,
- blink::WebMessagePortChannelArray channels) override;
+ blink::WebMessagePortChannelArray channels,
+ blink::WebVector<mojo::ScopedHandle> handles) override;
bool tryGetMessage(blink::WebString* encoded_message,
- blink::WebMessagePortChannelArray& channels) override;
+ blink::WebMessagePortChannelArray& channels,
+ blink::WebVector<mojo::ScopedHandle>& handles) override;
MessagePort port_;
« no previous file with comments | « content/browser/android/app_web_message_port.cc ('k') | content/child/webmessageportchannel_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698