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

Unified Diff: content/public/browser/message_port_provider.h

Issue 869133005: Post a Message from Java to JS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address mnaganov comments Created 5 years, 11 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
Index: content/public/browser/message_port_provider.h
diff --git a/content/public/browser/message_port_provider.h b/content/public/browser/message_port_provider.h
index 70fbe1127030396ec203bdc7f537b4448e6b0020..1042399fdb4311c4d375458e4b65c34ebf265290 100644
--- a/content/public/browser/message_port_provider.h
+++ b/content/public/browser/message_port_provider.h
@@ -42,6 +42,11 @@ class CONTENT_EXPORT MessagePortProvider {
int* port1,
int* port2);
+ // Posts a MessageEvent to a message port associated with a message channel.
+ static void PostMessageToPort(int sender_port_id,
+ const base::string16& data,
+ const std::vector<int>& sent_ports);
jochen (gone - plz use gerrit) 2015/01/29 15:13:31 nit. the variable names of the header and impl don
sgurun-gerrit only 2015/01/29 19:15:40 Done.
+
// Cleanup the message ports that belong to the closing delegate.
static void OnMessagePortDelegateClosing(MessagePortDelegate * delegate);

Powered by Google App Engine
This is Rietveld 408576698