Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: content/browser/service_worker/service_worker_register_job.h

Issue 2746783002: [ServiceWorker] Mojofy InstallEvent of Service Worker (Closed)
Patch Set: Just delete a useless line Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..92b083dc59ef9d31639d84a3bbebc8a788c01211 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;
+} // namespace
+
// 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,

Powered by Google App Engine
This is Rietveld 408576698