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

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

Issue 369063004: ServiceWorker: SWRegisterJob should manage status of SWVersion (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 80e9d27124febdf94fbad7bbe560aac62c7d1918..6fd9bdaf18f96adcb4f0c4987f6a1799d7370b66 100644
--- a/content/browser/service_worker/service_worker_register_job.h
+++ b/content/browser/service_worker/service_worker_register_job.h
@@ -118,12 +118,18 @@ class ServiceWorkerRegisterJob
virtual void OnPausedAfterDownload() OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
- // Associates a waiting version to documents matched with a scope of the
+ // Associates an installing version to documents matched with a scope of the
// version.
CONTENT_EXPORT static void AssociateInstallingVersionToDocuments(
base::WeakPtr<ServiceWorkerContextCore> context,
ServiceWorkerVersion* version);
+ // Associates a waiting version to documents matched with a scope of the
+ // version.
+ CONTENT_EXPORT static void AssociateWaitingVersionToDocuments(
+ base::WeakPtr<ServiceWorkerContextCore> context,
+ ServiceWorkerVersion* version);
+
// Disassociates a version specified by |version_id| from documents.
CONTENT_EXPORT static void DisassociateVersionFromDocuments(
base::WeakPtr<ServiceWorkerContextCore> context,

Powered by Google App Engine
This is Rietveld 408576698