Home
last modified time | relevance | path

Searched refs:WriteTransaction (Results 1 – 25 of 58) sorted by relevance

123

/external/chromium_org/sync/internal_api/public/
Dwrite_transaction.h22 class WriteTransaction; variable
30 class SYNC_EXPORT WriteTransaction : public BaseTransaction {
33 WriteTransaction(const tracked_objects::Location& from_here,
39 WriteTransaction(const tracked_objects::Location& from_here,
41 virtual ~WriteTransaction();
45 syncable::WriteTransaction* GetWrappedWriteTrans() { return transaction_; } in GetWrappedWriteTrans()
60 WriteTransaction() {} in WriteTransaction() function
62 void SetTransaction(syncable::WriteTransaction* trans) { in SetTransaction()
70 syncable::WriteTransaction* transaction_;
72 DISALLOW_COPY_AND_ASSIGN(WriteTransaction);
Dwrite_node.h34 class WriteTransaction; variable
58 explicit WriteNode(WriteTransaction* transaction);
203 WriteTransaction* transaction_;
/external/chromium_org/sync/internal_api/
Dwrite_transaction.cc15 WriteTransaction::WriteTransaction(const tracked_objects::Location& from_here, in WriteTransaction() function in syncer::WriteTransaction
19 transaction_ = new syncable::WriteTransaction(from_here, syncable::SYNCAPI, in WriteTransaction()
23 WriteTransaction::WriteTransaction(const tracked_objects::Location& from_here, in WriteTransaction() function in syncer::WriteTransaction
28 transaction_ = new syncable::WriteTransaction(from_here, in WriteTransaction()
33 WriteTransaction::~WriteTransaction() { in ~WriteTransaction()
37 syncable::BaseTransaction* WriteTransaction::GetWrappedTrans() const { in GetWrappedTrans()
41 void WriteTransaction::SetDataTypeContext( in SetDataTypeContext()
84 void WriteTransaction::UpdateEntriesMarkAttachmentAsOnServer( in UpdateEntriesMarkAttachmentAsOnServer()
Dsync_encryption_handler_impl.h27 class WriteTransaction; variable
142 void ReEncryptEverything(WriteTransaction* trans);
158 void WriteEncryptionStateToNigori(WriteTransaction* trans);
180 WriteTransaction* trans,
187 WriteTransaction* trans,
203 WriteTransaction* trans,
230 bool AttemptToMigrateNigoriToKeystore(WriteTransaction* trans,
Dsync_manager_impl_unittest.cc103 WriteTransaction trans(FROM_HERE, share); in MakeNode()
120 WriteTransaction trans(FROM_HERE, share); in MakeFolderWithParent()
132 WriteTransaction trans(FROM_HERE, share); in MakeBookmarkWithParent()
147 syncable::WriteTransaction trans( in MakeServerNodeForType()
174 syncable::WriteTransaction trans( in MakeServerNode()
261 syncer::WriteTransaction trans(FROM_HERE, user_share()); in CreateEntryWithAttachmentMetadata()
280 syncer::WriteTransaction trans(FROM_HERE, user_share()); in ReplaceWithTombstone()
293 WriteTransaction trans(FROM_HERE, user_share()); in TEST_F()
330 WriteTransaction trans(FROM_HERE, user_share()); in TEST_F()
373 WriteTransaction trans(FROM_HERE, user_share()); in TEST_F()
[all …]
Dsync_encryption_handler_impl_unittest.cc104 syncable::WriteTransaction wtrans(FROM_HERE, syncable::UNITTEST, directory); in CreateRootForType()
240 WriteTransaction trans(FROM_HERE, user_share()); in InitKeystoreMigratedNigori()
273 WriteTransaction trans(FROM_HERE, user_share()); in InitCustomPassMigratedNigori()
310 WriteTransaction trans(FROM_HERE, user_share()); in InitUnmigratedNigori()
358 WriteTransaction trans(FROM_HERE, user_share()); in TEST_F()
387 WriteTransaction trans(FROM_HERE, user_share()); in TEST_F()
406 WriteTransaction trans(FROM_HERE, user_share()); in TEST_F()
429 WriteTransaction trans(FROM_HERE, user_share()); in TEST_F()
442 WriteTransaction trans(FROM_HERE, user_share()); in TEST_F()
465 WriteTransaction trans(FROM_HERE, user_share()); in TEST_F()
[all …]
/external/chromium_org/sync/syncable/
Dmutable_entry.h23 class WriteTransaction; variable
28 void Init(WriteTransaction* trans, ModelType model_type,
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);
40 inline WriteTransaction* write_transaction() const { in write_transaction()
74 WriteTransaction* const write_transaction_;
Dsyncable_write_transaction.cc18 WriteTransaction::WriteTransaction(const tracked_objects::Location& location, in WriteTransaction() function in syncer::syncable::WriteTransaction
25 WriteTransaction::WriteTransaction(const tracked_objects::Location& location, in WriteTransaction() function in syncer::syncable::WriteTransaction
35 void WriteTransaction::TrackChangesTo(const EntryKernel* entry) { in TrackChangesTo()
47 ImmutableEntryKernelMutationMap WriteTransaction::RecordMutations() { in RecordMutations()
68 void WriteTransaction::UnlockAndNotify( in UnlockAndNotify()
84 ModelTypeSet WriteTransaction::NotifyTransactionChangingAndEnding( in NotifyTransactionChangingAndEnding()
118 void WriteTransaction::NotifyTransactionComplete( in NotifyTransactionComplete()
124 void WriteTransaction::UpdateTransactionVersion( in UpdateTransactionVersion()
148 WriteTransaction::~WriteTransaction() { in ~WriteTransaction()
Dsyncable_write_transaction.h18 class SYNC_EXPORT WriteTransaction : public BaseWriteTransaction {
20 WriteTransaction(const tracked_objects::Location& from_here,
28 WriteTransaction(const tracked_objects::Location& from_here,
31 virtual ~WriteTransaction();
62 DISALLOW_COPY_AND_ASSIGN(WriteTransaction);
Ddirectory_unittest.cc29 void PutDataAsBookmarkFavicon(WriteTransaction* wtrans, in PutDataAsBookmarkFavicon()
117 WriteTransaction wtrans(FROM_HERE, UNITTEST, dir_.get()); in CreateEntryWithAttachmentMetadata()
126 WriteTransaction trans(FROM_HERE, UNITTEST, dir().get()); in DeleteEntry()
237 WriteTransaction trans(FROM_HERE, UNITTEST, dir().get()); in TEST_F()
278 WriteTransaction trans(FROM_HERE, UNITTEST, dir().get()); in TEST_F()
302 WriteTransaction trans(FROM_HERE, UNITTEST, dir().get()); in TEST_F()
345 WriteTransaction trans(FROM_HERE, UNITTEST, dir().get()); in TEST_F()
355 WriteTransaction trans(FROM_HERE, UNITTEST, dir().get()); in TEST_F()
378 WriteTransaction trans(FROM_HERE, UNITTEST, dir().get()); in TEST_F()
398 WriteTransaction trans(FROM_HERE, UNITTEST, dir().get()); in TEST_F()
[all …]
Dmutable_entry.cc22 void MutableEntry::Init(WriteTransaction* trans, in Init()
57 MutableEntry::MutableEntry(WriteTransaction* trans, in MutableEntry()
79 MutableEntry::MutableEntry(WriteTransaction* trans, CreateNewUpdateItem, in MutableEntry()
84 MutableEntry::MutableEntry(WriteTransaction* trans, GetById, const Id& id) in MutableEntry()
89 MutableEntry::MutableEntry(WriteTransaction* trans, GetByHandle, in MutableEntry()
95 MutableEntry::MutableEntry(WriteTransaction* trans, GetByClientTag, in MutableEntry()
101 MutableEntry::MutableEntry(WriteTransaction* trans, GetTypeRoot, ModelType type) in MutableEntry()
Dnigori_util.h29 class WriteTransaction; variable
44 WriteTransaction* const trans);
/external/chromium_org/sync/internal_api/test/
Dtest_entry_factory.cc23 using syncable::WriteTransaction;
35 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in CreateUnappliedNewItemWithParent()
53 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in CreateUnappliedNewBookmarkItemWithParent()
72 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in CreateUnappliedNewItem()
100 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in CreateUnsyncedItem()
132 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in CreateUnappliedAndUnsyncedBookmarkItem()
147 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in CreateSyncedItem()
180 syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, directory_); in CreateUnappliedRootNode()
203 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in SetServerSpecificsForItem()
216 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in SetLocalSpecificsForItem()
[all …]
/external/chromium_org/sync/engine/
Dapply_control_data_updates.h17 class WriteTransaction; variable
21 void ApplyNigoriUpdate(syncable::WriteTransaction* trans,
24 void ApplyControlUpdate(syncable::WriteTransaction* const trans,
Dconflict_resolver.h21 class WriteTransaction; variable
53 void ResolveConflicts(syncable::WriteTransaction* trans,
61 syncable::WriteTransaction* trans,
Ddirectory_commit_contribution_unittest.cc26 syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, dir()); in SetUp()
39 syncable::WriteTransaction* trans, in CreateUnsyncedItemWithAttachments()
57 int64 CreateUnsyncedItem(syncable::WriteTransaction* trans, in CreateUnsyncedItem()
64 int64 CreateSyncedItem(syncable::WriteTransaction* trans, in CreateSyncedItem()
120 syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, dir()); in TEST_F()
146 syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, dir()); in TEST_F()
169 syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, dir()); in TEST_F()
221 syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, dir()); in TEST_F()
250 syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, dir()); in TEST_F()
297 syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, dir()); in TEST_F()
[all …]
Dsyncer_unittest.cc83 using syncable::WriteTransaction;
343 void WriteTestDataToEntry(WriteTransaction* trans, MutableEntry* entry) { in WriteTestDataToEntry()
426 WriteTransaction trans(FROM_HERE, UNITTEST, directory()); in RunCommitOrderingTest()
520 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory()); in CreateUnsyncedDirectory()
638 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory()); in TEST_F()
716 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory()); in TEST_F()
784 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory()); in TEST_F()
816 WriteTransaction trans(FROM_HERE, UNITTEST, directory()); in TEST_F()
889 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory()); in TEST_F()
1000 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory()); in TEST_F()
[all …]
Dupdate_applicator.h29 class WriteTransaction; variable
42 void AttemptApplications(syncable::WriteTransaction* trans,
Dapply_control_data_updates.cc28 syncable::WriteTransaction trans(FROM_HERE, SYNCER, dir); in ApplyControlDataUpdates()
92 void ApplyNigoriUpdate(syncable::WriteTransaction* const trans, in ApplyNigoriUpdate()
200 void ApplyControlUpdate(syncable::WriteTransaction* const trans, in ApplyControlUpdate()
Dsyncer_util.h50 syncable::WriteTransaction* const trans,
83 void UpdateLocalDataFromServerData(syncable::WriteTransaction* trans,
Dconflict_resolver.cc31 using syncable::WriteTransaction;
72 void ConflictResolver::ProcessSimpleConflict(WriteTransaction* trans, in ProcessSimpleConflict()
255 syncable::WriteTransaction* trans, in ResolveConflicts()
/external/chromium_org/chrome/browser/sync/glue/
Dbookmark_change_processor.h26 class WriteTransaction; variable
132 syncer::WriteTransaction* trans,
139 syncer::WriteTransaction* trans,
178 syncer::WriteTransaction* trans,
200 void RemoveAllChildNodes(syncer::WriteTransaction* trans,
Dbookmark_change_processor.cc120 syncer::WriteTransaction trans(FROM_HERE, share_handle(), &new_version); in RemoveSyncNodeHierarchy()
146 syncer::WriteTransaction trans(FROM_HERE, share_handle(), &new_version); in RemoveAllSyncNodes()
166 syncer::WriteTransaction* trans, const int64& topmost_node_id) { in RemoveAllChildNodes()
230 syncer::WriteTransaction trans(FROM_HERE, share_handle(), &new_version); in CreateOrUpdateSyncNode()
278 BookmarkModel* model, int index, syncer::WriteTransaction* trans, in CreateSyncNode()
338 syncer::WriteTransaction* trans, in UpdateSyncNode()
381 syncer::WriteTransaction trans(FROM_HERE, share_handle(), &new_version); in BookmarkNodeMoved()
423 syncer::WriteTransaction trans(FROM_HERE, share_handle(), &new_version); in BookmarkNodeChildrenReordered()
462 const BookmarkNode* parent, int index, syncer::WriteTransaction* trans, in PlaceSyncNode()
/external/chromium_org/sync/test/engine/
Dtest_syncable_utils.h22 class WriteTransaction; variable
42 void CreateTypeRoot(WriteTransaction* trans,
/external/chromium_org/components/sync_driver/
Dgeneric_change_processor.h26 class WriteTransaction; variable
115 const syncer::WriteTransaction& trans,
126 const syncer::WriteTransaction& trans,

123