Index: ios/public/provider/web/web_ui_ios_controller_factory.h |
diff --git a/ios/public/provider/web/web_ui_ios_controller_factory.h b/ios/public/provider/web/web_ui_ios_controller_factory.h |
index 1be15fa33a384c2685ea9440e435a4ae4b73016b..03356e2b3f6e6fad8479a69960c8fb5be130cad2 100644 |
--- a/ios/public/provider/web/web_ui_ios_controller_factory.h |
+++ b/ios/public/provider/web/web_ui_ios_controller_factory.h |
@@ -5,30 +5,8 @@ |
#ifndef IOS_PUBLIC_PROVIDER_WEB_WEB_UI_IOS_CONTROLLER_FACTORY_H_ |
#define IOS_PUBLIC_PROVIDER_WEB_WEB_UI_IOS_CONTROLLER_FACTORY_H_ |
-#include "ios/public/provider/web/web_ui_ios.h" |
- |
-class GURL; |
- |
-namespace web { |
- |
-class WebUIIOSController; |
- |
-// Interface for an object that controls which URLs are considered WebUIIOS |
-// URLs and creates WebUIIOSController instances for given URLs. |
-class WebUIIOSControllerFactory { |
- public: |
- virtual ~WebUIIOSControllerFactory() {} |
- |
- // Call to register a factory. |
- static void RegisterFactory(WebUIIOSControllerFactory* factory); |
- |
- // Returns a WebUIIOSController instance for the given URL, or NULL if the URL |
- // doesn't correspond to a WebUIIOS. |
- virtual WebUIIOSController* CreateWebUIIOSControllerForURL( |
- WebUIIOS* web_ui, |
- const GURL& url) const = 0; |
-}; |
- |
-} // namespace web |
+// TODO(crbug.com/524467): Remove this file once downstream code is switched to |
+// use correct header. |
+#include "ios/web/public/webui/web_ui_ios_controller_factory.h" |
#endif // IOS_PUBLIC_PROVIDER_WEB_WEB_UI_IOS_CONTROLLER_FACTORY_H_ |