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

Unified Diff: sync/api/model_type_store.cc

Issue 2018623002: [USS] Store supports hosting multiple datatypes per database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « sync/api/model_type_store.h ('k') | sync/internal_api/model_type_store_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/model_type_store.cc
diff --git a/sync/api/model_type_store.cc b/sync/api/model_type_store.cc
index 17afffcf9f45469a463fe6949aed27fda1a0f943..6e1c4668b8e78cbe6f67d9369950526c76b6cb4a 100644
--- a/sync/api/model_type_store.cc
+++ b/sync/api/model_type_store.cc
@@ -15,10 +15,11 @@ void ModelTypeStore::CreateInMemoryStoreForTest(const InitCallback& callback) {
// static
void ModelTypeStore::CreateStore(
+ const syncer::ModelType type,
const std::string& path,
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner,
const InitCallback& callback) {
- ModelTypeStoreImpl::CreateStore(path, blocking_task_runner, callback);
+ ModelTypeStoreImpl::CreateStore(type, path, blocking_task_runner, callback);
}
ModelTypeStore::~ModelTypeStore() {}
« no previous file with comments | « sync/api/model_type_store.h ('k') | sync/internal_api/model_type_store_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698