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

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

Issue 459003002: Plumbs URLRequestContext and CacheBlobStorageContext down to cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cache1
Patch Set: Addresses michaeln's comments from PS5 Created 6 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/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index b8d98cdeaedd7aa30b3df3262d83f7a1b8589e09..d77b913e90e72d87466b15aba78b2aa2bdecc72d 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -147,6 +147,7 @@
#include "ui/gfx/switches.h"
#include "ui/gl/gl_switches.h"
#include "ui/native_theme/native_theme_switches.h"
+#include "webkit/browser/blob/blob_storage_context.h"
michaeln 2014/08/13 02:03:37 not needed?
jkarlin 2014/08/13 11:56:41 Done.
#include "webkit/browser/fileapi/sandbox_file_system_backend.h"
#if defined(OS_ANDROID)
@@ -849,7 +850,9 @@ void RenderProcessHostImpl::CreateMessageFilters() {
scoped_refptr<ServiceWorkerDispatcherHost> service_worker_filter =
new ServiceWorkerDispatcherHost(GetID(), message_port_message_filter_);
service_worker_filter->Init(
- storage_partition_impl_->GetServiceWorkerContext());
+ storage_partition_impl_->GetServiceWorkerContext(),
+ storage_partition_impl_->GetURLRequestContext(),
+ ChromeBlobStorageContext::GetFor(browser_context));
AddFilter(service_worker_filter);
AddFilter(new SharedWorkerMessageFilter(

Powered by Google App Engine
This is Rietveld 408576698