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

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

Issue 970693003: ServiceWorker: plumbing for ClientQueryOptions (2/2, chromium) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase build fix... 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 5911541ea79f144e5f2ea0cba3754cc0135f1ad2..4d327701ae5524bb74d48b12facdf75969eb16a7 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -344,7 +344,8 @@ class CONTENT_EXPORT ServiceWorkerVersion
const StatusCallback& callback);
// Message handlers.
- void OnGetClientDocuments(int request_id);
+ void OnGetClients(int request_id,
+ const ServiceWorkerClientQueryOptions& options);
void OnActivateEventFinished(int request_id,
blink::WebServiceWorkerEventResult result);
void OnInstallEventFinished(int request_id,
@@ -387,7 +388,7 @@ class CONTENT_EXPORT ServiceWorkerVersion
void DidSkipWaiting(int request_id);
void DidClaimClients(int request_id, ServiceWorkerStatusCode status);
- void DidGetClientDocuments(
+ void DidGetClients(
int request_id, const std::vector<ServiceWorkerClientInfo>& clients);
// The timeout timer periodically calls OnTimeoutTimer, which stops the worker

Powered by Google App Engine
This is Rietveld 408576698