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 99898a9e064c6746fd9739cf0f968030efc379a7..b3e60c13327f79a4896bf2e9b4245f57c0d6ae34 100644 |
--- a/content/browser/service_worker/service_worker_provider_host.h |
+++ b/content/browser/service_worker/service_worker_provider_host.h |
@@ -152,6 +152,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( |
@@ -220,6 +223,7 @@ class CONTENT_EXPORT ServiceWorkerProviderHost |
base::WeakPtr<ServiceWorkerContextCore> context_; |
ServiceWorkerDispatcherHost* dispatcher_host_; |
bool allow_association_; |
+ bool is_claiming_; |
std::vector<base::Closure> queued_events_; |