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

Unified Diff: sync/syncable/model_type.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/internal_api/public/model_type_store_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/model_type.cc
diff --git a/sync/syncable/model_type.cc b/sync/syncable/model_type.cc
index af2d4901f1e59710f5504aa652c8c071f57d4fee..1dba315e6f18526ba52178c2ef6daed5c9c55a89 100644
--- a/sync/syncable/model_type.cc
+++ b/sync/syncable/model_type.cc
@@ -749,4 +749,8 @@ bool TypeSupportsOrdering(ModelType model_type) {
return model_type == BOOKMARKS;
}
+const char* ModelTypeToTag(ModelType model_type) {
+ return kModelTypeInfoMap[model_type].root_tag;
+}
+
} // namespace syncer
« no previous file with comments | « sync/internal_api/public/model_type_store_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698