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 9123014273d400004148f897a6ed999799677d5b..c6f7f079d6b53865bdf679f303ce2e5f200a8944 100644 |
--- a/content/browser/service_worker/service_worker_provider_host.h |
+++ b/content/browser/service_worker/service_worker_provider_host.h |
@@ -144,6 +144,9 @@ class CONTENT_EXPORT ServiceWorkerProviderHost |
// be removed in destructor. |
void AddScopedProcessReferenceToPattern(const GURL& pattern); |
+ // |registration| claims the document to be controlled. |
+ void ClaimedByRegistration(ServiceWorkerRegistration* registration); |
+ |
// Methods to support cross site navigations. |
void PrepareForCrossSiteTransfer(); |
void CompleteCrossSiteTransfer( |
@@ -191,6 +194,7 @@ class CONTENT_EXPORT ServiceWorkerProviderHost |
base::WeakPtr<ServiceWorkerContextCore> context_; |
ServiceWorkerDispatcherHost* dispatcher_host_; |
bool allow_association_; |
+ bool is_claiming_; |
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderHost); |
}; |