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

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

Issue 995663002: Implement receiving transferred ports from JS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@flaky-test
Patch Set: rebase again Created 5 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/message_port_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cd720d1c4b88f2ebee3f05d44601233ce6688ec5..96d7bbbabd18455b215c9da4e887210472fbd7a7 100644
--- a/content/public/browser/message_port_provider.h
+++ b/content/public/browser/message_port_provider.h
@@ -65,6 +65,12 @@ class CONTENT_EXPORT MessagePortProvider {
// Cleanup the message ports that belong to the closing delegate.
static void OnMessagePortDelegateClosing(MessagePortDelegate * delegate);
+ // Update message port information when the message port is transferred
+ // from a different process. The updated message ports will have their
+ // routing numbers equal to the message port numbers.
nasko 2015/03/11 23:08:42 nit: Let's be consistent and put the requirement o
sgurun-gerrit only 2015/03/11 23:28:59 Done.
+ static void UpdateMessagePort(int message_port_id,
+ MessagePortDelegate* delegate);
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(MessagePortProvider);
};
« no previous file with comments | « content/browser/message_port_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698