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

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

Issue 2856933005: [Sync] Create UserEventSyncBridge. (Closed)
Patch Set: Removing autocomplete_sync_bridge_unittest.cc from cl. Created 3 years, 7 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/model/model_type_store_test_util.cc
diff --git a/components/sync/model/model_type_store_test_util.cc b/components/sync/model/model_type_store_test_util.cc
index 6fecb60d0b049a77b15fbbcc3d18c4fe89c71568..07b2ac06391ceadf69acd23366f65f9a40e63c13 100644
--- a/components/sync/model/model_type_store_test_util.cc
+++ b/components/sync/model/model_type_store_test_util.cc
@@ -41,6 +41,12 @@ ModelTypeStoreTestUtil::CreateInMemoryStoreForTest() {
}
// static
+ModelTypeStoreFactory ModelTypeStoreTestUtil::FactoryForInMemoryStoreForTest() {
+ return base::Bind(&ModelTypeStoreTestUtil::MoveStoreToCallback,
+ base::Passed(CreateInMemoryStoreForTest()));
+}
+
+// static
void ModelTypeStoreTestUtil::MoveStoreToCallback(
std::unique_ptr<ModelTypeStore> store,
const ModelTypeStore::InitCallback& callback) {
« no previous file with comments | « components/sync/model/model_type_store_test_util.h ('k') | components/sync/model/recording_model_type_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698