OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef IOS_CHROME_BROWSER_UI_WEBUI_ABOUT_UI_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_WEBUI_VERSION_UI_H_ |
6 #define IOS_CHROME_BROWSER_UI_WEBUI_ABOUT_UI_H_ | 6 #define IOS_CHROME_BROWSER_UI_WEBUI_VERSION_UI_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "ios/public/provider/web/web_ui_ios_controller.h" | 11 #include "ios/public/provider/web/web_ui_ios_controller.h" |
12 | 12 |
13 namespace web { | 13 // The WebUI handler for chrome://version. |
14 class WebUIIOS; | 14 class VersionUI : public web::WebUIIOSController { |
15 } | |
16 | |
17 class AboutUI : public web::WebUIIOSController { | |
18 public: | 15 public: |
19 explicit AboutUI(web::WebUIIOS* web_ui, const std::string& name); | 16 explicit VersionUI(web::WebUIIOS* web_ui); |
20 ~AboutUI() override; | 17 ~VersionUI() override; |
21 | 18 |
22 private: | 19 private: |
23 DISALLOW_COPY_AND_ASSIGN(AboutUI); | 20 DISALLOW_COPY_AND_ASSIGN(VersionUI); |
24 }; | 21 }; |
25 | 22 |
26 #endif // IOS_CHROME_BROWSER_UI_WEBUI_ABOUT_UI_H_ | 23 #endif // IOS_CHROME_BROWSER_UI_WEBUI_VERSION_UI_H_ |
OLD | NEW |