| Index: content/browser/navigator_connect/navigator_connect_dispatcher_host.h
|
| diff --git a/content/browser/navigator_connect/navigator_connect_dispatcher_host.h b/content/browser/navigator_connect/navigator_connect_dispatcher_host.h
|
| index ce2bde8ebcd6704ce85240720340bd85fea7f8f8..86350a7d5f744d5d9f7662489938c6b31919fcf3 100644
|
| --- a/content/browser/navigator_connect/navigator_connect_dispatcher_host.h
|
| +++ b/content/browser/navigator_connect/navigator_connect_dispatcher_host.h
|
| @@ -13,6 +13,7 @@ class GURL;
|
| namespace content {
|
|
|
| struct CrossOriginServiceWorkerClient;
|
| +class NavigatorConnectContext;
|
| class ServiceWorkerContextWrapper;
|
| class ServiceWorkerRegistration;
|
|
|
| @@ -26,8 +27,9 @@ class ServiceWorkerRegistration;
|
| // if it is still handling a connection attempt).
|
| class NavigatorConnectDispatcherHost : public BrowserMessageFilter {
|
| public:
|
| - explicit NavigatorConnectDispatcherHost(
|
| - const scoped_refptr<ServiceWorkerContextWrapper>& service_worker_context);
|
| + NavigatorConnectDispatcherHost(
|
| + const scoped_refptr<ServiceWorkerContextWrapper>& service_worker_context,
|
| + const scoped_refptr<NavigatorConnectContext>& navigator_connect_context);
|
|
|
| private:
|
| ~NavigatorConnectDispatcherHost() override;
|
| @@ -60,6 +62,7 @@ class NavigatorConnectDispatcherHost : public BrowserMessageFilter {
|
| bool accept_connection);
|
|
|
| scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_;
|
| + scoped_refptr<NavigatorConnectContext> navigator_connect_context_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(NavigatorConnectDispatcherHost);
|
| };
|
|
|