Home | History | Annotate | Download | only in syncable

Lines Matching refs:trans

22 void MutableEntry::Init(WriteTransaction* trans,
29 kernel->put(ID, trans->directory_->NextId());
30 kernel->put(META_HANDLE, trans->directory_->NextMetahandle());
31 kernel->mark_dirty(&trans->directory_->kernel_->dirty_metahandles);
50 trans->TrackChangesTo(kernel.get());
57 MutableEntry::MutableEntry(WriteTransaction* trans,
62 : ModelNeutralMutableEntry(trans), write_transaction_(trans) {
63 Init(trans, model_type, parent_id, name);
68 trans->directory()->cache_guid(), GetId().GetServerId());
75 bool result = trans->directory()->InsertEntry(trans, kernel_);
79 MutableEntry::MutableEntry(WriteTransaction* trans, CreateNewUpdateItem,
81 : ModelNeutralMutableEntry(trans, CREATE_NEW_UPDATE_ITEM, id),
82 write_transaction_(trans) {}
84 MutableEntry::MutableEntry(WriteTransaction* trans, GetById, const Id& id)
85 : ModelNeutralMutableEntry(trans, GET_BY_ID, id),
86 write_transaction_(trans) {
89 MutableEntry::MutableEntry(WriteTransaction* trans, GetByHandle,
91 : ModelNeutralMutableEntry(trans, GET_BY_HANDLE, metahandle),
92 write_transaction_(trans) {
95 MutableEntry::MutableEntry(WriteTransaction* trans, GetByClientTag,
97 : ModelNeutralMutableEntry(trans, GET_BY_CLIENT_TAG, tag),
98 write_transaction_(trans) {
101 MutableEntry::MutableEntry(WriteTransaction* trans, GetByServerTag,
103 : ModelNeutralMutableEntry(trans, GET_BY_SERVER_TAG, tag),
104 write_transaction_(trans) {