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

Unified Diff: ios/chrome/browser/ui/webui/version_ui.h

Issue 1418653004: [iOS] Support for chrome://version (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment from blundell Created 5 years, 2 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
« no previous file with comments | « ios/chrome/browser/ui/webui/version_handler.cc ('k') | ios/chrome/browser/ui/webui/version_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/webui/version_ui.h
diff --git a/ios/chrome/browser/ui/webui/about_ui.h b/ios/chrome/browser/ui/webui/version_ui.h
similarity index 45%
copy from ios/chrome/browser/ui/webui/about_ui.h
copy to ios/chrome/browser/ui/webui/version_ui.h
index a31ffac1cb1c1997b8033a18ba1f7824ce8e3300..20349d26bbcc34f4302782644e7414c9efcd7459 100644
--- a/ios/chrome/browser/ui/webui/about_ui.h
+++ b/ios/chrome/browser/ui/webui/version_ui.h
@@ -2,25 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef IOS_CHROME_BROWSER_UI_WEBUI_ABOUT_UI_H_
-#define IOS_CHROME_BROWSER_UI_WEBUI_ABOUT_UI_H_
+#ifndef IOS_CHROME_BROWSER_UI_WEBUI_VERSION_UI_H_
+#define IOS_CHROME_BROWSER_UI_WEBUI_VERSION_UI_H_
#include <string>
#include "base/macros.h"
#include "ios/public/provider/web/web_ui_ios_controller.h"
-namespace web {
-class WebUIIOS;
-}
-
-class AboutUI : public web::WebUIIOSController {
+// The WebUI handler for chrome://version.
+class VersionUI : public web::WebUIIOSController {
public:
- explicit AboutUI(web::WebUIIOS* web_ui, const std::string& name);
- ~AboutUI() override;
+ explicit VersionUI(web::WebUIIOS* web_ui);
+ ~VersionUI() override;
private:
- DISALLOW_COPY_AND_ASSIGN(AboutUI);
+ DISALLOW_COPY_AND_ASSIGN(VersionUI);
};
-#endif // IOS_CHROME_BROWSER_UI_WEBUI_ABOUT_UI_H_
+#endif // IOS_CHROME_BROWSER_UI_WEBUI_VERSION_UI_H_
« no previous file with comments | « ios/chrome/browser/ui/webui/version_handler.cc ('k') | ios/chrome/browser/ui/webui/version_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698