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

Unified Diff: content/browser/webui/web_ui_url_loader_factory.h

Issue 2860903006: Handle webuis when using the network service. (Closed)
Patch Set: merge Created 3 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/webui/web_ui_url_loader_factory.h
diff --git a/content/browser/webui/web_ui_url_loader_factory.h b/content/browser/webui/web_ui_url_loader_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..cf085f51ce652978a66a9382af73f402748008ea
--- /dev/null
+++ b/content/browser/webui/web_ui_url_loader_factory.h
@@ -0,0 +1,18 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_WEBUI_WEB_UI_URL_LOADER_FACTORY_H_
+#define CONTENT_BROWSER_WEBUI_WEB_UI_URL_LOADER_FACTORY_H_
+
+#include "content/common/url_loader_factory.mojom.h"
+
+namespace content {
+class FrameTreeNode;
+
+// Returns a URLLoaderFactory interface pointer for serving WebUI requests.
+mojom::URLLoaderFactoryPtr GetWebUIURLLoader(FrameTreeNode* node);
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_WEBUI_WEB_UI_URL_LOADER_FACTORY_H_
« no previous file with comments | « content/browser/webui/url_data_manager_backend_unittest.cc ('k') | content/browser/webui/web_ui_url_loader_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698