Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(726)

Unified Diff: content/browser/service_worker/service_worker_version.h

Issue 871853002: ServiceWorker: add ServiceWorkerClients.claim() support (2/3). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove assignment within conditional expression Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6954a4208010e064ca83afbc39d6aa48f6eec63f..f5f2a5022244dfd368549686870b82bf5f105c8f 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -357,9 +357,11 @@ 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);
+ void DidClaimClients(int request_id, ServiceWorkerStatusCode status);
void DidGetClientInfo(int client_id,
scoped_refptr<GetClientDocumentsCallback> callback,
ServiceWorkerStatusCode status,

Powered by Google App Engine
This is Rietveld 408576698