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

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

Issue 10821026: Make about:version android friendly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve presubmit warning. Created 8 years, 5 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/shared/css/about_version.css ('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/about_ui.cc
diff --git a/chrome/browser/ui/webui/about_ui.cc b/chrome/browser/ui/webui/about_ui.cc
index 4d4376948bce0416fe4aa7d61fda1e55db3f4295..74ddf55696bc7c425056d4953ecb799e9a70ddfd 100644
--- a/chrome/browser/ui/webui/about_ui.cc
+++ b/chrome/browser/ui/webui/about_ui.cc
@@ -1025,6 +1025,7 @@ std::string AboutVersionStrings(DictionaryValue* localized_strings,
localized_strings->SetString("js_engine", "V8");
localized_strings->SetString("js_version", v8::V8::GetVersion());
+#if !defined(OS_ANDROID)
// Obtain the version of the first enabled Flash plugin.
std::vector<webkit::WebPluginInfo> info_array;
PluginService::GetInstance()->GetPluginInfoArray(
@@ -1042,6 +1043,7 @@ std::string AboutVersionStrings(DictionaryValue* localized_strings,
}
localized_strings->SetString("flash_plugin", "Flash");
localized_strings->SetString("flash_version", flash_version);
+#endif
localized_strings->SetString("company",
l10n_util::GetStringUTF16(IDS_ABOUT_VERSION_COMPANY_NAME));
localized_strings->SetString("copyright",
« no previous file with comments | « chrome/browser/resources/shared/css/about_version.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698