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

Unified Diff: sync/internal_api/public/test/fake_model_type_service.h

Issue 1763953002: [USS] Change the place where SharedModelTypeProcessor got created (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: sync/internal_api/public/test/fake_model_type_service.h
diff --git a/sync/internal_api/public/test/fake_model_type_service.h b/sync/internal_api/public/test/fake_model_type_service.h
index 966680a9a796ad36bd90c55b41f0fb03d0330c18..571ae7be4cd50ff68e77de389d84c38f78461b29 100644
--- a/sync/internal_api/public/test/fake_model_type_service.h
+++ b/sync/internal_api/public/test/fake_model_type_service.h
@@ -42,6 +42,15 @@ class FakeModelTypeService
std::string GetClientTag(const EntityData& entity_data) override;
void OnChangeProcessorSet() override;
+
+ syncer::ModelType type() const override;
+
+ ModelTypeChangeProcessor* CreateProcessorForTest();
maxbogue 2016/03/22 21:40:12 This should be protected.
Gang Wu 2016/03/24 15:56:26 Done.
+
+ // The function will create SharedModelTypeProcessor.
+ static scoped_ptr<ModelTypeChangeProcessor> CreateSharedModelTypeProcessor(
+ syncer::ModelType type,
+ ModelTypeService* service);
};
} // namespace syncer_v2

Powered by Google App Engine
This is Rietveld 408576698