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

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

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 | « no previous file | components/sync/model/model_type_store.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.h
diff --git a/components/sync/model/model_type_store.h b/components/sync/model/model_type_store.h
index 3352225808b95af1020e42ecfdeafc1fd551e72a..e2e2203e4d03e293b825e14dea13bbd542f1916b 100644
--- a/components/sync/model/model_type_store.h
+++ b/components/sync/model/model_type_store.h
@@ -104,13 +104,14 @@ class ModelTypeStore {
//
// In test get task runner from MessageLoop::task_runner().
static void CreateStore(
- const ModelType type,
+ ModelType type,
const std::string& path,
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner,
const InitCallback& callback);
// Creates store object backed by in-memory leveldb database. It is used in
// tests.
- static void CreateInMemoryStoreForTest(const InitCallback& callback);
+ static void CreateInMemoryStoreForTest(ModelType type,
+ const InitCallback& callback);
virtual ~ModelTypeStore();
« no previous file with comments | « no previous file | components/sync/model/model_type_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698