#include "ui/webui/untrusted_web_ui_controller_factory.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui.h"
#include "content/public/browser/web_ui_controller.h"
#include "content/public/browser/webui_config.h"
#include "content/public/common/url_constants.h"
#include "url/gurl.h"
namespace ui {
UntrustedWebUIControllerFactory::UntrustedWebUIControllerFactory() = default;
UntrustedWebUIControllerFactory::~UntrustedWebUIControllerFactory() = default;
content::WebUI::TypeID UntrustedWebUIControllerFactory::GetWebUIType(
content::BrowserContext* browser_context,
const GURL& url) { … }
bool UntrustedWebUIControllerFactory::UseWebUIForURL(
content::BrowserContext* browser_context,
const GURL& url) { … }
std::unique_ptr<content::WebUIController>
UntrustedWebUIControllerFactory::CreateWebUIControllerForURL(
content::WebUI* web_ui,
const GURL& url) { … }
content::WebUIConfig* UntrustedWebUIControllerFactory::GetConfigIfWebUIEnabled(
content::BrowserContext* browser_context,
const GURL& url) { … }
}