| Index: content/browser/service_worker/service_worker_request_handler.h
|
| diff --git a/content/browser/service_worker/service_worker_request_handler.h b/content/browser/service_worker/service_worker_request_handler.h
|
| index 91afd2688e8a0a6642c7de0f70738bbd10011b4f..cb042b34466ae0fac1e657830a6209449972a160 100644
|
| --- a/content/browser/service_worker/service_worker_request_handler.h
|
| +++ b/content/browser/service_worker/service_worker_request_handler.h
|
| @@ -93,6 +93,13 @@ class CONTENT_EXPORT ServiceWorkerRequestHandler
|
| base::TimeTicks* fetch_ready_time,
|
| base::TimeTicks* fetch_end_time) const = 0;
|
|
|
| + // Methods to support cross site navigations.
|
| + void PrepareForCrossSiteTransfer(int old_process_id);
|
| + void CompleteCrossSiteTransfer(int new_process_id,
|
| + int new_provider_id);
|
| + void MaybeCompleteCrossSiteTransferInOldProcess(
|
| + int old_process_id);
|
| +
|
| protected:
|
| ServiceWorkerRequestHandler(
|
| base::WeakPtr<ServiceWorkerContextCore> context,
|
| @@ -106,6 +113,10 @@ class CONTENT_EXPORT ServiceWorkerRequestHandler
|
| ResourceType resource_type_;
|
|
|
| private:
|
| + scoped_ptr<ServiceWorkerProviderHost> host_for_cross_site_transfer_;
|
| + int old_process_id_;
|
| + int old_provider_id_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ServiceWorkerRequestHandler);
|
| };
|
|
|
|
|