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

Unified Diff: components/sync/driver/non_blocking_data_type_controller_unittest.cc

Issue 2306523003: [Sync] Split fake ModelTypeService impl out of SMTP tests. (Closed)
Patch Set: Rebase + fix typo in comment. Created 4 years, 3 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/sync/driver/non_blocking_data_type_controller_unittest.cc
diff --git a/components/sync/driver/non_blocking_data_type_controller_unittest.cc b/components/sync/driver/non_blocking_data_type_controller_unittest.cc
index 9e651c2888d8a7ab1d619c3dab69a0a0cdee1ada..3ad191fb46c90eda30a54ac3153d2cf77db3641b 100644
--- a/components/sync/driver/non_blocking_data_type_controller_unittest.cc
+++ b/components/sync/driver/non_blocking_data_type_controller_unittest.cc
@@ -14,7 +14,7 @@
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "components/sync/api/fake_model_type_change_processor.h"
-#include "components/sync/api/fake_model_type_service.h"
+#include "components/sync/api/stub_model_type_service.h"
#include "components/sync/base/model_type.h"
#include "components/sync/driver/fake_sync_client.h"
#include "components/sync/driver/sync_prefs.h"
@@ -132,7 +132,7 @@ class NonBlockingDataTypeControllerTest : public testing::Test {
sync_driver::FakeSyncClient sync_client_;
sync_driver::SyncPrefs sync_prefs_;
MockModelTypeChangeProcessor* processor_;
- syncer_v2::FakeModelTypeService model_type_service_;
+ syncer_v2::StubModelTypeService model_type_service_;
scoped_refptr<TestDataTypeController> controller_;
};

Powered by Google App Engine
This is Rietveld 408576698