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

Unified Diff: content/browser/service_worker/service_worker_registration.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/browser/service_worker/service_worker_registration.h
diff --git a/content/browser/service_worker/service_worker_registration.h b/content/browser/service_worker/service_worker_registration.h
index 55d527e8296cfaf6caf13fd05593415b7b83ccb0..caa98a2cc8f0c8d909ad33699beff7a90ce4f543 100644
--- a/content/browser/service_worker/service_worker_registration.h
+++ b/content/browser/service_worker/service_worker_registration.h
@@ -39,6 +39,8 @@ class CONTENT_EXPORT ServiceWorkerRegistration
ServiceWorkerRegistration* registration) {}
virtual void OnRegistrationFinishedUninstalling(
ServiceWorkerRegistration* registration) {}
+ virtual void OnUpdateFound(
+ ServiceWorkerRegistration* registration) {}
};
ServiceWorkerRegistration(const GURL& pattern,
@@ -70,6 +72,7 @@ class CONTENT_EXPORT ServiceWorkerRegistration
void AddListener(Listener* listener);
void RemoveListener(Listener* listener);
void NotifyRegistrationFailed();
+ void NotifyUpdateFound();
ServiceWorkerRegistrationInfo GetInfo();

Powered by Google App Engine
This is Rietveld 408576698