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

Unified Diff: components/autofill/core/browser/autofill_test_utils.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: Address comments from isherman. 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_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..ebb5e53cd315352c5beb8d4803a4b193f5416a5a 100644
--- a/components/autofill/core/browser/autofill_test_utils.cc
+++ b/components/autofill/core/browser/autofill_test_utils.cc
@@ -210,8 +210,10 @@ void DisableSystemServices(PrefService* prefs) {
// Disable auxiliary profiles for unit testing. These reach out to system
// services on the Mac.
- if (prefs)
+ if (prefs) {
prefs->SetBoolean(prefs::kAutofillAuxiliaryProfilesEnabled, false);
Ilya Sherman 2014/06/02 22:54:27 I think you can just replace this line, rather tha
erikchen 2014/06/03 01:34:19 Done.
+ prefs->SetBoolean(prefs::kAutofillUseMacAddressBook, false);
+ }
}
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698