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 cb9a9c3c84a1387e58b641cd321c067abe1c1f8e..eec81d4211397765b3c08b6dc2d86a09f422f3ee 100644 |
--- a/content/renderer/shared_worker/websharedworker_proxy.h |
+++ b/content/renderer/shared_worker/websharedworker_proxy.h |
@@ -10,6 +10,7 @@ |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
+#include "content/common/shared_worker.mojom.h" |
#include "ipc/ipc_listener.h" |
#include "third_party/WebKit/public/web/WebSharedWorkerConnector.h" |
@@ -27,7 +28,7 @@ namespace content { |
class WebSharedWorkerProxy : public blink::WebSharedWorkerConnector, |
private IPC::Listener { |
public: |
- WebSharedWorkerProxy(IPC::MessageRouter* router, int route_id); |
+ explicit WebSharedWorkerProxy(int route_id); |
~WebSharedWorkerProxy() override; |
// Implementations of WebSharedWorkerConnector APIs |
@@ -48,9 +49,10 @@ class WebSharedWorkerProxy : public blink::WebSharedWorkerConnector, |
// routing ids). |
const int route_id_; |
- IPC::MessageRouter* const router_; |
- |
int message_port_id_; |
+ |
+ IPC::MessageRouter* const router_; |
+ mojom::SharedWorkerMessageFilterAssociatedPtr message_filter_; |
ConnectListener* connect_listener_; |
DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy); |