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_ |