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

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

Issue 1970693002: Use mojo for Chrome Loading, Part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index 1951ed6f7fc4a7e814fc5085b613a2bfa7a15aa5..e9fd98a7c741e60aa0a0d839d18606ea5ff2d1ef 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -66,11 +66,14 @@ class RenderWidgetHelper;
class RenderWidgetHost;
class RenderWidgetHostImpl;
class RenderWidgetHostViewFrameSubscriber;
+class ResourceMessageFilter;
class StoragePartition;
class StoragePartitionImpl;
+class URLLoaderFactoryHolder;
namespace mojom {
class StoragePartitionService;
+class URLLoaderFactory;
}
typedef base::Thread* (*RendererMainThreadFactoryFunction)(
@@ -309,6 +312,9 @@ class CONTENT_EXPORT RenderProcessHostImpl
void CreateStoragePartitionService(
mojo::InterfaceRequest<mojom::StoragePartitionService> request);
+ void CreateURLLoaderFactory(
+ mojo::InterfaceRequest<mojom::URLLoaderFactory> request);
+
// Control message handlers.
void OnShutdownRequest();
void SuddenTerminationChanged(bool enabled);
@@ -517,6 +523,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
std::string mojo_channel_token_;
mojo::ScopedMessagePipeHandle in_process_renderer_handle_;
+ scoped_refptr<ResourceMessageFilter> resource_message_filter_;
+ std::unique_ptr<URLLoaderFactoryHolder> url_loader_factory_holder_;
base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698