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

Unified Diff: content/browser/renderer_host/render_process_host_impl.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
Index: content/browser/renderer_host/render_process_host_impl.cc
===================================================================
--- content/browser/renderer_host/render_process_host_impl.cc (revision 154786)
+++ content/browser/renderer_host/render_process_host_impl.cc (working copy)
@@ -527,6 +527,9 @@
ResourceMessageFilter* resource_message_filter = new ResourceMessageFilter(
GetID(), PROCESS_TYPE_RENDERER, resource_context,
+ static_cast<ChromeAppCacheService*>(
+ storage_partition_impl_->GetAppCacheService()),
+ ChromeBlobStorageContext::GetFor(browser_context),
new RendererURLRequestContextSelector(browser_context, GetID()));
channel_->AddFilter(resource_message_filter);
@@ -539,7 +542,7 @@
channel_->AddFilter(new VideoCaptureHost());
channel_->AddFilter(new AppCacheDispatcherHost(
static_cast<ChromeAppCacheService*>(
- BrowserContext::GetAppCacheService(browser_context)),
+ storage_partition_impl_->GetAppCacheService()),
GetID()));
channel_->AddFilter(new ClipboardMessageFilter());
channel_->AddFilter(
@@ -592,7 +595,8 @@
resource_context);
channel_->AddFilter(socket_stream_dispatcher_host);
- channel_->AddFilter(new WorkerMessageFilter(GetID(), resource_context,
+ channel_->AddFilter(new WorkerMessageFilter(
+ GetID(), resource_context, storage_partition_impl_,
base::Bind(&RenderWidgetHelper::GetNextRoutingID,
base::Unretained(widget_helper_.get()))));

Powered by Google App Engine
This is Rietveld 408576698