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

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: teh Created 8 years, 3 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..c87192a108435b5a0cc6a765a61682461dac3028 100644
--- a/content/browser/worker_host/worker_service_impl.h
+++ b/content/browser/worker_host/worker_service_impl.h
@@ -15,6 +15,7 @@
#include "content/public/browser/worker_service.h"
class GURL;
+class WorkerStoragePartition;
struct ViewHostMsg_CreateWorker_Params;
namespace content {
@@ -37,11 +38,13 @@ class CONTENT_EXPORT WorkerServiceImpl
void CreateWorker(const ViewHostMsg_CreateWorker_Params& params,
int route_id,
WorkerMessageFilter* filter,
- ResourceContext* resource_context);
+ ResourceContext* resource_context,
+ const WorkerStoragePartition& worker_partition);
void LookupSharedWorker(const ViewHostMsg_CreateWorker_Params& params,
int route_id,
WorkerMessageFilter* filter,
ResourceContext* resource_context,
+ const WorkerStoragePartition& worker_partition,
bool* exists,
bool* url_error);
void CancelCreateDedicatedWorker(int route_id, WorkerMessageFilter* filter);
@@ -115,19 +118,23 @@ class CONTENT_EXPORT WorkerServiceImpl
WorkerProcessHost::WorkerInstance* CreatePendingInstance(
const GURL& url,
const string16& name,
- ResourceContext* resource_context);
+ ResourceContext* resource_context,
+ const WorkerStoragePartition& worker_partition);
WorkerProcessHost::WorkerInstance* FindPendingInstance(
const GURL& url,
const string16& name,
+ const WorkerStoragePartition& worker_partition,
ResourceContext* resource_context);
void RemovePendingInstances(
const GURL& url,
const string16& name,
+ const WorkerStoragePartition& worker_partition,
ResourceContext* resource_context);
WorkerProcessHost::WorkerInstance* FindSharedWorkerInstance(
const GURL& url,
const string16& name,
+ const WorkerStoragePartition& worker_partition,
ResourceContext* resource_context);
NotificationRegistrar registrar_;
« no previous file with comments | « content/browser/worker_host/worker_process_host.cc ('k') | content/browser/worker_host/worker_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698