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

Unified Diff: sync/syncable/model_type.cc

Issue 2077713002: [USS] Store supports hosting multiple datatypes per database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove includes Created 4 years, 5 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 1dba315e6f18526ba52178c2ef6daed5c9c55a89..caf7b81729539cabbc7eb6ae03b01f4cccadea69 100644
--- a/sync/syncable/model_type.cc
+++ b/sync/syncable/model_type.cc
@@ -693,6 +693,10 @@ std::string ModelTypeToRootTag(ModelType type) {
return "INVALID";
}
+const char* GetModelTypeRootTag(ModelType model_type) {
+ return kModelTypeInfoMap[model_type].root_tag;
+}
+
bool RealModelTypeToNotificationType(ModelType model_type,
std::string* notification_type) {
if (ProtocolTypes().Has(model_type)) {
@@ -749,8 +753,4 @@ 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