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 136cee9b8809c4afcf5f053ae67abaa65e9048ad..e9ba2be1d8e22c5914fa9eb841b98ca226b79b56 100644 |
--- a/content/browser/service_worker/service_worker_version.h |
+++ b/content/browser/service_worker/service_worker_version.h |
@@ -38,6 +38,7 @@ namespace content { |
struct CrossOriginServiceWorkerClient; |
class EmbeddedWorkerRegistry; |
struct PlatformNotificationData; |
+class ServiceWorkerClientInfo; |
class ServiceWorkerContextCore; |
class ServiceWorkerProviderHost; |
class ServiceWorkerRegistration; |
@@ -59,9 +60,6 @@ class CONTENT_EXPORT ServiceWorkerVersion |
typedef base::Callback<void(ServiceWorkerStatusCode, |
ServiceWorkerFetchEventResult, |
const ServiceWorkerResponse&)> FetchCallback; |
- typedef base::Callback<void(ServiceWorkerStatusCode, |
- const ServiceWorkerClientInfo&)> |
- GetClientInfoCallback; |
typedef base::Callback<void(ServiceWorkerStatusCode, bool)> |
CrossOriginConnectCallback; |
@@ -335,9 +333,6 @@ 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, |
@@ -362,7 +357,6 @@ class CONTENT_EXPORT ServiceWorkerVersion |
void DidSkipWaiting(int request_id); |
void DidGetClientInfo(int client_id, |
scoped_refptr<GetClientDocumentsCallback> callback, |
- ServiceWorkerStatusCode status, |
const ServiceWorkerClientInfo& info); |
void ScheduleStopWorker(); |
void StopWorkerIfIdle(); |
@@ -393,7 +387,6 @@ 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_; |
IDMap<CrossOriginConnectCallback, IDMapOwnPointer> |
cross_origin_connect_callbacks_; |