Lines Matching refs:trans
83 WriteTransaction trans(share);
84 ReadNode root_node(&trans);
86 WriteNode node(&trans);
97 WriteTransaction trans(share);
98 ReadNode root_node(&trans);
100 WriteNode node(&trans);
112 WriteTransaction trans(share);
113 ReadNode parent_node(&trans);
115 WriteNode node(&trans);
127 WriteTransaction trans(share);
128 ReadNode parent_node(&trans);
130 WriteNode node(&trans);
145 syncable::WriteTransaction trans(dir, syncable::UNITTEST, __FILE__, __LINE__);
149 syncable::MutableEntry entry(&trans, syncable::CREATE_NEW_UPDATE_ITEM,
184 ReadTransaction trans(test_user_share_.user_share());
185 EXPECT_TRUE(trans.GetWrappedTrans() != NULL);
188 WriteTransaction trans(test_user_share_.user_share());
189 EXPECT_TRUE(trans.GetWrappedTrans() != NULL);
193 ReadTransaction trans(test_user_share_.user_share());
194 ReadNode node(&trans);
202 ReadTransaction trans(test_user_share_.user_share());
203 ReadNode root_node(&trans);
212 ReadTransaction trans(test_user_share_.user_share());
213 ReadNode node(&trans);
217 ReadNode root_node(&trans);
242 WriteTransaction trans(test_user_share_.user_share());
243 ReadNode root_node(&trans);
256 ReadTransaction trans(test_user_share_.user_share());
258 ReadNode bookmarknode(&trans);
262 ReadNode prefnode(&trans);
266 ReadNode autofillnode(&trans);
278 ReadTransaction trans(test_user_share_.user_share());
279 ReadNode node(&trans);
284 WriteTransaction trans(test_user_share_.user_share());
285 WriteNode node(&trans);
299 WriteTransaction trans(test_user_share_.user_share());
300 ReadNode root_node(&trans);
304 WriteNode folder_node(&trans);
309 WriteNode wnode(&trans);
320 WriteTransaction trans(test_user_share_.user_share());
321 WriteNode wnode(&trans);
333 ReadTransaction trans(test_user_share_.user_share());
334 ReadNode node(&trans);
343 WriteTransaction trans(test_user_share_.user_share());
344 ReadNode folder_node(&trans);
347 WriteNode wnode(&trans);
360 ReadTransaction trans(test_user_share_.user_share());
361 ReadNode node(&trans);
372 ReadTransaction trans(test_user_share_.user_share());
373 trans.GetCryptographer()->AddKey(params);
376 WriteTransaction trans(test_user_share_.user_share());
377 ReadNode root_node(&trans);
380 WriteNode password_node(&trans);
388 ReadTransaction trans(test_user_share_.user_share());
389 ReadNode root_node(&trans);
392 ReadNode password_node(&trans);
445 ReadTransaction trans(test_user_share_.user_share());
446 ReadNode node(&trans);
482 BaseTransaction* trans) {
486 ReadNode node(trans);
529 ReadTransaction trans(test_user_share_.user_share());
530 ReadNode node(&trans);
537 ReadTransaction trans(test_user_share_.user_share());
543 scoped_ptr<DictionaryValue> value(record.ToValue(&trans));
544 CheckNonDeleteChangeRecordValue(record, *value, &trans);
549 ReadTransaction trans(test_user_share_.user_share());
555 scoped_ptr<DictionaryValue> value(record.ToValue(&trans));
556 CheckNonDeleteChangeRecordValue(record, *value, &trans);
561 ReadTransaction trans(test_user_share_.user_share());
566 scoped_ptr<DictionaryValue> value(record.ToValue(&trans));
572 ReadTransaction trans(test_user_share_.user_share());
586 scoped_ptr<DictionaryValue> value(record.ToValue(&trans));
722 WriteTransaction trans(share);
723 Cryptographer* cryptographer = trans.GetCryptographer();
730 WriteNode node(&trans);
874 ReadTransaction trans(sync_manager_.GetUserShare());
875 ReadNode node(&trans);
892 ReadTransaction trans(sync_manager.GetUserShare());
893 ReadNode node(&trans);
1071 ReadTransaction trans(sync_manager_.GetUserShare());
1073 GetEncryptedDataTypes(trans.GetWrappedTrans()));
1106 ReadTransaction trans(sync_manager_.GetUserShare());
1107 EXPECT_TRUE(syncable::VerifyDataTypeEncryption(trans.GetWrappedTrans(),
1110 EXPECT_TRUE(syncable::VerifyDataTypeEncryption(trans.GetWrappedTrans(),
1113 EXPECT_TRUE(syncable::VerifyDataTypeEncryption(trans.GetWrappedTrans(),
1126 ReadTransaction trans(sync_manager_.GetUserShare());
1129 GetEncryptedDataTypes(trans.GetWrappedTrans()));
1130 EXPECT_TRUE(syncable::VerifyDataTypeEncryption(trans.GetWrappedTrans(),
1133 EXPECT_TRUE(syncable::VerifyDataTypeEncryption(trans.GetWrappedTrans(),
1136 EXPECT_TRUE(syncable::VerifyDataTypeEncryption(trans.GetWrappedTrans(),