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 c09d5b5e1fcfcde3a6391a82163be02ad480b965..2a09719256e0c72dad9d8431f4a020308cee6c21 100644 |
--- a/content/browser/service_worker/service_worker_version.h |
+++ b/content/browser/service_worker/service_worker_version.h |
@@ -528,6 +528,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); |
@@ -575,6 +578,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 |