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

Unified Diff: content/common/worker_messages.h

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Eliminate unnecessary PostTask Created 3 years, 10 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/common/worker_messages.h
diff --git a/content/common/worker_messages.h b/content/common/worker_messages.h
index e49ce80e525f1fe5fedcadb7d1d58df943155094..62426eff8e4661b489ec3642fd56ec06175181d2 100644
--- a/content/common/worker_messages.h
+++ b/content/common/worker_messages.h
@@ -14,6 +14,7 @@
#include "base/strings/string16.h"
#include "content/common/content_export.h"
#include "content/common/content_param_traits.h"
+#include "content/common/message_port.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_message_utils.h"
#include "url/gurl.h"
@@ -79,8 +80,8 @@ IPC_SYNC_MESSAGE_CONTROL0_0(WorkerProcessHostMsg_ForceKillWorker)
IPC_MESSAGE_ROUTED0(WorkerMsg_TerminateWorkerContext)
IPC_MESSAGE_ROUTED2(WorkerMsg_Connect,
- int /* sent_message_port_id */,
- int /* routing_id */)
+ int /* connection_request_id */,
+ content::MessagePort /* sent_message_port */)
IPC_MESSAGE_ROUTED0(WorkerMsg_WorkerObjectDestroyed)
@@ -107,5 +108,5 @@ IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerScriptLoadFailed,
int /* worker_route_id */)
IPC_MESSAGE_CONTROL2(WorkerHostMsg_WorkerConnected,
- int /* message_port_id */,
+ int /* connection_request_id */,
int /* worker_route_id */)

Powered by Google App Engine
This is Rietveld 408576698