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

Unified Diff: components/autofill/core/browser/autofill_manager.cc

Issue 301343002: mac: Clean up autofill integration with Address Book. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autofill_cleanup2_base
Patch Set: test Created 6 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
Index: components/autofill/core/browser/autofill_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index 4b679b1a7c058ed4979c84793c802f8971a53280..5fa444752e9cf76a764d11f4b0097ae996f283f9 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -201,12 +201,12 @@ void AutofillManager::RegisterProfilePrefs(
prefs::kAutofillEnabled,
true,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
-#if defined(OS_MACOSX) || defined(OS_ANDROID)
+#if defined(OS_ANDROID)
registry->RegisterBooleanPref(
prefs::kAutofillAuxiliaryProfilesEnabled,
true,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
-#else // defined(OS_MACOSX) || defined(OS_ANDROID)
+#else // defined(OS_ANDROID)
Ilya Sherman 2014/05/30 23:39:48 Hmm, what happens if the user enables access to th
erikchen 2014/06/02 21:21:17 I've added a new pref for mac.
registry->RegisterBooleanPref(
prefs::kAutofillAuxiliaryProfilesEnabled,
false,

Powered by Google App Engine
This is Rietveld 408576698