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

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

Issue 354643003: ServiceWorker: Support navigator.serviceWorker.active (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment fix 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_provider_host.h
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h
index f48528a185c7a68e161f630503f67dfe3cff8b0d..e10cdf502fcd7eb488c121b3fe6b1bc41322c061 100644
--- a/content/browser/service_worker/service_worker_provider_host.h
+++ b/content/browser/service_worker/service_worker_provider_host.h
@@ -78,6 +78,7 @@ class CONTENT_EXPORT ServiceWorkerProviderHost
// Associates |version| to the corresponding field or if |version| is NULL
// clears the field.
+ void SetControllerVersion(ServiceWorkerVersion* version);
void SetActiveVersion(ServiceWorkerVersion* version);
void SetWaitingVersion(ServiceWorkerVersion* version);
void SetInstallingVersion(ServiceWorkerVersion* version);
@@ -117,7 +118,6 @@ class CONTENT_EXPORT ServiceWorkerProviderHost
const int provider_id_;
GURL document_url_;
- // TODO(michaeln): controlling_version_ is not used yet.
scoped_refptr<ServiceWorkerVersion> controlling_version_;
scoped_refptr<ServiceWorkerVersion> active_version_;
scoped_refptr<ServiceWorkerVersion> waiting_version_;

Powered by Google App Engine
This is Rietveld 408576698