| Index: content/browser/service_worker/service_worker_context_wrapper.h
|
| diff --git a/content/browser/service_worker/service_worker_context_wrapper.h b/content/browser/service_worker/service_worker_context_wrapper.h
|
| index 599c157346d86f351ffcf5ea9d332a6c30cbe422..ade1967f1a99a0c50863964ca5134c31b0823dce 100644
|
| --- a/content/browser/service_worker/service_worker_context_wrapper.h
|
| +++ b/content/browser/service_worker/service_worker_context_wrapper.h
|
| @@ -110,6 +110,10 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
|
| const std::string& request_uuid) override;
|
| bool FinishedExternalRequest(int64_t service_worker_version_id,
|
| const std::string& request_uuid) override;
|
| + void StartServiceWorkerForNavigationPreconnect(
|
| + const GURL& document_url,
|
| + RenderProcessHost* host,
|
| + const ResultCallback& callback) override;
|
|
|
| // These methods must only be called from the IO thread.
|
| ServiceWorkerRegistration* GetLiveRegistration(int64_t registration_id);
|
| @@ -279,6 +283,23 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
|
| ServiceWorkerStatusCode status,
|
| scoped_refptr<content::ServiceWorkerRegistration> registration);
|
|
|
| + void DidCheckRenderProcessForNavigationPreconnect(
|
| + const GURL& document_url,
|
| + int render_process_id,
|
| + const ResultCallback& callback);
|
| +
|
| + void DidFindRegistrationForNavigationPreconnect(
|
| + int render_process_id,
|
| + const ResultCallback& callback,
|
| + ServiceWorkerStatusCode status,
|
| + scoped_refptr<ServiceWorkerRegistration> registration);
|
| +
|
| + void DidStartServiceWorkerForNavigationPreconnect(
|
| + const GURL& pattern,
|
| + int render_process_id,
|
| + const ResultCallback& callback,
|
| + ServiceWorkerStatusCode code);
|
| +
|
| // The core context is only for use on the IO thread.
|
| // Can be null before/during init, during/after shutdown, and after
|
| // DeleteAndStartOver fails.
|
|
|