Index: components/autofill/core/browser/autofill_test_utils.cc |
diff --git a/components/autofill/core/browser/autofill_test_utils.cc b/components/autofill/core/browser/autofill_test_utils.cc |
index 081defa337a6781650b195de46a744b8207b6b3f..89077d80490e46d2249ee82ed041df90eddd691e 100644 |
--- a/components/autofill/core/browser/autofill_test_utils.cc |
+++ b/components/autofill/core/browser/autofill_test_utils.cc |
@@ -208,10 +208,12 @@ void DisableSystemServices(PrefService* prefs) { |
OSCrypt::UseMockKeychain(true); |
#endif |
+#if defined(OS_MACOSX) && !defined(OS_IOS) |
// Disable auxiliary profiles for unit testing. These reach out to system |
// services on the Mac. |
if (prefs) |
- prefs->SetBoolean(prefs::kAutofillAuxiliaryProfilesEnabled, false); |
+ prefs->SetBoolean(prefs::kAutofillUseMacAddressBook, false); |
+#endif |
Ilya Sherman
2014/06/03 23:48:59
nit: Please add the trailing comment.
erikchen
2014/06/04 01:51:26
Done.
|
} |
} // namespace test |