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 9ac8315eabe0b1994c57253cc5c6f874c228dd01..54eac3a8920eeee43593722dbb7859a8724cc2d8 100644 |
--- a/content/browser/service_worker/service_worker_version.h |
+++ b/content/browser/service_worker/service_worker_version.h |
@@ -546,6 +546,9 @@ class CONTENT_EXPORT ServiceWorkerVersion |
// Message handlers. |
+ // This corresponds to the spec's get(id) steps. |
+ void OnGetClient(int request_id, const std::string& client_uuid); |
+ |
// This corresponds to the spec's matchAll(options) steps. |
void OnGetClients(int request_id, |
const ServiceWorkerClientQueryOptions& options); |
@@ -600,6 +603,9 @@ class CONTENT_EXPORT ServiceWorkerVersion |
void DidSkipWaiting(int request_id); |
+ void OnGetClientFinished(int request_id, |
+ const ServiceWorkerClientInfo& client); |
+ |
void OnGetClientsFinished(int request_id, ServiceWorkerClients* clients); |
// The timeout timer periodically calls OnTimeoutTimer, which stops the worker |