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

Unified Diff: content/browser/shared_worker/shared_worker_service_impl.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/browser/shared_worker/shared_worker_service_impl.h
diff --git a/content/browser/shared_worker/shared_worker_service_impl.h b/content/browser/shared_worker/shared_worker_service_impl.h
index 952b42843fb1dec2f8c2eec33820f7ec345200c4..f3d27065a23144266a0f63a0eba8d11f62362843 100644
--- a/content/browser/shared_worker/shared_worker_service_impl.h
+++ b/content/browser/shared_worker/shared_worker_service_impl.h
@@ -28,6 +28,7 @@ class Message;
namespace content {
+class MessagePort;
class SharedWorkerInstance;
class SharedWorkerHost;
class SharedWorkerMessageFilter;
@@ -57,8 +58,8 @@ class CONTENT_EXPORT SharedWorkerServiceImpl
ResourceContext* resource_context,
const WorkerStoragePartitionId& partition_id);
void ConnectToWorker(SharedWorkerMessageFilter* filter,
- int route_id,
- int sent_message_port_id);
+ int worker_route_id,
+ const MessagePort& port);
void DocumentDetached(SharedWorkerMessageFilter* filter,
unsigned long long document_id);
void WorkerContextClosed(SharedWorkerMessageFilter* filter,
@@ -72,7 +73,7 @@ class CONTENT_EXPORT SharedWorkerServiceImpl
void WorkerScriptLoadFailed(SharedWorkerMessageFilter* filter,
int worker_route_id);
void WorkerConnected(SharedWorkerMessageFilter* filter,
- int message_port_id,
+ int connection_request_id,
int worker_route_id);
void AllowFileSystem(SharedWorkerMessageFilter* filter,
int worker_route_id,

Powered by Google App Engine
This is Rietveld 408576698