Home
last modified time | relevance | path

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

123

/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, GetByServerTag, in MutableEntry() function in syncer::syncable::MutableEntry
107 void MutableEntry::PutLocalExternalId(int64 value) { in PutLocalExternalId()
117 void MutableEntry::PutMtime(base::Time value) { in PutMtime()
126 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, GetByServerTag, const std::string& tag);
68 DISALLOW_COPY_AND_ASSIGN(MutableEntry);
72 bool MarkForSyncing(syncable::MutableEntry* e);
Dsyncable_unittest.cc67 MutableEntry* e, in PutDataAsBookmarkFavicon()
148 MutableEntry me(&wtrans, CREATE, BOOKMARKS, wtrans.root_id(), name); in TEST_F()
184 MutableEntry e(&trans, GET_BY_HANDLE, written_metahandle); in TEST_F()
192 MutableEntry e(&trans, GET_BY_HANDLE, written_metahandle); in TEST_F()
206 MutableEntry e(&trans, GET_BY_HANDLE, written_metahandle); in TEST_F()
240 MutableEntry me(&wtrans, CREATE, BOOKMARKS, wtrans.root_id(), name); in TEST_F()
264 MutableEntry me(&wtrans, GET_BY_HANDLE, written_metahandle); in TEST_F()
302 MutableEntry me(&wtrans, CREATE, BOOKMARKS, wtrans.root_id(), name); in TEST_F()
348 MutableEntry me(&wtrans, CREATE, BOOKMARKS, wtrans.root_id(), "deleted"); in TEST_F()
403 MutableEntry me(&wtrans, CREATE, BOOKMARKS, wtrans.root_id(), "new"); in TEST_F()
[all …]
Dnigori_util.h28 class MutableEntry; variable
69 MutableEntry* entry);
/external/chromium/chrome/browser/sync/engine/
Dsyncer_util.h31 syncable::MutableEntry* entry,
40 syncable::MutableEntry* entry,
58 syncable::MutableEntry* const entry,
64 syncable::MutableEntry* local_entry,
76 syncable::MutableEntry* entry);
81 syncable::MutableEntry* entry);
93 syncable::MutableEntry* target,
102 syncable::MutableEntry* target);
Dprocess_commit_response_command.h19 class MutableEntry; variable
49 const syncable::Id& pre_commit_id, syncable::MutableEntry* local_entry,
58 syncable::MutableEntry* local_entry);
65 syncable::MutableEntry* local_entry);
72 syncable::MutableEntry* local_entry);
83 syncable::MutableEntry* local_entry);
Dsyncer_unittest.cc57 using syncable::MutableEntry;
213 void WriteTestDataToEntry(WriteTransaction* trans, MutableEntry* entry) { in WriteTestDataToEntry()
292 MutableEntry entry(&trans, CREATE, test->parent_id, name); in RunCommitOrderingTest()
390 MutableEntry entry(&wtrans, syncable::CREATE, wtrans.root_id(), in CreateUnsyncedDirectory()
509 MutableEntry entry_x(&wtrans, GET_BY_HANDLE, handle_x); in TEST_F()
510 MutableEntry entry_b(&wtrans, GET_BY_HANDLE, handle_b); in TEST_F()
511 MutableEntry entry_c(&wtrans, GET_BY_HANDLE, handle_c); in TEST_F()
512 MutableEntry entry_d(&wtrans, GET_BY_HANDLE, handle_d); in TEST_F()
513 MutableEntry entry_e(&wtrans, GET_BY_HANDLE, handle_e); in TEST_F()
590 MutableEntry parent(&wtrans, syncable::CREATE, wtrans.root_id(), in TEST_F()
[all …]
Dsyncer_util.cc43 using syncable::MutableEntry;
79 syncable::MutableEntry* entry, in ChangeEntryIDAndUpdateChildren()
95 MutableEntry child_entry(trans, GET_BY_HANDLE, *i++); in ChangeEntryIDAndUpdateChildren()
123 syncable::MutableEntry* entry, in ChangeEntryIDAndUpdateChildren()
246 syncable::MutableEntry* const entry, in AttemptToUpdateEntry()
362 MutableEntry* local_entry) { in UpdateBookmarkSpecifics()
381 MutableEntry* target, in UpdateServerFieldsFromUpdate()
456 syncable::MutableEntry entry(trans, syncable::GET_BY_ID, id); in CreateNewEntry()
458 syncable::MutableEntry new_entry(trans, syncable::CREATE_NEW_UPDATE_ITEM, in CreateNewEntry()
530 syncable::MutableEntry* entry) { in SplitServerInformationIntoNewEntry()
[all …]
Dconflict_resolver.h23 class MutableEntry; variable
63 void IgnoreLocalChanges(syncable::MutableEntry* entry);
65 syncable::MutableEntry* entry);
Dconflict_resolver.cc24 using syncable::MutableEntry;
41 void ConflictResolver::IgnoreLocalChanges(MutableEntry* entry) { in IgnoreLocalChanges()
52 MutableEntry * entry) { in OverwriteServerChanges()
66 MutableEntry entry(trans, syncable::GET_BY_ID, id); in ProcessSimpleConflict()
150 MutableEntry server_update(trans, syncable::GET_BY_ID, id); in ProcessSimpleConflict()
179 MutableEntry entryi(trans, syncable::GET_BY_ID, *i); in AttemptToFixCircularConflict()
221 MutableEntry parent(trans, syncable::GET_BY_ID, parentid); in AttemptToFixUnsyncedEntryInDeletedServerTree()
244 MutableEntry parent(trans, syncable::GET_BY_ID, id); in AttemptToFixUnsyncedEntryInDeletedServerTree()
267 MutableEntry parent(trans, syncable::GET_BY_ID, parent_id); in AttemptToFixUpdateEntryInDeletedLocalTree()
322 MutableEntry entry(trans, syncable::GET_BY_ID, id); in AttemptToFixUpdateEntryInDeletedLocalTree()
Dprocess_commit_response_command.cc21 using syncable::MutableEntry;
218 MutableEntry local_entry(trans, GET_BY_ID, pre_commit_id); in ProcessSingleCommitResponse()
297 syncable::MutableEntry* local_entry) { in UpdateVersionAfterCommit()
333 syncable::MutableEntry* local_entry) { in ChangeIdAfterCommit()
342 MutableEntry same_id(trans, GET_BY_ID, entry_response.id()); in ChangeIdAfterCommit()
359 syncable::MutableEntry* local_entry) { in UpdateServerFieldsAfterCommit()
410 syncable::MutableEntry* local_entry) { in OverrideClientFieldsAfterCommit()
448 const syncable::Id& pre_commit_id, syncable::MutableEntry* local_entry, in ProcessSuccessfulCommitResponse()
Dsyncer.h32 class MutableEntry; variable
161 void CopyServerFields(syncable::Entry* src, syncable::MutableEntry* dest);
162 void ClearServerData(syncable::MutableEntry* entry);
Dbuild_commit_command.cc24 using syncable::MutableEntry;
59 void SetEntrySpecifics(MutableEntry* meta_entry, SyncEntity* sync_entry) { in SetEntrySpecifics()
67 void SetOldStyleBookmarkData(MutableEntry* meta_entry, SyncEntity* sync_entry) { in SetOldStyleBookmarkData()
104 MutableEntry meta_entry(session->write_transaction(), in ExecuteImpl()
/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.cc79 using syncable::MutableEntry;
257 void WriteTestDataToEntry(WriteTransaction* trans, MutableEntry* entry) { in WriteTestDataToEntry()
350 MutableEntry entry(&trans, CREATE, BOOKMARKS, test->parent_id, name); in RunCommitOrderingTest()
427 MutableEntry entry( in CreateUnsyncedDirectory()
542 MutableEntry A(&wtrans, GET_BY_ID, ids_.FromNumber(1)); in TEST_F()
633 MutableEntry A(&wtrans, GET_BY_ID, ids_.FromNumber(1)); in TEST_F()
639 MutableEntry B(&wtrans, GET_BY_ID, ids_.FromNumber(2)); in TEST_F()
645 MutableEntry C(&wtrans, GET_BY_ID, ids_.FromNumber(3)); in TEST_F()
650 MutableEntry D(&wtrans, GET_BY_ID, ids_.FromNumber(4)); in TEST_F()
688 MutableEntry C(&wtrans, GET_BY_ID, ids_.FromNumber(3)); in TEST_F()
[all …]
Dapply_control_data_updates.cc42 syncable::MutableEntry entry(&trans, in ApplyControlDataUpdates()
67 syncable::MutableEntry entry(&trans, syncable::GET_BY_HANDLE, *iter); in ApplyControlDataUpdates()
95 syncable::MutableEntry* const entry, in ApplyNigoriUpdate()
203 syncable::MutableEntry* const entry, in ApplyControlUpdate()
Dsyncer_util.h50 syncable::MutableEntry* const entry,
81 syncable::MutableEntry* entry);
/external/chromium/chrome/browser/sync/syncable/
Dsyncable_unittest.cc66 MutableEntry* e, in PutDataAsBookmarkFavicon()
125 MutableEntry me(&wtrans, CREATE, wtrans.root_id(), name); in TEST_F()
153 MutableEntry e(&trans, GET_BY_HANDLE, written_metahandle); in TEST_F()
161 MutableEntry e(&trans, GET_BY_HANDLE, written_metahandle); in TEST_F()
175 MutableEntry e(&trans, GET_BY_HANDLE, written_metahandle); in TEST_F()
197 MutableEntry me(&wtrans, CREATE, wtrans.root_id(), name); in TEST_F()
233 MutableEntry me(&wtrans, CREATE, wtrans.root_id(), "deleted"); in TEST_F()
278 MutableEntry me(&wtrans, CREATE, wtrans.root_id(), "new"); in TEST_F()
398 MutableEntry me(&wtrans, CREATE, wtrans.root_id(), entryname); in CreateEntry()
420 MutableEntry e(&trans, CREATE, trans.root_id(), "foo"); in TEST_F()
[all …]
Dsyncable.cc1356 MutableEntry::MutableEntry(WriteTransaction* trans, Create, in MutableEntry() function in syncable::MutableEntry
1364 void MutableEntry::Init(WriteTransaction* trans, const Id& parent_id, in Init()
1385 MutableEntry::MutableEntry(WriteTransaction* trans, CreateNewUpdateItem, in MutableEntry() function in syncable::MutableEntry
1405 MutableEntry::MutableEntry(WriteTransaction* trans, GetById, const Id& id) in MutableEntry() function in syncable::MutableEntry
1410 MutableEntry::MutableEntry(WriteTransaction* trans, GetByHandle, in MutableEntry() function in syncable::MutableEntry
1416 MutableEntry::MutableEntry(WriteTransaction* trans, GetByClientTag, in MutableEntry() function in syncable::MutableEntry
1422 MutableEntry::MutableEntry(WriteTransaction* trans, GetByServerTag, in MutableEntry() function in syncable::MutableEntry
1428 bool MutableEntry::PutIsDel(bool is_del) { in PutIsDel()
1453 bool MutableEntry::Put(Int64Field field, const int64& value) { in Put()
1469 bool MutableEntry::Put(IdField field, const Id& value) { in Put()
[all …]
Dsyncable.h460 class MutableEntry : public Entry {
466 MutableEntry(WriteTransaction* trans, Create, const Id& parent_id,
468 MutableEntry(WriteTransaction* trans, CreateNewUpdateItem, const Id& id);
469 MutableEntry(WriteTransaction* trans, GetByHandle, int64);
470 MutableEntry(WriteTransaction* trans, GetById, const Id&);
471 MutableEntry(WriteTransaction* trans, GetByClientTag, const std::string& tag);
472 MutableEntry(WriteTransaction* trans, GetByServerTag, const std::string& tag);
536 MutableEntry();
538 DISALLOW_COPY_AND_ASSIGN(MutableEntry);
666 friend class MutableEntry; variable
[all …]
/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()
/external/chromium_org/sync/internal_api/
Dwrite_node.cc296 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitByIdLookup()
317 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitByClientTagLookup()
331 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitByTagLookup()
359 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitBookmarkByCreation()
399 scoped_ptr<syncable::MutableEntry> existing_entry( in InitUniqueByCreation()
400 new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitUniqueByCreation()
435 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitUniqueByCreation()
489 syncable::MutableEntry* WriteNode::GetMutableEntryForTest() { in GetMutableEntryForTest()
/external/chromium_org/sync/internal_api/public/
Dwrite_node.h38 class MutableEntry; variable
190 syncable::MutableEntry* GetMutableEntryForTest();
205 syncable::MutableEntry* entry_;

123