Index: sync/syncable/model_neutral_mutable_entry.h |
diff --git a/sync/syncable/model_neutral_mutable_entry.h b/sync/syncable/model_neutral_mutable_entry.h |
index c1326b2cac414f1daf0993dfc4a91184566ad00c..2a9a6988d3a2f8e94838bd35a7f3205025bb8c90 100644 |
--- a/sync/syncable/model_neutral_mutable_entry.h |
+++ b/sync/syncable/model_neutral_mutable_entry.h |
@@ -20,6 +20,8 @@ enum CreateNewUpdateItem { |
CREATE_NEW_UPDATE_ITEM |
}; |
+enum CreateNewTypeRoot { CREATE_NEW_TYPE_ROOT }; |
+ |
// This Entry includes all the operations one can safely perform on the sync |
// thread. In particular, it does not expose setters to make changes that need |
// to be communicated to the model (and the model's thread). It is not possible |
@@ -30,6 +32,9 @@ class SYNC_EXPORT_PRIVATE ModelNeutralMutableEntry : public Entry { |
ModelNeutralMutableEntry(BaseWriteTransaction* trans, |
CreateNewUpdateItem, |
const Id& id); |
+ ModelNeutralMutableEntry(BaseWriteTransaction* trans, |
+ CreateNewTypeRoot, |
+ ModelType type); |
ModelNeutralMutableEntry(BaseWriteTransaction* trans, GetByHandle, int64); |
ModelNeutralMutableEntry(BaseWriteTransaction* trans, GetById, const Id&); |
ModelNeutralMutableEntry( |