Index: content/browser/service_worker/service_worker_register_job.h |
diff --git a/content/browser/service_worker/service_worker_register_job.h b/content/browser/service_worker/service_worker_register_job.h |
index 4fff29b8c55116741e7ab7d668e36ac11c0bd0d2..6ecbe0b7f5f570cf51710a26d1bda6f62847b56d 100644 |
--- a/content/browser/service_worker/service_worker_register_job.h |
+++ b/content/browser/service_worker/service_worker_register_job.h |
@@ -19,6 +19,10 @@ |
namespace content { |
+namespace { |
+class InstallEventMethodsReceiver; |
+} |
+ |
// Handles the initial registration of a Service Worker and the |
// subsequent update of existing registrations. |
// |
@@ -120,10 +124,12 @@ class ServiceWorkerRegisterJob : public ServiceWorkerRegisterJobBase, |
void OnStoreRegistrationComplete(ServiceWorkerStatusCode status); |
void InstallAndContinue(); |
void DispatchInstallEvent(); |
- void OnInstallFinished(int request_id, |
- blink::WebServiceWorkerEventResult result, |
- bool has_fetch_handler, |
- base::Time dispatch_event_time); |
+ void OnInstallFinished( |
+ int request_id, |
+ std::unique_ptr<InstallEventMethodsReceiver> install_event_methods, |
+ ServiceWorkerStatusCode status, |
+ bool has_fetch_handler, |
+ base::Time dispatch_event_time); |
void OnInstallFailed(ServiceWorkerStatusCode status); |
void Complete(ServiceWorkerStatusCode status); |
void Complete(ServiceWorkerStatusCode status, |