| 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 f33ce6399564af08e33038f8eabd0d066bee7950..8854b8b0608fea0d1bb2601abd0be562f919297d 100644
|
| --- a/components/autofill/core/browser/autofill_test_utils.cc
|
| +++ b/components/autofill/core/browser/autofill_test_utils.cc
|
| @@ -7,9 +7,6 @@
|
| #include <string>
|
|
|
| #include "base/guid.h"
|
| -#include "base/prefs/pref_service.h"
|
| -#include "base/prefs/pref_service_factory.h"
|
| -#include "base/prefs/testing_pref_store.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "build/build_config.h"
|
| #include "components/autofill/core/browser/autofill_manager.h"
|
| @@ -22,6 +19,9 @@
|
| #include "components/autofill/core/common/form_field_data.h"
|
| #include "components/os_crypt/os_crypt.h"
|
| #include "components/pref_registry/pref_registry_syncable.h"
|
| +#include "components/prefs/pref_service.h"
|
| +#include "components/prefs/pref_service_factory.h"
|
| +#include "components/prefs/testing_pref_store.h"
|
| #include "components/signin/core/browser/account_fetcher_service.h"
|
| #include "components/signin/core/browser/account_tracker_service.h"
|
| #include "components/signin/core/common/signin_pref_names.h"
|
| @@ -62,7 +62,7 @@ scoped_ptr<PrefService> PrefServiceForTesting() {
|
| AccountTrackerService::MIGRATION_NOT_STARTED);
|
| registry->RegisterInt64Pref(AccountFetcherService::kLastUpdatePref, 0);
|
|
|
| - base::PrefServiceFactory factory;
|
| + PrefServiceFactory factory;
|
| factory.set_user_prefs(make_scoped_refptr(new TestingPrefStore()));
|
| return factory.Create(registry.get());
|
| }
|
|
|