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

Unified Diff: chrome/browser/ui/webui/options2/browser_options_handler.cc

Issue 10854126: Show an extra privacy warning on Win8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Now gets the Windows Version from within JS/ Created 8 years, 4 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
Index: chrome/browser/ui/webui/options2/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options2/browser_options_handler.cc b/chrome/browser/ui/webui/options2/browser_options_handler.cc
index 7b84554fd6e3e5c0519e06d6dfefda84d62f818d..60cf572c85e6df72b75900cf85d1d0e5ba1c0673 100644
--- a/chrome/browser/ui/webui/options2/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options2/browser_options_handler.cc
@@ -225,6 +225,9 @@ void BrowserOptionsHandler::GetLocalizedValues(DictionaryValue* values) {
{ "privacyClearDataButton", IDS_OPTIONS_PRIVACY_CLEAR_DATA_BUTTON },
{ "privacyContentSettingsButton",
IDS_OPTIONS_PRIVACY_CONTENT_SETTINGS_BUTTON },
+#if defined(OS_WIN)
+ { "privacyWin8Data", IDS_OPTIONS_PRIVACY_WIN8_DATA },
+#endif
{ "profilesCreate", IDS_PROFILES_CREATE_BUTTON_LABEL },
{ "profilesDelete", IDS_PROFILES_DELETE_BUTTON_LABEL },
{ "profilesDeleteSingle", IDS_PROFILES_DELETE_SINGLE_BUTTON_LABEL },
@@ -370,6 +373,10 @@ void BrowserOptionsHandler::GetLocalizedValues(DictionaryValue* values) {
// Pass along sync status early so it will be available during page init.
values->Set("syncData", GetSyncStateDictionary().release());
+#if defined(OS_WIN)
+ values->SetString("privacyWin8DataLearnMoreURL",
+ chrome::kPrivacyWin8DataLearnMoreURL);
+#endif
values->SetString("privacyLearnMoreURL", chrome::kPrivacyLearnMoreURL);
values->SetString("sessionRestoreLearnMoreURL",
chrome::kSessionRestoreLearnMoreURL);

Powered by Google App Engine
This is Rietveld 408576698