Index: content/browser/service_worker/service_worker_version.h |
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h |
index 136cee9b8809c4afcf5f053ae67abaa65e9048ad..01de2da312fa58be466684c5c423ef707868aca6 100644 |
--- a/content/browser/service_worker/service_worker_version.h |
+++ b/content/browser/service_worker/service_worker_version.h |
@@ -289,6 +289,7 @@ class CONTENT_EXPORT ServiceWorkerVersion |
bool is_doomed() const { return is_doomed_; } |
bool skip_waiting() const { return skip_waiting_; } |
+ bool claiming_clients() const { return claiming_clients_; } |
falken
2015/01/29 15:10:37
I'd prefer is_claiming_clients(), otherwise it loo
michaeln
2015/01/29 22:35:34
I think this isn't needed, see comments in the pro
|
void SetDevToolsAttached(bool attached); |
@@ -357,6 +358,7 @@ class CONTENT_EXPORT ServiceWorkerVersion |
const std::vector<int>& sent_message_port_ids); |
void OnFocusClient(int request_id, int client_id); |
void OnSkipWaiting(int request_id); |
+ void OnClaimClients(int request_id); |
void OnFocusClientFinished(int request_id, bool result); |
void DidSkipWaiting(int request_id); |
@@ -409,6 +411,7 @@ class CONTENT_EXPORT ServiceWorkerVersion |
bool is_doomed_; |
std::vector<int> pending_skip_waiting_requests_; |
bool skip_waiting_; |
+ bool claiming_clients_; |
base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; |