Index: content/browser/service_worker/service_worker_registration.cc |
diff --git a/content/browser/service_worker/service_worker_registration.cc b/content/browser/service_worker/service_worker_registration.cc |
index 51bd701c358ca9ba5b8de9dac19d53e6da8da919..33fdfa6767fee298fafa53e31041cca2d786cf80 100644 |
--- a/content/browser/service_worker/service_worker_registration.cc |
+++ b/content/browser/service_worker/service_worker_registration.cc |
@@ -66,6 +66,10 @@ void ServiceWorkerRegistration::NotifyRegistrationFailed() { |
FOR_EACH_OBSERVER(Listener, listeners_, OnRegistrationFailed(this)); |
} |
+void ServiceWorkerRegistration::NotifyUpdateFound() { |
+ FOR_EACH_OBSERVER(Listener, listeners_, OnUpdateFound(this)); |
+} |
+ |
ServiceWorkerRegistrationInfo ServiceWorkerRegistration::GetInfo() { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
return ServiceWorkerRegistrationInfo( |