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

Unified Diff: content/browser/worker_host/worker_message_filter.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
« no previous file with comments | « content/browser/resource_context_impl.cc ('k') | content/browser/worker_host/worker_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/worker_host/worker_message_filter.h
diff --git a/content/browser/worker_host/worker_message_filter.h b/content/browser/worker_host/worker_message_filter.h
index 34b62644368fc210189f217e93dd04a723ac550e..a37f53f50ac8e44e50d8e21f1b14f9b1c54380b6 100644
--- a/content/browser/worker_host/worker_message_filter.h
+++ b/content/browser/worker_host/worker_message_filter.h
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_WORKER_HOST_WORKER_MESSAGE_FILTER_H_
#include "base/callback.h"
+#include "content/browser/worker_host/worker_storage_partition.h"
#include "content/public/browser/browser_message_filter.h"
class ResourceDispatcherHost;
@@ -15,17 +16,16 @@ namespace content {
class ResourceContext;
} // namespace content
-
class WorkerMessageFilter : public content::BrowserMessageFilter {
public:
typedef base::Callback<int(void)> NextRoutingIDCallback;
// |next_routing_id| is owned by this object. It can be used up until
// OnChannelClosing.
- WorkerMessageFilter(
- int render_process_id,
- content::ResourceContext* resource_context,
- const NextRoutingIDCallback& callback);
+ WorkerMessageFilter(int render_process_id,
+ content::ResourceContext* resource_context,
+ const WorkerStoragePartition& partition,
+ const NextRoutingIDCallback& callback);
// content::BrowserMessageFilter implementation.
virtual void OnChannelClosing() OVERRIDE;
@@ -51,6 +51,7 @@ class WorkerMessageFilter : public content::BrowserMessageFilter {
int render_process_id_;
content::ResourceContext* const resource_context_;
+ WorkerStoragePartition partition_;
// This is guaranteed to be valid until OnChannelClosing is closed, and it's
// not used after.
« no previous file with comments | « content/browser/resource_context_impl.cc ('k') | content/browser/worker_host/worker_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698