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 f0e65706b88381decf2063ab18391153f6d6bd80..0d1986c673cd4752c658f02acffa9fa32500bcc0 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -77,7 +77,8 @@ class StoragePartitionImpl; |
namespace mojom { |
class StoragePartitionService; |
-} |
+class URLLoaderFactory; |
+} // namespace mojom |
typedef base::Thread* (*RendererMainThreadFactoryFunction)( |
const InProcessChildThreadParams& params); |
@@ -379,6 +380,10 @@ class CONTENT_EXPORT RenderProcessHostImpl |
static void OnMojoError(int render_process_id, const std::string& error); |
+ static bool CreateURLLoaderFactory( |
+ base::WeakPtr<RenderProcessHostImpl> weak_host, |
+ mojo::InterfaceRequest<mojom::URLLoaderFactory> request); |
+ |
template <typename InterfaceType> |
using AddInterfaceCallback = |
base::Callback<void(mojo::InterfaceRequest<InterfaceType>)>; |