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

Unified Diff: components/sync/model/model_type_change_processor.cc

Issue 2412193002: [Sync] Move SharedModelTypeProcessor to model_impl/. (Closed)
Patch Set: Address comment from Sky. Created 4 years, 2 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/model/model_type_change_processor.h ('k') | components/sync/model/model_type_debug_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/model/model_type_change_processor.cc
diff --git a/components/sync/model/model_type_change_processor.cc b/components/sync/model/model_type_change_processor.cc
index f05733c31ad41711ecb1e160601e04fa6dc19276..3eb978aaa255a8cf8c9fbf582b109f45064208cd 100644
--- a/components/sync/model/model_type_change_processor.cc
+++ b/components/sync/model/model_type_change_processor.cc
@@ -4,10 +4,19 @@
#include "components/sync/model/model_type_change_processor.h"
+#include "base/memory/ptr_util.h"
+#include "components/sync/model_impl/shared_model_type_processor.h"
+
namespace syncer {
-ModelTypeChangeProcessor::ModelTypeChangeProcessor() {}
+// static
+std::unique_ptr<ModelTypeChangeProcessor> ModelTypeChangeProcessor::Create(
+ ModelType type,
+ ModelTypeService* service) {
+ return base::MakeUnique<SharedModelTypeProcessor>(type, service);
+}
+ModelTypeChangeProcessor::ModelTypeChangeProcessor() {}
ModelTypeChangeProcessor::~ModelTypeChangeProcessor() {}
} // namespace syncer
« no previous file with comments | « components/sync/model/model_type_change_processor.h ('k') | components/sync/model/model_type_debug_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698