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

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

Issue 16625004: components: Move user_prefs into user_prefs namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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 93b417a7be631f4424fa84a22baea4a2cf891419..87a6e532092cba825e8bdba355cd9742ff392697 100644
--- a/components/autofill/browser/autofill_manager_unittest.cc
+++ b/components/autofill/browser/autofill_manager_unittest.cc
@@ -1920,7 +1920,7 @@ TEST_F(AutofillManagerTest, FillAddressForm) {
// Test that we correctly fill an address form from an auxiliary profile.
TEST_F(AutofillManagerTest, FillAddressFormFromAuxiliaryProfile) {
personal_data_.ClearAutofillProfiles();
- PrefService* prefs = components::UserPrefs::Get(profile());
+ PrefService* prefs = user_prefs::UserPrefs::Get(profile());
prefs->SetBoolean(::autofill::prefs::kAutofillAuxiliaryProfilesEnabled, true);
personal_data_.CreateTestAuxiliaryProfiles();
@@ -2813,7 +2813,7 @@ TEST_F(AutofillManagerTest, FormSubmittedWithDefaultValues) {
// Checks that resetting the auxiliary profile enabled preference does the right
// thing on all platforms.
TEST_F(AutofillManagerTest, AuxiliaryProfilesReset) {
- PrefService* prefs = components::UserPrefs::Get(profile());
+ PrefService* prefs = user_prefs::UserPrefs::Get(profile());
#if defined(OS_MACOSX) || defined(OS_ANDROID)
// Auxiliary profiles is implemented on Mac and Android only.
// OSX: enables Mac Address Book integration.
« no previous file with comments | « components/autofill/browser/autofill_download.cc ('k') | components/autofill/browser/personal_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698