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

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

Issue 113133013: Refactor job coordination into a separate class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove WeakPtr usage from Storage Created 6 years, 11 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_context_core.h
diff --git a/content/browser/service_worker/service_worker_context_core.h b/content/browser/service_worker/service_worker_context_core.h
index b7b26537bec539bdaf17228b6b6544d1b85f94d0..e911e4c3473d33a60dc7917ce490c49d804e087a 100644
--- a/content/browser/service_worker/service_worker_context_core.h
+++ b/content/browser/service_worker/service_worker_context_core.h
@@ -30,6 +30,7 @@ class QuotaManagerProxy;
namespace content {
class EmbeddedWorkerRegistry;
+class ServiceWorkerJobCoordinator;
class ServiceWorkerProviderHost;
class ServiceWorkerRegistration;
class ServiceWorkerStorage;
@@ -94,6 +95,7 @@ class CONTENT_EXPORT ServiceWorkerContextCore
ProcessToProviderMap providers_;
scoped_ptr<ServiceWorkerStorage> storage_;
+ scoped_ptr<ServiceWorkerJobCoordinator> job_coordinator_;
scoped_refptr<EmbeddedWorkerRegistry> embedded_worker_registry_;
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextCore);

Powered by Google App Engine
This is Rietveld 408576698