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

Unified Diff: components/sync/api/model_type_service_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
« no previous file with comments | « components/sync/api/fake_model_type_service.cc ('k') | components/sync/api/stub_model_type_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/api/model_type_service_unittest.cc
diff --git a/components/sync/api/model_type_service_unittest.cc b/components/sync/api/model_type_service_unittest.cc
index 481c82d2c793b695d994b30cc82e4abb2b993400..7a906411bc84473d5905719ad0e90ac41bfb9858 100644
--- a/components/sync/api/model_type_service_unittest.cc
+++ b/components/sync/api/model_type_service_unittest.cc
@@ -7,7 +7,7 @@
#include "base/bind.h"
#include "base/memory/ptr_util.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/core/test/data_type_error_handler_mock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -26,10 +26,10 @@ class MockModelTypeChangeProcessor : public FakeModelTypeChangeProcessor {
base::Closure disabled_callback_;
};
-class MockModelTypeService : public FakeModelTypeService {
+class MockModelTypeService : public StubModelTypeService {
public:
MockModelTypeService()
- : FakeModelTypeService(base::Bind(&MockModelTypeService::CreateProcessor,
+ : StubModelTypeService(base::Bind(&MockModelTypeService::CreateProcessor,
base::Unretained(this))) {}
~MockModelTypeService() override {}
« no previous file with comments | « components/sync/api/fake_model_type_service.cc ('k') | components/sync/api/stub_model_type_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698