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

Unified Diff: content/browser/shared_worker/shared_worker_service_impl.h

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Add missing ScopedAsyncTaskScheduler instance for the new unit tests; required by a recent change t… 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 e6383c8a37c6556a46ca4beba79d609435242544..8c4513bab2e5a4dcc57ee0e9dc39862587fe5e74 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 CountFeature(SharedWorkerMessageFilter* filter,
@@ -75,7 +76,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