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

Unified Diff: chrome/browser/autofill/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 various nits. 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: chrome/browser/autofill/autofill_manager_unittest.cc
diff --git a/chrome/browser/autofill/autofill_manager_unittest.cc b/chrome/browser/autofill/autofill_manager_unittest.cc
index 705799bd82a65ea440e6e444495c8ddf0e956220..3e1c8dfd6036d85da85446eb584079c982d6c486 100644
--- a/chrome/browser/autofill/autofill_manager_unittest.cc
+++ b/chrome/browser/autofill/autofill_manager_unittest.cc
@@ -2703,9 +2703,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);

Powered by Google App Engine
This is Rietveld 408576698