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

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

Issue 2465813003: Stop using MojoURLLoaderFactoryGetter. (Closed)
Patch Set: Created 4 years, 1 month 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 4e6840a7bf374b2cd1b97b0a3dc987b555cffd12..036c2d7e65021284f38fca1ad00bc5717cad6e10 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1136,9 +1136,7 @@ void RenderProcessHostImpl::CreateMessageFilters() {
scoped_refptr<ServiceWorkerDispatcherHost> service_worker_filter =
new ServiceWorkerDispatcherHost(
- GetID(), message_port_message_filter_.get(), resource_context,
- base::Bind(&RenderProcessHostImpl::CreateURLLoaderFactory,
- weak_factory_.GetWeakPtr()));
+ GetID(), message_port_message_filter_.get(), resource_context);
service_worker_filter->Init(
storage_partition_impl_->GetServiceWorkerContext());
AddFilter(service_worker_filter.get());
@@ -2984,9 +2982,4 @@ void RenderProcessHostImpl::OnMojoError(int render_process_id,
bad_message::RPH_MOJO_PROCESS_ERROR);
}
-void RenderProcessHostImpl::CreateURLLoaderFactory(
- mojo::InterfaceRequest<mojom::URLLoaderFactory> request) {
- URLLoaderFactoryImpl::Create(resource_message_filter_, std::move(request));
-}
-
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698