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

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: Created 4 years, 7 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 d34b495a27400612253789ffa9e615338be82566..fe09379401fc3e5e25bee334b68b67d01eba45f5 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -65,11 +65,14 @@ class RenderWidgetHelper;
class RenderWidgetHost;
class RenderWidgetHostImpl;
class RenderWidgetHostViewFrameSubscriber;
+class ResourceMessageFilter;
class StoragePartition;
class StoragePartitionImpl;
+class URLLoaderFactoryImpl;
namespace mojom {
class StoragePartitionService;
+class URLLoaderFactory;
}
typedef base::Thread* (*RendererMainThreadFactoryFunction)(
@@ -305,6 +308,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);
@@ -511,6 +517,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<URLLoaderFactoryImpl> url_loader_factory_;
base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698