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

Unified Diff: chrome/browser/sync/profile_sync_service_autofill_unittest.cc

Issue 436733002: [Sync] Use OnSingleDataTypeUnrecoverableError for all errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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: chrome/browser/sync/profile_sync_service_autofill_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
index fd9d5ece6a3f2b78b9e952f1dfbf7336c2c1884e..8c7cddf232e7f0df1dfca75c36b9309f4be8c432 100644
--- a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
@@ -392,10 +392,7 @@ class AutofillEntryFactory : public AbstractAutofillFactory {
ProfileSyncComponentsFactory* factory,
TestingProfile* profile,
ProfileSyncService* service) OVERRIDE {
- return new AutofillDataTypeController(
- factory,
- profile,
- DataTypeController::DisableTypeCallback());
+ return new AutofillDataTypeController(factory, profile);
}
virtual void SetExpectation(ProfileSyncComponentsFactoryMock* factory,
@@ -413,10 +410,7 @@ class AutofillProfileFactory : public AbstractAutofillFactory {
ProfileSyncComponentsFactory* factory,
TestingProfile* profile,
ProfileSyncService* service) OVERRIDE {
- return new AutofillProfileDataTypeController(
- factory,
- profile,
- DataTypeController::DisableTypeCallback());
+ return new AutofillProfileDataTypeController(factory, profile);
}
virtual void SetExpectation(ProfileSyncComponentsFactoryMock* factory,
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/profile_sync_service_bookmark_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698