// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_TEST_BASE_TEST_CHROME_WEB_UI_CONTROLLER_FACTORY_H_ #define CHROME_TEST_BASE_TEST_CHROME_WEB_UI_CONTROLLER_FACTORY_H_ #include <map> #include <memory> #include <string> #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" #include "content/public/browser/web_ui.h" #include "content/public/browser/web_ui_data_source.h" // A test implementation of ChromeWebUIControllerFactory that provides a // registry to override CreateWebUIControllerForURL() by host. class TestChromeWebUIControllerFactory : public ChromeWebUIControllerFactory { … }; #endif // CHROME_TEST_BASE_TEST_CHROME_WEB_UI_CONTROLLER_FACTORY_H_