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

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: fix Created 4 years, 5 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 72f29957ecd0e6c9ebb92481868b9b3596d71f53..9127d3da5d95d57e543e074b09a2e0952ff94bd2 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 URLLoaderFactoryHolder;
namespace mojom {
class StoragePartitionService;
+class URLLoaderFactory;
}
typedef base::Thread* (*RendererMainThreadFactoryFunction)(
@@ -307,6 +310,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);
@@ -520,6 +526,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