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

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

Issue 478453002: Remove PersonalAutofillPopulator for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update AutofillManagerTest expectations Created 6 years, 4 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_unittest.cc
diff --git a/components/autofill/core/browser/autofill_manager_unittest.cc b/components/autofill/core/browser/autofill_manager_unittest.cc
index 5e2a68fa0781dfe20b3a2e7fa20d01766658fc3a..861ca23e6559705ad9676a4c74c21879b417632d 100644
--- a/components/autofill/core/browser/autofill_manager_unittest.cc
+++ b/components/autofill/core/browser/autofill_manager_unittest.cc
@@ -2425,10 +2425,9 @@ TEST_F(AutofillManagerTest, FormSubmittedWithDefaultValues) {
// thing on all platforms.
TEST_F(AutofillManagerTest, AuxiliaryProfilesReset) {
PrefService* prefs = autofill_client_.GetPrefs();
-#if defined(OS_MACOSX) || defined(OS_ANDROID)
- // Auxiliary profiles is implemented on Mac and Android only.
+#if defined(OS_MACOSX)
+ // Auxiliary profiles is implemented on Mac only.
// OSX: This preference exists for legacy reasons. It is no longer used.
- // Android: enables integration with user's contact profile.
ASSERT_TRUE(
prefs->GetBoolean(::autofill::prefs::kAutofillAuxiliaryProfilesEnabled));
prefs->SetBoolean(::autofill::prefs::kAutofillAuxiliaryProfilesEnabled,
@@ -2443,7 +2442,7 @@ TEST_F(AutofillManagerTest, AuxiliaryProfilesReset) {
prefs->ClearPref(::autofill::prefs::kAutofillAuxiliaryProfilesEnabled);
ASSERT_FALSE(
prefs->GetBoolean(::autofill::prefs::kAutofillAuxiliaryProfilesEnabled));
-#endif // defined(OS_MACOSX) || defined(OS_ANDROID)
+#endif // defined(OS_MACOSX)
}
TEST_F(AutofillManagerTest, DeterminePossibleFieldTypesForUpload) {
« no previous file with comments | « components/autofill/core/browser/autofill_manager.cc ('k') | components/autofill/core/browser/personal_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698