| 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 0c463fe8c77c8980f1eb91ec8dabdd7e62801f59..bb959d50f3ebdff242c9960eb15d36b42f86e64b 100644
|
| --- a/content/browser/service_worker/service_worker_registration.cc
|
| +++ b/content/browser/service_worker/service_worker_registration.cc
|
| @@ -310,6 +310,8 @@ void ServiceWorkerRegistration::OnActivateEventFinished(
|
| // But not from memory if there is a version in the pipeline.
|
| if (installing_version())
|
| is_deleted_ = false;
|
| + else
|
| + FOR_EACH_OBSERVER(Listener, listeners_, OnRegistrationFailed(this));
|
| }
|
| return;
|
| }
|
| @@ -358,6 +360,9 @@ void ServiceWorkerRegistration::Clear() {
|
| FOR_EACH_OBSERVER(Listener, listeners_,
|
| OnVersionAttributesChanged(this, mask, info));
|
| }
|
| +
|
| + FOR_EACH_OBSERVER(
|
| + Listener, listeners_, OnRegistrationFinishedUninstalling(this));
|
| }
|
|
|
| void ServiceWorkerRegistration::OnRestoreFinished(
|
|
|