| 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 cbeb65597f94342489405655f80cda93e7520c58..b9fea03b6e995efa9545820c81e091a4c0869289 100644
|
| --- a/content/browser/service_worker/service_worker_version.h
|
| +++ b/content/browser/service_worker/service_worker_version.h
|
| @@ -459,6 +459,7 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
|
|
| // Message handlers.
|
|
|
| + void OnGetClient(int request_id, const std::string& id);
|
| // This corresponds to the spec's matchAll(options) steps.
|
| void OnGetClients(int request_id,
|
| const ServiceWorkerClientQueryOptions& options);
|
| @@ -520,6 +521,9 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
|
|
| void DidSkipWaiting(int request_id);
|
|
|
| + void GetClient(int request_id,
|
| + std::string id,
|
| + ServiceWorkerClientInfo* client_info);
|
| void GetWindowClients(int request_id,
|
| const ServiceWorkerClientQueryOptions& options);
|
| void DidGetWindowClients(int request_id,
|
| @@ -528,6 +532,7 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| void GetNonWindowClients(int request_id,
|
| const ServiceWorkerClientQueryOptions& options,
|
| ServiceWorkerClients* clients);
|
| + void OnGetClientFinished(int request_id, ServiceWorkerClientInfo* client);
|
| void OnGetClientsFinished(int request_id, ServiceWorkerClients* clients);
|
|
|
| // The timeout timer periodically calls OnTimeoutTimer, which stops the worker
|
|
|