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

Unified Diff: sync/internal_api/public/base/model_type.h

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/model_type_store_impl.cc ('k') | sync/internal_api/public/model_type_store_backend.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/base/model_type.h
diff --git a/sync/internal_api/public/base/model_type.h b/sync/internal_api/public/base/model_type.h
index 2ad2de14cc1f280d9371d8cf1b8ccd3f6e5ee0f9..4408e41d94142c1bbdd0605ac9db2aa37acdfade 100644
--- a/sync/internal_api/public/base/model_type.h
+++ b/sync/internal_api/public/base/model_type.h
@@ -313,6 +313,11 @@ SYNC_EXPORT ModelTypeSet ModelTypeSetFromValue(const base::ListValue& value);
// Returns a string corresponding to the syncable tag for this datatype.
SYNC_EXPORT std::string ModelTypeToRootTag(ModelType type);
+// Returns root_tag for |model_type| in ModelTypeInfo.
+// Difference with ModelTypeToRootTag(), this just simply return toor_tag in
+// ModelTypeInfo.
+SYNC_EXPORT const char* GetModelTypeRootTag(ModelType model_type);
+
// Convert a real model type to a notification type (used for
// subscribing to server-issued notifications). Returns true iff
// |model_type| was a real model type and |notification_type| was
@@ -354,11 +359,6 @@ SYNC_EXPORT bool TypeSupportsHierarchy(ModelType model_type);
// Returns true if |model_type| supports ordering of sibling entries.
SYNC_EXPORT bool TypeSupportsOrdering(ModelType model_type);
-// Returns root_tag for |model_type| in ModelTypeInfo.
-// Difference with ModelTypeToRootTag(), this just simply return toor_tag in
-// ModelTypeInfo.
-SYNC_EXPORT const char* ModelTypeToTag(ModelType model_type);
-
} // namespace syncer
#endif // SYNC_INTERNAL_API_PUBLIC_BASE_MODEL_TYPE_H_
« no previous file with comments | « sync/internal_api/model_type_store_impl.cc ('k') | sync/internal_api/public/model_type_store_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698