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 8bca7ca7a986b6f5016b17c32cef87fd7dce3116..e86814ca15de2e6f20503af35754c7d0106cd982 100644 |
--- a/sync/internal_api/public/base/model_type.h |
+++ b/sync/internal_api/public/base/model_type.h |
@@ -324,6 +324,10 @@ SYNC_EXPORT bool IsProxyType(ModelType model_type); |
// TODO(haitaol): Make entries of act-once data types immutable. |
SYNC_EXPORT bool IsActOnceDataType(ModelType model_type); |
+// Returns true if |model_type| requires its root folder to be explicitly |
+// created on the server during initial sync. |
+SYNC_EXPORT bool IsTypeWithServerGeneratedRoot(ModelType model_type); |
+ |
// Returns set of model types that should be backed up before first sync. |
SYNC_EXPORT ModelTypeSet BackupTypes(); |