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

Unified Diff: content/browser/worker_host/worker_service_impl.h

Issue 10885044: Remove storage context accessors from ResourceContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged to ToT Created 8 years, 4 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/worker_host/worker_service_impl.h
diff --git a/content/browser/worker_host/worker_service_impl.h b/content/browser/worker_host/worker_service_impl.h
index a142f8efcd84dd736cf187559ed52ffa698c2e50..f31194dfbe31b0a8343d912520c312aa5e9f30cf 100644
--- a/content/browser/worker_host/worker_service_impl.h
+++ b/content/browser/worker_host/worker_service_impl.h
@@ -37,11 +37,21 @@ class CONTENT_EXPORT WorkerServiceImpl
void CreateWorker(const ViewHostMsg_CreateWorker_Params& params,
int route_id,
WorkerMessageFilter* filter,
- ResourceContext* resource_context);
+ const std::string& partition_id,
+ ResourceContext* resource_context,
+ ChromeAppCacheService* appcache_service,
+ fileapi::FileSystemContext* filesystem_context,
+ webkit_database::DatabaseTracker* database_tracker,
+ IndexedDBContextImpl* indexed_db_context);
void LookupSharedWorker(const ViewHostMsg_CreateWorker_Params& params,
int route_id,
WorkerMessageFilter* filter,
+ const std::string& partition_id,
ResourceContext* resource_context,
+ ChromeAppCacheService* appcache_service,
+ fileapi::FileSystemContext* filesystem_context,
+ webkit_database::DatabaseTracker* database_tracker,
+ IndexedDBContextImpl* indexed_db_context,
bool* exists,
bool* url_error);
void CancelCreateDedicatedWorker(int route_id, WorkerMessageFilter* filter);
@@ -115,19 +125,27 @@ class CONTENT_EXPORT WorkerServiceImpl
WorkerProcessHost::WorkerInstance* CreatePendingInstance(
const GURL& url,
const string16& name,
- ResourceContext* resource_context);
+ const std::string& partition_id,
+ ResourceContext* resource_context,
+ ChromeAppCacheService* appcache_service,
+ fileapi::FileSystemContext* filesystem_context,
+ webkit_database::DatabaseTracker* database_tracker,
+ IndexedDBContextImpl* indexed_db_context);
WorkerProcessHost::WorkerInstance* FindPendingInstance(
const GURL& url,
const string16& name,
+ const std::string& partition_id,
ResourceContext* resource_context);
void RemovePendingInstances(
const GURL& url,
const string16& name,
+ const std::string& partition_id,
ResourceContext* resource_context);
WorkerProcessHost::WorkerInstance* FindSharedWorkerInstance(
const GURL& url,
const string16& name,
+ const std::string& partition_id,
ResourceContext* resource_context);
NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698