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 bb6efbf3ce84944c5891e585b0c9c51bfe3ea0cf..5911541ea79f144e5f2ea0cba3754cc0135f1ad2 100644 |
--- a/content/browser/service_worker/service_worker_version.h |
+++ b/content/browser/service_worker/service_worker_version.h |
@@ -298,8 +298,6 @@ class CONTENT_EXPORT ServiceWorkerVersion |
const net::HttpResponseInfo* GetMainScriptHttpResponseInfo(); |
private: |
- class GetClientDocumentsCallback; |
- |
friend class base::RefCounted<ServiceWorkerVersion>; |
friend class ServiceWorkerURLRequestJobTest; |
FRIEND_TEST_ALL_PREFIXES(ServiceWorkerControlleeRequestHandlerTest, |
@@ -389,9 +387,8 @@ 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, |
- const ServiceWorkerClientInfo& info); |
+ void DidGetClientDocuments( |
+ int request_id, const std::vector<ServiceWorkerClientInfo>& clients); |
// The timeout timer periodically calls OnTimeoutTimer, which stops the worker |
// if it is excessively idle or unresponsive to ping. |