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

Unified Diff: chrome/browser/ui/webui/settings/about_handler.cc

Issue 2007733002: MD Settings: About page, display product info. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove top margin. Created 4 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/settings/about_page/about_page.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/settings/about_handler.cc
diff --git a/chrome/browser/ui/webui/settings/about_handler.cc b/chrome/browser/ui/webui/settings/about_handler.cc
index 23410f02fbf682dc762912cc0db67ac9ab8ff4ea..a1a5e8c3f4d25879feabbd0e8982f35ccc6d034f 100644
--- a/chrome/browser/ui/webui/settings/about_handler.cc
+++ b/chrome/browser/ui/webui/settings/about_handler.cc
@@ -284,6 +284,12 @@ AboutHandler* AboutHandler::Create(content::WebUIDataSource* html_source,
ObsoleteSystem::IsObsoleteNowOrSoon() &&
ObsoleteSystem::IsEndOfTheLine());
+#if defined(GOOGLE_CHROME_BUILD)
+ base::string16 tos = l10n_util::GetStringFUTF16(
+ IDS_ABOUT_TERMS_OF_SERVICE, base::UTF8ToUTF16(chrome::kChromeUITermsURL));
+ html_source->AddString("aboutProductTos", tos);
+#endif
+
#if defined(OS_CHROMEOS)
base::string16 os_license = l10n_util::GetStringFUTF16(
IDS_ABOUT_CROS_VERSION_LICENSE,
« no previous file with comments | « chrome/browser/resources/settings/about_page/about_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698