Home
last modified time | relevance | path

Searched refs:MutableEntry (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/sync/syncable/
Dmutable_entry.cc22 void MutableEntry::Init(WriteTransaction* trans, in Init()
57 MutableEntry::MutableEntry(WriteTransaction* trans, in MutableEntry() function in syncer::syncable::MutableEntry
79 MutableEntry::MutableEntry(WriteTransaction* trans, CreateNewUpdateItem, in MutableEntry() function in syncer::syncable::MutableEntry
84 MutableEntry::MutableEntry(WriteTransaction* trans, GetById, const Id& id) in MutableEntry() function in syncer::syncable::MutableEntry
89 MutableEntry::MutableEntry(WriteTransaction* trans, GetByHandle, in MutableEntry() function in syncer::syncable::MutableEntry
95 MutableEntry::MutableEntry(WriteTransaction* trans, GetByClientTag, in MutableEntry() function in syncer::syncable::MutableEntry
101 MutableEntry::MutableEntry(WriteTransaction* trans, GetTypeRoot, ModelType type) in MutableEntry() function in syncer::syncable::MutableEntry
106 void MutableEntry::PutLocalExternalId(int64 value) { in PutLocalExternalId()
116 void MutableEntry::PutMtime(base::Time value) { in PutMtime()
125 void MutableEntry::PutCtime(base::Time value) { in PutCtime()
[all …]
Dmutable_entry.h27 class SYNC_EXPORT_PRIVATE MutableEntry : public ModelNeutralMutableEntry {
32 MutableEntry(WriteTransaction* trans, CreateNewUpdateItem, const Id& id);
33 MutableEntry(WriteTransaction* trans, Create, ModelType model_type,
35 MutableEntry(WriteTransaction* trans, GetByHandle, int64);
36 MutableEntry(WriteTransaction* trans, GetById, const Id&);
37 MutableEntry(WriteTransaction* trans, GetByClientTag, const std::string& tag);
38 MutableEntry(WriteTransaction* trans, GetTypeRoot, ModelType type);
76 DISALLOW_COPY_AND_ASSIGN(MutableEntry);
80 bool MarkForSyncing(syncable::MutableEntry* e);
Ddirectory_unittest.cc30 MutableEntry* e, in PutDataAsBookmarkFavicon()
118 MutableEntry me(&wtrans, CREATE, model_type, wtrans.root_id(), entryname); in CreateEntryWithAttachmentMetadata()
127 MutableEntry entry(&trans, GET_BY_ID, id); in DeleteEntry()
239 MutableEntry e(&trans, CREATE, BOOKMARKS, trans.root_id(), "foo"); in TEST_F()
280 MutableEntry e(&trans, CREATE, BOOKMARKS, trans.root_id(), "foo"); in TEST_F()
309 MutableEntry e1(&trans, GET_BY_HANDLE, *i); in TEST_F()
313 MutableEntry e2(&trans, CREATE, BOOKMARKS, trans.root_id(), "bar"); in TEST_F()
347 MutableEntry e(&trans, CREATE, BOOKMARKS, trans.root_id(), "foo"); in TEST_F()
362 MutableEntry e1(&trans, GET_BY_HANDLE, *i); in TEST_F()
367 MutableEntry e2(&trans, CREATE, BOOKMARKS, trans.root_id(), "bar"); in TEST_F()
[all …]
Dsyncable_unittest.cc232 MutableEntry item1(&trans, CREATE, BOOKMARKS, trans.root_id(), "Item"); in TEST_F()
237 MutableEntry item2(&trans, CREATE_NEW_UPDATE_ITEM, in TEST_F()
243 MutableEntry item3(&trans, CREATE, PREFERENCES, in TEST_F()
250 MutableEntry item4(&trans, CREATE_NEW_UPDATE_ITEM, in TEST_F()
256 MutableEntry item5(&trans, CREATE, AUTOFILL, in TEST_F()
263 MutableEntry item6(&trans, CREATE_NEW_UPDATE_ITEM, in TEST_F()
332 MutableEntry create( in TEST_F()
334 MutableEntry update(&trans, CREATE_NEW_UPDATE_ITEM, update_id); in TEST_F()
436 MutableEntry e1(&trans, CREATE, BOOKMARKS, trans.root_id(), "aguilera"); in TEST_F()
453 MutableEntry aguilera(&trans, GET_BY_HANDLE, handle1); in TEST_F()
[all …]
Dnigori_util.h28 class MutableEntry; variable
69 MutableEntry* entry);
Dsyncable_write_transaction.h40 friend class MutableEntry;
Dnigori_util.cc39 MutableEntry entry(trans, GET_BY_HANDLE, handles[i]); in ProcessUnsyncedChangesForEncryption()
151 syncable::MutableEntry* entry) { in UpdateEntryWithEncryption()
/external/chromium_org/sync/engine/
Dconflict_util.h13 class MutableEntry; variable
20 void IgnoreLocalChanges(syncable::MutableEntry* entry);
25 void OverwriteServerChanges(syncable::MutableEntry* entry);
29 void IgnoreConflict(syncable::MutableEntry *trans);
Dconflict_util.cc16 using syncable::MutableEntry;
22 void IgnoreLocalChanges(MutableEntry* entry) { in IgnoreLocalChanges()
31 void OverwriteServerChanges(MutableEntry* entry) { in OverwriteServerChanges()
39 void IgnoreConflict(MutableEntry* entry) { in IgnoreConflict()
Dapply_control_data_updates.h16 class MutableEntry; variable
22 syncable::MutableEntry* const entry,
25 syncable::MutableEntry* const entry,
Dsyncer_unittest.cc82 using syncable::MutableEntry;
343 void WriteTestDataToEntry(WriteTransaction* trans, MutableEntry* entry) { in WriteTestDataToEntry()
436 MutableEntry entry(&trans, CREATE, BOOKMARKS, test->parent_id, name); in RunCommitOrderingTest()
521 MutableEntry entry( in CreateUnsyncedDirectory()
639 MutableEntry A(&wtrans, GET_BY_ID, ids_.FromNumber(1)); in TEST_F()
730 MutableEntry A(&wtrans, GET_BY_ID, ids_.FromNumber(1)); in TEST_F()
736 MutableEntry B(&wtrans, GET_BY_ID, ids_.FromNumber(2)); in TEST_F()
742 MutableEntry C(&wtrans, GET_BY_ID, ids_.FromNumber(3)); in TEST_F()
747 MutableEntry D(&wtrans, GET_BY_ID, ids_.FromNumber(4)); in TEST_F()
785 MutableEntry C(&wtrans, GET_BY_ID, ids_.FromNumber(3)); in TEST_F()
[all …]
Dapply_control_data_updates.cc42 syncable::MutableEntry entry(&trans, syncable::GET_TYPE_ROOT, iter.Get()); in ApplyControlDataUpdates()
65 syncable::MutableEntry entry(&trans, syncable::GET_BY_HANDLE, *iter); in ApplyControlDataUpdates()
93 syncable::MutableEntry* const entry, in ApplyNigoriUpdate()
201 syncable::MutableEntry* const entry, in ApplyControlUpdate()
Dsyncer_util.h51 syncable::MutableEntry* const entry,
84 syncable::MutableEntry* entry);
Dconflict_resolver.cc30 using syncable::MutableEntry;
37 bool AttachmentMetadataMatches(const MutableEntry& entity) { in AttachmentMetadataMatches()
77 MutableEntry entry(trans, syncable::GET_BY_ID, id); in ProcessSimpleConflict()
Ddirectory_commit_contribution_unittest.cc44 syncable::MutableEntry entry( in CreateUnsyncedItemWithAttachments()
68 syncable::MutableEntry entry( in CreateSyncedItem()
223 syncable::MutableEntry e1(&trans, syncable::GET_BY_HANDLE, pref1); in TEST_F()
252 syncable::MutableEntry e1(&trans, syncable::GET_BY_HANDLE, bm1); in TEST_F()
299 syncable::MutableEntry e(&trans, syncable::GET_BY_HANDLE, bm1); in TEST_F()
334 syncable::MutableEntry e(&trans, syncable::GET_BY_HANDLE, pref1); in TEST_F()
Dsyncer_util_unittest.cc171 syncable::MutableEntry target(&trans, syncable::GET_BY_HANDLE, handle); in TEST_F()
194 syncable::MutableEntry target(&trans, syncable::GET_BY_HANDLE, handle); in TEST_F()
Dupdate_applicator.cc57 syncable::MutableEntry entry(trans, syncable::GET_BY_HANDLE, *i); in AttemptApplications()
/external/chromium_org/sync/internal_api/test/
Dtest_entry_factory.cc21 using syncable::MutableEntry;
36 MutableEntry entry(&trans, syncable::CREATE_NEW_UPDATE_ITEM, in CreateUnappliedNewItemWithParent()
54 MutableEntry entry(&trans, syncable::CREATE_NEW_UPDATE_ITEM, in CreateUnappliedNewBookmarkItemWithParent()
73 MutableEntry entry(&trans, syncable::CREATE_NEW_UPDATE_ITEM, in CreateUnappliedNewItem()
102 MutableEntry entry(&trans, syncable::CREATE, model_type, parent_id, name); in CreateUnsyncedItem()
133 MutableEntry entry(&trans, syncable::GET_BY_HANDLE, metahandle); in CreateUnappliedAndUnsyncedBookmarkItem()
153 MutableEntry entry(&trans, syncable::CREATE, model_type, parent_id, name); in CreateSyncedItem()
184 syncable::MutableEntry entry(&trans, syncable::CREATE_NEW_UPDATE_ITEM, in CreateUnappliedRootNode()
204 MutableEntry entry(&trans, syncable::GET_BY_HANDLE, meta_handle); in SetServerSpecificsForItem()
217 MutableEntry entry(&trans, syncable::GET_BY_HANDLE, meta_handle); in SetLocalSpecificsForItem()
[all …]
/external/chromium_org/sync/internal_api/
Dwrite_node.cc283 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitByIdLookup()
304 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitByClientTagLookup()
317 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitTypeRoot()
345 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitBookmarkByCreation()
385 scoped_ptr<syncable::MutableEntry> existing_entry( in InitUniqueByCreation()
386 new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitUniqueByCreation()
430 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitUniqueByCreation()
489 syncable::MutableEntry* WriteNode::GetMutableEntryForTest() { in GetMutableEntryForTest()
Dsync_manager_impl_unittest.cc152 syncable::MutableEntry entry(&trans, syncable::CREATE_NEW_UPDATE_ITEM, in MakeServerNodeForType()
180 syncable::MutableEntry entry(&trans, syncable::CREATE_NEW_UPDATE_ITEM, in MakeServerNode()
946 syncable::MutableEntry entry(&trans, syncable::GET_BY_CLIENT_TAG, in ResetUnsyncedEntry()
1640 syncable::MutableEntry* node_entry = node.entry_; in TEST_F()
1651 syncable::MutableEntry* node_entry2 = node2.entry_; in TEST_F()
2715 syncable::MutableEntry pref3(&trans, GET_BY_HANDLE, pref3_meta); in TEST_F()
2719 syncable::MutableEntry pref4(&trans, GET_BY_HANDLE, pref4_meta); in TEST_F()
2724 syncable::MutableEntry pref5(&trans, GET_BY_HANDLE, pref5_meta); in TEST_F()
2837 void SetNodeProperties(syncable::MutableEntry *entry) { in SetNodeProperties()
2886 syncable::MutableEntry folder(&trans, syncable::CREATE, in TEST_F()
[all …]
Dsync_rollback_manager.cc59 syncable::MutableEntry e(trans.GetWrappedWriteTrans(), in StartSyncingNormally()
96 syncable::MutableEntry e(trans.GetWrappedWriteTrans(), in DeleteOnWorkerThread()
Dsync_backup_manager.cc80 syncable::MutableEntry entry(trans.GetWrappedWriteTrans(), in NormalizeEntries()
105 syncable::MutableEntry entry(trans.GetWrappedWriteTrans(), in HideSyncPreference()
Dwrite_transaction.cc92 syncable::MutableEntry entry(transaction_, syncable::GET_BY_HANDLE, *iter); in UpdateEntriesMarkAttachmentAsOnServer()
Dsync_rollback_manager_base.cc269 syncable::MutableEntry entry(trans.GetWrappedWriteTrans(), in InitTypeRootNode()
298 syncable::MutableEntry entry(trans.GetWrappedWriteTrans(), in InitBookmarkFolder()
/external/chromium_org/sync/internal_api/public/
Dwrite_node.h38 class MutableEntry; variable
185 syncable::MutableEntry* GetMutableEntryForTest();
200 syncable::MutableEntry* entry_;

12