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_VERSION_UI_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_WEBUI_VERSION_UI_H_ |
6 #define IOS_CHROME_BROWSER_UI_WEBUI_VERSION_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/web/public/webui/web_ui_ios_controller.h" |
12 | 12 |
13 // The WebUI handler for chrome://version. | 13 // The WebUI handler for chrome://version. |
14 class VersionUI : public web::WebUIIOSController { | 14 class VersionUI : public web::WebUIIOSController { |
15 public: | 15 public: |
16 explicit VersionUI(web::WebUIIOS* web_ui); | 16 explicit VersionUI(web::WebUIIOS* web_ui); |
17 ~VersionUI() override; | 17 ~VersionUI() override; |
18 | 18 |
19 private: | 19 private: |
20 DISALLOW_COPY_AND_ASSIGN(VersionUI); | 20 DISALLOW_COPY_AND_ASSIGN(VersionUI); |
21 }; | 21 }; |
22 | 22 |
23 #endif // IOS_CHROME_BROWSER_UI_WEBUI_VERSION_UI_H_ | 23 #endif // IOS_CHROME_BROWSER_UI_WEBUI_VERSION_UI_H_ |
OLD | NEW |