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

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

Issue 1050733002: ServiceWorker: Clean up ServiceWorkerVersion::OnGetClients (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 cd047c2f4eab429cbb30c7aadd357952200999f9..c73ef597273c0907ba2eb6d3686f33826849a2df 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -378,8 +378,11 @@ class CONTENT_EXPORT ServiceWorkerVersion
const StatusCallback& callback);
// Message handlers.
+
+ // This corresponds to the spec's matchAll(options) steps.
void OnGetClients(int request_id,
const ServiceWorkerClientQueryOptions& options);
+
void OnActivateEventFinished(int request_id,
blink::WebServiceWorkerEventResult result);
void OnInstallEventFinished(int request_id,
@@ -437,6 +440,8 @@ class CONTENT_EXPORT ServiceWorkerVersion
void GetNonWindowClients(int request_id,
const ServiceWorkerClientQueryOptions& options,
ServiceWorkerClients* clients);
+ void OnGetClientsFinished(int request_id,
+ const ServiceWorkerClients& clients);
// The timeout timer periodically calls OnTimeoutTimer, which stops the worker
// if it is excessively idle or unresponsive to ping.

Powered by Google App Engine
This is Rietveld 408576698