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

Unified Diff: content/browser/message_port_service.h

Issue 785133006: Enable messaging over a navigator.connect initiated channel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@navigator-connect_serviceside
Patch Set: comments Created 6 years 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/browser/message_port_service.h
diff --git a/content/browser/message_port_service.h b/content/browser/message_port_service.h
index 12ba53820c376996a53defa4b0d79be9bf32455c..623b26b0faa524ed56ae72b9b5691dc49c63618c 100644
--- a/content/browser/message_port_service.h
+++ b/content/browser/message_port_service.h
@@ -15,7 +15,7 @@
#include "ipc/ipc_message.h"
namespace content {
-class MessagePortMessageFilter;
+class MessagePortDelegate;
class MessagePortService {
public:
@@ -27,7 +27,7 @@ class MessagePortService {
// These methods correspond to the message port related IPCs.
void Create(int route_id,
- MessagePortMessageFilter* filter,
+ MessagePortDelegate* delegate,
int* message_port_id);
void Destroy(int message_port_id);
void Entangle(int local_message_port_id, int remote_message_port_id);
@@ -41,10 +41,9 @@ class MessagePortService {
// Updates the information needed to reach a message port when it's sent to a
// (possibly different) process.
- void UpdateMessagePort(
- int message_port_id,
- MessagePortMessageFilter* filter,
- int routing_id);
+ void UpdateMessagePort(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
@@ -60,7 +59,7 @@ class MessagePortService {
// Closes and cleans up the message port.
void ClosePort(int message_port_id);
- void OnMessagePortMessageFilterClosing(MessagePortMessageFilter* filter);
+ void OnMessagePortDelegateClosing(MessagePortDelegate* filter);
// Attempts to send the queued messages for a message port.
void SendQueuedMessagesIfPossible(int message_port_id);

Powered by Google App Engine
This is Rietveld 408576698