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

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

Issue 307443003: Revert of Reparent SWProcessManager onto SWContextWrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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_wrapper.h
diff --git a/content/browser/service_worker/service_worker_context_wrapper.h b/content/browser/service_worker/service_worker_context_wrapper.h
index dfc96f48ec1eab5449cbd706d269ba258c55eb3b..d28d970d987f3d7e8f8a61fe83901fa7ec67e8d9 100644
--- a/content/browser/service_worker/service_worker_context_wrapper.h
+++ b/content/browser/service_worker/service_worker_context_wrapper.h
@@ -49,11 +49,6 @@
// The core context is only for use on the IO thread.
ServiceWorkerContextCore* context();
- // The process manager can be used on either UI or IO.
- ServiceWorkerProcessManager* process_manager() {
- return process_manager_.get();
- }
-
// ServiceWorkerContext implementation:
virtual void RegisterServiceWorker(
const GURL& pattern,
@@ -76,12 +71,11 @@
base::SequencedTaskRunner* database_task_runner,
base::MessageLoopProxy* disk_cache_thread,
quota::QuotaManagerProxy* quota_manager_proxy);
- void ShutdownOnIO();
const scoped_refptr<ObserverListThreadSafe<ServiceWorkerContextObserver> >
observer_list_;
- const scoped_ptr<ServiceWorkerProcessManager> process_manager_;
// Cleared in Shutdown():
+ BrowserContext* browser_context_;
scoped_ptr<ServiceWorkerContextCore> context_core_;
};

Powered by Google App Engine
This is Rietveld 408576698