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

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

Issue 811193005: Add a 32-bit/64-bit string to chrome://version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments. Created 5 years, 11 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 c79d6ca89fdccacd16f1fe52c2e4b4a24608883c..472d6e17b8aa9a1b4845402b6413eaf965f8fc59 100644
--- a/chrome/browser/ui/webui/version_ui.cc
+++ b/chrome/browser/ui/webui/version_ui.cc
@@ -83,6 +83,11 @@ WebUIDataSource* CreateVersionUIDataSource() {
html_source->AddLocalizedString("official",
version_info.IsOfficialBuild() ? IDS_ABOUT_VERSION_OFFICIAL :
IDS_ABOUT_VERSION_UNOFFICIAL);
+#if defined(ARCH_CPU_64_BITS)
+ html_source->AddLocalizedString("version_bitsize", IDS_ABOUT_VERSION_64BIT);
+#else
+ html_source->AddLocalizedString("version_bitsize", IDS_ABOUT_VERSION_32BIT);
+#endif
html_source->AddLocalizedString("user_agent_name",
IDS_ABOUT_VERSION_USER_AGENT);
html_source->AddString("useragent", GetUserAgent());
« 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