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

Unified Diff: content/browser/renderer_host/resource_message_filter.cc

Issue 10916132: AppCache and StoragePartition'ing (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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/renderer_host/resource_message_filter.h ('k') | content/browser/resource_context_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/resource_message_filter.cc
===================================================================
--- content/browser/renderer_host/resource_message_filter.cc (revision 156155)
+++ content/browser/renderer_host/resource_message_filter.cc (working copy)
@@ -5,6 +5,8 @@
#include "content/browser/renderer_host/resource_message_filter.h"
#include "content/browser/renderer_host/resource_dispatcher_host_impl.h"
+#include "content/browser/appcache/chrome_appcache_service.h"
+#include "content/browser/fileapi/chrome_blob_storage_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/resource_context.h"
@@ -14,13 +16,18 @@
int child_id,
ProcessType process_type,
ResourceContext* resource_context,
+ ChromeAppCacheService* appcache_service,
+ ChromeBlobStorageContext* blob_storage_context,
URLRequestContextSelector* url_request_context_selector)
: child_id_(child_id),
process_type_(process_type),
resource_context_(resource_context),
+ appcache_service_(appcache_service),
+ blob_storage_context_(blob_storage_context),
url_request_context_selector_(url_request_context_selector) {
DCHECK(resource_context);
DCHECK(url_request_context_selector);
+ // |appcache_service| and |blob_storage_context| may be NULL in unittests.
}
ResourceMessageFilter::~ResourceMessageFilter() {
« no previous file with comments | « content/browser/renderer_host/resource_message_filter.h ('k') | content/browser/resource_context_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698