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

Unified Diff: components/autofill/browser/autofill_manager_unittest.cc

Issue 12282004: Added personal_data_manager android implementation for auto-populating auto-fill on android builds … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed autogenerated nits from trybot Created 7 years, 9 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/browser/autofill_manager_unittest.cc
diff --git a/components/autofill/browser/autofill_manager_unittest.cc b/components/autofill/browser/autofill_manager_unittest.cc
index 1b4a7003f8dfa4523cbd5aecc00037dcf026cce2..2f9e5f528cd3f44a6be00133aa81048e51aa6747 100644
--- a/components/autofill/browser/autofill_manager_unittest.cc
+++ b/components/autofill/browser/autofill_manager_unittest.cc
@@ -2820,9 +2820,10 @@ TEST_F(AutofillManagerTest, FormSubmittedWithDefaultValues) {
// thing on all platforms.
TEST_F(AutofillManagerTest, AuxiliaryProfilesReset) {
PrefService* prefs = components::UserPrefs::Get(profile());
-#if defined(OS_MACOSX)
- // Auxiliary profiles is implemented on Mac only. It enables Mac Address
- // Book integration.
+#if defined(OS_MACOSX) || defined(OS_ANDROID)
+ // Auxiliary profiles is implemented on Mac and Android only.
+ // OSX: enables Mac Address Book integration.
+ // Android: enables integration with user's contact profile.
ASSERT_TRUE(prefs->GetBoolean(prefs::kAutofillAuxiliaryProfilesEnabled));
prefs->SetBoolean(prefs::kAutofillAuxiliaryProfilesEnabled, false);
prefs->ClearPref(prefs::kAutofillAuxiliaryProfilesEnabled);
« no previous file with comments | « components/autofill/browser/autofill_manager.cc ('k') | components/autofill/browser/personal_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698