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

Unified Diff: components/browser_sync/profile_sync_service_autofill_unittest.cc

Issue 2612323003: [Sync] Filter out types that can't be synced at configure time. (Closed)
Patch Set: Fix bots. Created 3 years, 11 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/browser_sync/profile_sync_service_autofill_unittest.cc
diff --git a/components/browser_sync/profile_sync_service_autofill_unittest.cc b/components/browser_sync/profile_sync_service_autofill_unittest.cc
index 77c09e339c74cf2733ddbbf79bd9f7bba6dcd1c5..6a37f1da985b6196a0c0d579e1975b001460506e 100644
--- a/components/browser_sync/profile_sync_service_autofill_unittest.cc
+++ b/components/browser_sync/profile_sync_service_autofill_unittest.cc
@@ -369,9 +369,11 @@ class WebDataServiceFake : public AutofillWebDataService {
DISALLOW_COPY_AND_ASSIGN(WebDataServiceFake);
};
-ACTION_P(ReturnNewDataTypeManagerWithDebugListener, debug_listener) {
- return new syncer::DataTypeManagerImpl(arg0, debug_listener, arg2, arg3, arg4,
- arg5);
+ACTION_P2(ReturnNewDataTypeManagerWithDebugListener,
+ sync_client,
+ debug_listener) {
+ return new syncer::DataTypeManagerImpl(sync_client, arg0, debug_listener,
+ arg2, arg3, arg4, arg5);
}
class MockPersonalDataManager : public PersonalDataManager {
@@ -478,6 +480,7 @@ class ProfileSyncServiceAutofillTest
EXPECT_CALL(*profile_sync_service_bundle()->component_factory(),
CreateDataTypeManager(_, _, _, _, _, _))
.WillOnce(ReturnNewDataTypeManagerWithDebugListener(
+ sync_client_,
syncer::MakeWeakHandle(debug_ptr_factory_.GetWeakPtr())));
EXPECT_CALL(personal_data_manager(), IsDataLoaded())

Powered by Google App Engine
This is Rietveld 408576698