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

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

Issue 2468183005: [Sync] Prepend global metadata key with model type prefix (Closed)
Patch Set: Addressed comments. Created 4 years, 1 month 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_store.h ('k') | components/sync/model/model_type_store_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/model/model_type_store.cc
diff --git a/components/sync/model/model_type_store.cc b/components/sync/model/model_type_store.cc
index ba9969ee44c546e8818adc23a77e5f0ee7c428ef..b9b09334fcf07407c786145f932f8737f84ec3cf 100644
--- a/components/sync/model/model_type_store.cc
+++ b/components/sync/model/model_type_store.cc
@@ -9,13 +9,14 @@
namespace syncer {
// static
-void ModelTypeStore::CreateInMemoryStoreForTest(const InitCallback& callback) {
- ModelTypeStoreImpl::CreateInMemoryStoreForTest(callback);
+void ModelTypeStore::CreateInMemoryStoreForTest(ModelType type,
+ const InitCallback& callback) {
+ ModelTypeStoreImpl::CreateInMemoryStoreForTest(type, callback);
}
// static
void ModelTypeStore::CreateStore(
- const ModelType type,
+ ModelType type,
const std::string& path,
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner,
const InitCallback& callback) {
« no previous file with comments | « components/sync/model/model_type_store.h ('k') | components/sync/model/model_type_store_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698