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

Unified Diff: chrome/browser/ui/webui/version_ui.cc

Issue 14864023: [Android] Add app version code to chrome://version. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « chrome/browser/resources/about_version.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/version_ui.cc
diff --git a/chrome/browser/ui/webui/version_ui.cc b/chrome/browser/ui/webui/version_ui.cc
index 6497ae0c34511624cd6b3b50059e0b7c7c877a10..c45620883cb2c915163dc4d5b4ec13896c869b5e 100644
--- a/chrome/browser/ui/webui/version_ui.cc
+++ b/chrome/browser/ui/webui/version_ui.cc
@@ -62,8 +62,10 @@ content::WebUIDataSource* CreateVersionUIDataSource(Profile* profile) {
base::android::BuildInfo::GetInstance();
html_source->AddString("application_name",
android_build_info->package_label());
- html_source->AddString("application_version",
+ html_source->AddString("application_version_name",
android_build_info->package_version_name());
+ html_source->AddString("application_version_code",
+ android_build_info->package_version_code());
html_source->AddLocalizedString("build_id_name",
IDS_ABOUT_VERSION_BUILD_ID);
html_source->AddString("build_id", CHROME_BUILD_ID);
« no previous file with comments | « chrome/browser/resources/about_version.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698