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 c41e7777187355b97895f55ab7ad7dc11ac58cc6..ef4132003959cd729ed9be4affca836e639d6986 100644 |
--- a/content/browser/service_worker/service_worker_version.h |
+++ b/content/browser/service_worker/service_worker_version.h |
@@ -252,6 +252,9 @@ class CONTENT_EXPORT ServiceWorkerVersion |
bool is_doomed() const { return is_doomed_; } |
private: |
+ class GetClientDocumentsCallback; |
+ class GetClientInfoCallback; |
+ |
friend class base::RefCounted<ServiceWorkerVersion>; |
FRIEND_TEST_ALL_PREFIXES(ServiceWorkerControlleeRequestHandlerTest, |
ActivateWaitingVersion); |
@@ -290,6 +293,9 @@ class CONTENT_EXPORT ServiceWorkerVersion |
// Message handlers. |
void OnGetClientDocuments(int request_id); |
+ void OnGetClientInfoSuccess(int request_id, |
+ const ServiceWorkerClientInfo& info); |
+ void OnGetClientInfoError(int request_id); |
void OnActivateEventFinished(int request_id, |
blink::WebServiceWorkerEventResult result); |
void OnInstallEventFinished(int request_id, |
@@ -330,6 +336,7 @@ class CONTENT_EXPORT ServiceWorkerVersion |
IDMap<StatusCallback, IDMapOwnPointer> notification_click_callbacks_; |
IDMap<StatusCallback, IDMapOwnPointer> push_callbacks_; |
IDMap<StatusCallback, IDMapOwnPointer> geofencing_callbacks_; |
+ IDMap<GetClientInfoCallback, IDMapOwnPointer> get_client_info_callbacks_; |
ControlleeMap controllee_map_; |
ControlleeByIDMap controllee_by_id_; |