| 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 866edd6081d2537b27a48fff25c5e1f83ff4f039..20e02b7837c09bd1a20da594da6a0c9ca28cbc17 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;
|
|
|
| @@ -49,7 +55,7 @@ class CONTENT_EXPORT ServiceWorkerNetworkProvider
|
| void SetServiceWorkerVersionId(int64 version_id);
|
|
|
| private:
|
| - const int provider_id_;
|
| + int provider_id_;
|
| scoped_refptr<ServiceWorkerProviderContext> context_;
|
| DISALLOW_COPY_AND_ASSIGN(ServiceWorkerNetworkProvider);
|
| };
|
|
|