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

Unified Diff: chrome/browser/dom_ui/options/autofill_options_handler.cc

Issue 6314011: DOMUI: Add the 'Mac address book' checkbox pref to the Mac Autofill page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | « no previous file | chrome/browser/resources/options/autofill_options.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/options/autofill_options_handler.cc
diff --git a/chrome/browser/dom_ui/options/autofill_options_handler.cc b/chrome/browser/dom_ui/options/autofill_options_handler.cc
index 9e95ecedbafbad9d1a3152fc3427d6f44fb4516c..d82982ba4e64131c3d200dd62cc16c0385479c71 100644
--- a/chrome/browser/dom_ui/options/autofill_options_handler.cc
+++ b/chrome/browser/dom_ui/options/autofill_options_handler.cc
@@ -84,6 +84,11 @@ void AutoFillOptionsHandler::GetLocalizedValues(
localized_strings->SetString("editCreditCardTitle",
l10n_util::GetStringUTF16(IDS_AUTOFILL_EDIT_CREDITCARD_CAPTION));
+#if defined(OS_MACOSX)
+ localized_strings->SetString("auxiliaryProfilesEnabled",
+ l10n_util::GetStringUTF16(IDS_AUTOFILL_USE_MAC_ADDRESS_BOOK));
+#endif // defined(OS_MACOSX)
+
SetAddressOverlayStrings(localized_strings);
SetCreditCardOverlayStrings(localized_strings);
}
« no previous file with comments | « no previous file | chrome/browser/resources/options/autofill_options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698