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

Unified Diff: content/child/service_worker/service_worker_dispatcher.h

Issue 517493002: ServiceWorker: Update the install sequence as per the latest spec (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment fix (+rebase) Created 6 years, 4 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/child/service_worker/service_worker_dispatcher.h
diff --git a/content/child/service_worker/service_worker_dispatcher.h b/content/child/service_worker/service_worker_dispatcher.h
index 9997afd0cd1005001ec0e5d9973dcda48bb31206..3f136c28730f3f42b7056c24f46d830243b681cb 100644
--- a/content/child/service_worker/service_worker_dispatcher.h
+++ b/content/child/service_worker/service_worker_dispatcher.h
@@ -129,7 +129,8 @@ class ServiceWorkerDispatcher : public WorkerTaskRunner::Observer {
void OnRegistered(int thread_id,
int request_id,
- const ServiceWorkerRegistrationObjectInfo& info);
+ const ServiceWorkerRegistrationObjectInfo& info,
+ const ServiceWorkerVersionAttributes& attrs);
void OnUnregistered(int thread_id,
int request_id);
void OnRegistrationError(int thread_id,
@@ -144,6 +145,8 @@ class ServiceWorkerDispatcher : public WorkerTaskRunner::Observer {
int registration_handle_id,
int changed_mask,
const ServiceWorkerVersionAttributes& attributes);
+ void OnUpdateFound(int thread_id,
+ const ServiceWorkerRegistrationObjectInfo& info);
void OnSetControllerServiceWorker(int thread_id,
int provider_id,
const ServiceWorkerObjectInfo& info);

Powered by Google App Engine
This is Rietveld 408576698