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

Unified Diff: chrome/browser/ui/webui/options/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: sync'd to ToT 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
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index 65e31da826994f5323f0f5fce21312fbdf735ea7..558f49abb1133ea9b57065240b1285bea18a9165 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/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_WINDOWS8_PRIVACY_HANDLING_INFO },
+#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);
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698