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

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

Issue 377153003: Service Worker: set active worker to REDUNDANT when unregistered (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 6 years, 5 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 f005c8c1bab810113ee4d81bce1d23a682e9afb3..221230a553f7f04c3b1c144153f97a751385ad00 100644
--- a/content/browser/service_worker/service_worker_register_job.h
+++ b/content/browser/service_worker/service_worker_register_job.h
@@ -85,7 +85,8 @@ class ServiceWorkerRegisterJob
~Internal();
scoped_refptr<ServiceWorkerRegistration> registration;
- // Holds 'installing' or 'waiting' version depending on the phase.
+ // Holds the version created by this job. It can be the 'installing',
+ // 'waiting', or 'active' version depending on the phase.
scoped_refptr<ServiceWorkerVersion> new_version;
};

Powered by Google App Engine
This is Rietveld 408576698