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

Unified Diff: chrome/browser/ui/webui/options/personal_options_handler.cc

Issue 8430017: Add warning to Mac that passwords are shared between profiles through the underlying keychain. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/personal_options.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/options/personal_options_handler.cc
===================================================================
--- chrome/browser/ui/webui/options/personal_options_handler.cc (revision 107614)
+++ chrome/browser/ui/webui/options/personal_options_handler.cc (working copy)
@@ -110,6 +110,13 @@
l10n_util::GetStringUTF16(IDS_OPTIONS_PASSWORDS_NEVERSAVE));
localized_strings->SetString("manage_passwords",
l10n_util::GetStringUTF16(IDS_OPTIONS_PASSWORDS_MANAGE_PASSWORDS));
+#if defined(OS_MACOSX)
+ ProfileManager* profile_manager = g_browser_process->profile_manager();
+ if (profile_manager->GetNumberOfProfiles() > 1) {
+ localized_strings->SetString("macPasswordsWarning",
+ l10n_util::GetStringUTF16(IDS_OPTIONS_PASSWORDS_MAC_WARNING));
+ }
+#endif
localized_strings->SetString("autologinEnabled",
l10n_util::GetStringUTF16(IDS_OPTIONS_PASSWORDS_AUTOLOGIN));
« no previous file with comments | « chrome/browser/resources/options/personal_options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698