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

Unified Diff: content/common/message_port.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/child/webmessageportchannel_impl.cc ('k') | content/common/message_port.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/message_port.h
diff --git a/content/common/message_port.h b/content/common/message_port.h
index d3d198c4fd25a6f92305c328ff7c5a6895856070..d65a81b9b7be448c50ff4e4927eae899a65217c1 100644
--- a/content/common/message_port.h
+++ b/content/common/message_port.h
@@ -61,12 +61,14 @@ class CONTENT_EXPORT MessagePort {
// Sends an encoded message (along with ports to transfer) to this port's
// peer.
void PostMessage(const base::string16& encoded_message,
- std::vector<MessagePort> ports);
+ std::vector<MessagePort> ports,
+ std::vector<mojo::ScopedHandle> extra_handles);
// Get the next available encoded message if any. Returns true if a message
// was read.
bool GetMessage(base::string16* encoded_message,
- std::vector<MessagePort>* ports);
+ std::vector<MessagePort>* ports,
+ std::vector<mojo::ScopedHandle>* extra_handles);
// This callback will be invoked on a background thread when messages are
// available to be read via GetMessage.
« no previous file with comments | « content/child/webmessageportchannel_impl.cc ('k') | content/common/message_port.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698