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

Unified Diff: components/sync/driver/glue/sync_backend_host_impl_unittest.cc

Issue 2555433003: [Sync] Plumb initial type set from engine to DTM. (Closed)
Patch Set: Rebase. Created 4 years 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/sync/driver/glue/sync_backend_host_impl_unittest.cc
diff --git a/components/sync/driver/glue/sync_backend_host_impl_unittest.cc b/components/sync/driver/glue/sync_backend_host_impl_unittest.cc
index f615bb0464618973580ddd91a7f14d1bdc043272..5276ddb3d58964ea8925e0f96fb3700ecd9e00e6 100644
--- a/components/sync/driver/glue/sync_backend_host_impl_unittest.cc
+++ b/components/sync/driver/glue/sync_backend_host_impl_unittest.cc
@@ -75,8 +75,9 @@ class MockSyncEngineHost : public SyncEngineHost {
public:
virtual ~MockSyncEngineHost() {}
- MOCK_METHOD4(OnEngineInitialized,
- void(const WeakHandle<JsBackend>&,
+ MOCK_METHOD5(OnEngineInitialized,
+ void(ModelTypeSet initial_types,
+ const WeakHandle<JsBackend>&,
const WeakHandle<DataTypeDebugInfoListener>&,
const std::string&,
bool));
@@ -205,7 +206,7 @@ class SyncEngineTest : public testing::Test {
// Synchronously initializes the backend.
void InitializeBackend(bool expect_success) {
- EXPECT_CALL(mock_host_, OnEngineInitialized(_, _, _, expect_success))
+ EXPECT_CALL(mock_host_, OnEngineInitialized(_, _, _, _, expect_success))
.WillOnce(InvokeWithoutArgs(QuitMessageLoop));
SyncEngine::HttpPostProviderFactoryGetter
http_post_provider_factory_getter =
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_impl.cc ('k') | components/sync/driver/shared_change_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698