| Index: content/child/service_worker/service_worker_network_provider.h
|
| diff --git a/content/child/service_worker/service_worker_network_provider.h b/content/child/service_worker/service_worker_network_provider.h
|
| index ec1bdceca34fb20778b30459f41f8e7a1998512b..4cb059690d54d555b4b5266e76150fcbcee10084 100644
|
| --- a/content/child/service_worker/service_worker_network_provider.h
|
| +++ b/content/child/service_worker/service_worker_network_provider.h
|
| @@ -37,6 +37,12 @@ class CONTENT_EXPORT ServiceWorkerNetworkProvider
|
| static ServiceWorkerNetworkProvider* FromDocumentState(
|
| base::SupportsUserData* document_state);
|
|
|
| + // PlzNavigate
|
| + // browser_provider_id is used for browser-initiated navigations.
|
| + // It is set to a negative value stating at -2 in the browser process.
|
| + ServiceWorkerNetworkProvider(int route_id,
|
| + ServiceWorkerProviderType type,
|
| + int browser_provider_id);
|
| ServiceWorkerNetworkProvider(int route_id, ServiceWorkerProviderType type);
|
| ~ServiceWorkerNetworkProvider() override;
|
|
|
| @@ -51,7 +57,7 @@ class CONTENT_EXPORT ServiceWorkerNetworkProvider
|
| bool IsControlledByServiceWorker() const;
|
|
|
| private:
|
| - const int provider_id_;
|
| + int provider_id_;
|
| scoped_refptr<ServiceWorkerProviderContext> context_;
|
| DISALLOW_COPY_AND_ASSIGN(ServiceWorkerNetworkProvider);
|
| };
|
|
|