Index: content/browser/service_worker/service_worker_provider_host.h |
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h |
index 088978e92d742ded11d98ce8c3b8c83d4ca73c2c..82934e64de1a857f9ed48baf214cb52d2eb5add3 100644 |
--- a/content/browser/service_worker/service_worker_provider_host.h |
+++ b/content/browser/service_worker/service_worker_provider_host.h |
@@ -51,6 +51,16 @@ class CONTENT_EXPORT ServiceWorkerProviderHost |
using GetRegistrationForReadyCallback = |
base::Callback<void(ServiceWorkerRegistration* reigstration)>; |
+ // PlzNavigate |
+ // This value is used for the render_process_id for browser-initiated |
+ // navigations. |
+ static int kVirtualProcessIDForBrowserRequest; |
+ |
+ // PlzNavigate |
+ // Generates a new globally unique service_worker_provider_id for |
+ // browser-initiated navigations. |
+ static int GetNextBrowserProviderID(); |
+ |
// When this provider host is for a Service Worker context, |route_id| is |
// MSG_ROUTING_NONE. When this provider host is for a Document, |
// |route_id| is the frame ID of the Document. When this provider host is for |