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 99898a9e064c6746fd9739cf0f968030efc379a7..9a1511c686a37f7465193c4524bf3fa17008d963 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&)>; |
// If |render_frame_id| is MSG_ROUTING_NONE, this provider host works for the |
// worker context. |
@@ -146,7 +148,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. |