Index: content/browser/service_worker/service_worker_provider_host.h |
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h |
index 03cb0c638d04a2e688e2a9d0843d0bac1efd9da2..abe7fa382e26f5ae9a2f579f984984640629ff22 100644 |
--- a/content/browser/service_worker/service_worker_provider_host.h |
+++ b/content/browser/service_worker/service_worker_provider_host.h |
@@ -45,7 +45,9 @@ class CONTENT_EXPORT ServiceWorkerProviderHost |
: public NON_EXPORTED_BASE(ServiceWorkerRegistration::Listener), |
public base::SupportsWeakPtr<ServiceWorkerProviderHost> { |
public: |
- typedef base::Callback<void(bool)> FocusCallback; |
+ using FocusCallback = base::Callback<void(bool)>; |
+ using GetClientInfoCallback = |
+ base::Callback<void(const ServiceWorkerClientInfo&)>; |
ServiceWorkerProviderHost(int render_process_id, |
int render_frame_id, |
@@ -144,7 +146,7 @@ class CONTENT_EXPORT ServiceWorkerProviderHost |
void Focus(const FocusCallback& callback); |
// Asks the renderer to send back the document information. |
- void GetClientInfo(int embedded_worker_id, int request_id); |
+ void GetClientInfo(const GetClientInfoCallback& callback); |
// Adds reference of this host's process to the |pattern|, the reference will |
// be removed in destructor. |