summaryrefslogtreecommitdiffstats
path: root/sync/syncable/model_neutral_mutable_entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'sync/syncable/model_neutral_mutable_entry.h')
-rw-r--r--sync/syncable/model_neutral_mutable_entry.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sync/syncable/model_neutral_mutable_entry.h b/sync/syncable/model_neutral_mutable_entry.h
index c9f6c8b..e2292e7 100644
--- a/sync/syncable/model_neutral_mutable_entry.h
+++ b/sync/syncable/model_neutral_mutable_entry.h
@@ -16,6 +16,10 @@ namespace syncable {
class BaseWriteTransaction;
+enum CreateNewUpdateItem {
+ CREATE_NEW_UPDATE_ITEM
+};
+
// 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
@@ -23,6 +27,9 @@ class BaseWriteTransaction;
// entry.
class SYNC_EXPORT_PRIVATE ModelNeutralMutableEntry : public Entry {
public:
+ ModelNeutralMutableEntry(BaseWriteTransaction* trans,
+ CreateNewUpdateItem,
+ const Id& id);
ModelNeutralMutableEntry(BaseWriteTransaction* trans, GetByHandle, int64);
ModelNeutralMutableEntry(BaseWriteTransaction* trans, GetById, const Id&);
ModelNeutralMutableEntry(