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

Unified Diff: chrome/browser/ui/webui/help/help_handler.cc

Issue 9705092: Add IDS_ABOUT_CROS_VERSION_LICENSE support back to chrome://chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: retry Created 8 years, 9 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/help/help.js ('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/help/help_handler.cc
diff --git a/chrome/browser/ui/webui/help/help_handler.cc b/chrome/browser/ui/webui/help/help_handler.cc
index 613e1ca97bf948dc79f34028aded0081e461da42..d7a8b1b430642532ca5ff22b32e88163d10c97d6 100644
--- a/chrome/browser/ui/webui/help/help_handler.cc
+++ b/chrome/browser/ui/webui/help/help_handler.cc
@@ -152,13 +152,18 @@ void HelpHandler::GetLocalizedValues(DictionaryValue* localized_strings) {
string16 license = l10n_util::GetStringFUTF16(
IDS_ABOUT_VERSION_LICENSE,
-#if !defined(OS_CHROMEOS)
UTF8ToUTF16(google_util::StringAppendGoogleLocaleParam(
chrome::kChromiumProjectURL)),
-#endif
ASCIIToUTF16(chrome::kChromeUICreditsURL));
localized_strings->SetString("productLicense", license);
+#if defined(OS_CHROMEOS)
+ string16 os_license = l10n_util::GetStringFUTF16(
+ IDS_ABOUT_CROS_VERSION_LICENSE,
+ ASCIIToUTF16(chrome::kChromeUIOSCreditsURL));
+ localized_strings->SetString("productOsLicense", os_license);
+#endif
+
string16 tos = l10n_util::GetStringFUTF16(
IDS_ABOUT_TERMS_OF_SERVICE, UTF8ToUTF16(chrome::kChromeUITermsURL));
localized_strings->SetString("productTOS", tos);
« no previous file with comments | « chrome/browser/resources/help/help.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698