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

Unified Diff: content/browser/message_port_service.h

Issue 1110103003: Initial implementation of stashed message ports, content side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nicer dchecks Created 5 years, 7 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 | « no previous file | content/browser/message_port_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/message_port_service.h
diff --git a/content/browser/message_port_service.h b/content/browser/message_port_service.h
index d5e3379d57d7eb724bb937b7b57ef13e51e761c2..3d0342b4374da6af160dfc05cbd906b6d739eaab 100644
--- a/content/browser/message_port_service.h
+++ b/content/browser/message_port_service.h
@@ -49,6 +49,13 @@ class CONTENT_EXPORT MessagePortService {
MessagePortDelegate* delegate,
int routing_id);
+ // Returns the current information by which a message port can be reached.
+ // Either |delegate| or |routing_id| can be null, in which case that bit of
+ // information is not returned.
+ void GetMessagePortInfo(int message_port_id,
+ MessagePortDelegate** delegate,
+ int* routing_id);
+
// The message port is being transferred to a new renderer process, but the
// code doing that isn't able to immediately update the message port with a
// new filter and routing_id. This queues up all messages sent to this port
« no previous file with comments | « no previous file | content/browser/message_port_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698