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

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

Issue 2410333006: Implement ServiceWorkerFetchDispatcher::MaybeStartNavigationPreload(). (Closed)
Patch Set: incorporated falken's comment Created 4 years, 2 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 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>)>;

Powered by Google App Engine
This is Rietveld 408576698