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

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

Issue 2551023006: [Sync] SyncEngine 1.5: Fix all backend references in PSS. (Closed)
Patch Set: Fix Android. 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
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_impl.cc ('k') | components/sync/driver/sync_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9572893d379383008ef828099aad85d0123df982..f615bb0464618973580ddd91a7f14d1bdc043272 100644
--- a/components/sync/driver/glue/sync_backend_host_impl_unittest.cc
+++ b/components/sync/driver/glue/sync_backend_host_impl_unittest.cc
@@ -75,7 +75,7 @@ class MockSyncEngineHost : public SyncEngineHost {
public:
virtual ~MockSyncEngineHost() {}
- MOCK_METHOD4(OnBackendInitialized,
+ MOCK_METHOD4(OnEngineInitialized,
void(const WeakHandle<JsBackend>&,
const WeakHandle<DataTypeDebugInfoListener>&,
const std::string&,
@@ -205,7 +205,7 @@ class SyncEngineTest : public testing::Test {
// Synchronously initializes the backend.
void InitializeBackend(bool expect_success) {
- EXPECT_CALL(mock_host_, OnBackendInitialized(_, _, _, 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/sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698