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

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: 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 220c67a21ab2b792d7670ede2567755a1f563723..fbec07bd3d77ef8462c67ec04895fab8276a0bf4 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -303,7 +303,7 @@ class CONTENT_EXPORT ServiceWorkerVersion
const net::HttpResponseInfo* GetMainScriptHttpResponseInfo();
private:
- class GetClientDocumentsCallback;
+ class GetClientsCallback;
friend class base::RefCounted<ServiceWorkerVersion>;
friend class ServiceWorkerURLRequestJobTest;
@@ -351,7 +351,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,
@@ -395,7 +396,7 @@ class CONTENT_EXPORT ServiceWorkerVersion
void DidSkipWaiting(int request_id);
void DidClaimClients(int request_id, ServiceWorkerStatusCode status);
void DidGetClientInfo(int client_id,
- scoped_refptr<GetClientDocumentsCallback> callback,
+ scoped_refptr<GetClientsCallback> callback,
const ServiceWorkerClientInfo& info);
// The ping protocol is for terminating workers that are taking excessively

Powered by Google App Engine
This is Rietveld 408576698