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

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

Issue 1226213002: Sync: Support nodes with implicit permanent folders: Node Browser and out-of-order loading from DB (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed comments Created 5 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
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 b07f80de6fa0261c2d1e337ac7a265085ede9bbb..718100f24c2852cd342bd43991433e1292bf7c98 100644
--- a/sync/internal_api/public/base/model_type.h
+++ b/sync/internal_api/public/base/model_type.h
@@ -339,6 +339,12 @@ SYNC_EXPORT bool IsTypeWithServerGeneratedRoot(ModelType model_type);
// that type is initially synced.
SYNC_EXPORT bool IsTypeWithClientGeneratedRoot(ModelType model_type);
+// Returns true if |model_type| supports parent-child hierarchy or entries.
+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 set of model types that should be backed up before first sync.
SYNC_EXPORT ModelTypeSet BackupTypes();
« no previous file with comments | « chrome/browser/ui/webui/sync_internals_browsertest.js ('k') | sync/internal_api/sync_manager_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698