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

Unified Diff: content/renderer/shared_worker/websharedworker_proxy.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/renderer/shared_worker/websharedworker_proxy.h
diff --git a/content/renderer/shared_worker/websharedworker_proxy.h b/content/renderer/shared_worker/websharedworker_proxy.h
index 1e561fd15af906e6870b946dfcf1de5f7dd142fa..3a59a40074dfdfa697417a13d7ab407ab419927a 100644
--- a/content/renderer/shared_worker/websharedworker_proxy.h
+++ b/content/renderer/shared_worker/websharedworker_proxy.h
@@ -8,6 +8,7 @@
#include <set>
#include "base/macros.h"
+#include "content/common/message_port.h"
#include "ipc/ipc_listener.h"
#include "third_party/WebKit/public/web/WebSharedWorkerConnectListener.h"
#include "third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h"
@@ -57,7 +58,7 @@ class WebSharedWorkerProxy : private IPC::Listener {
IPC::MessageRouter* const router_;
- int message_port_id_;
+ MessagePort message_port_;
std::unique_ptr<blink::WebSharedWorkerConnectListener> listener_;
DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy);
« no previous file with comments | « content/renderer/shared_worker/embedded_shared_worker_stub.cc ('k') | content/renderer/shared_worker/websharedworker_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698