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

Unified Diff: ios/public/provider/web/web_ui_ios_controller_factory.h

Issue 2116673002: [ios] Moved WebUI provider code to ios/web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self review Created 4 years, 6 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: 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_
« no previous file with comments | « ios/public/provider/web/web_ui_ios_controller.cc ('k') | ios/public/provider/web/web_ui_ios_message_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698