Home | History | Annotate | Download | only in engine

Lines Matching refs:directory

72 using syncable::Directory;
207 mock_server_.reset(new MockConnectionManager(directory()));
224 mock_server_.get(), directory(), workers,
233 syncable::ReadTransaction trans(FROM_HERE, directory());
234 syncable::Directory::Metahandles children;
235 directory()->GetChildHandlesById(&trans, trans.root_id(), &children);
241 directory()->set_store_birthday(mock_server_->store_birthday());
334 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
398 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
433 Directory* directory() {
434 return dir_maker_.directory();
438 return directory()->cache_guid();
453 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
494 syncable::ReadTransaction trans(FROM_HERE, directory());
535 return directory()->GetCryptographer(trans);
577 syncable::ReadTransaction trans(FROM_HERE, directory());
604 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
630 syncable::ReadTransaction rtrans(FROM_HERE, directory());
654 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
671 syncable::ReadTransaction rtrans(FROM_HERE, directory());
685 syncable::ReadTransaction rtrans(FROM_HERE, directory());
733 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
775 syncable::ReadTransaction rtrans(FROM_HERE, directory());
789 syncable::ReadTransaction rtrans(FROM_HERE, directory());
801 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
817 syncable::ReadTransaction rtrans(FROM_HERE, directory());
848 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
873 syncable::ReadTransaction rtrans(FROM_HERE, directory());
907 syncable::ReadTransaction rtrans(FROM_HERE, directory());
930 syncable::ReadTransaction rtrans(FROM_HERE, directory());
950 syncable::ReadTransaction rtrans(FROM_HERE, directory());
959 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
985 syncable::ReadTransaction rtrans(FROM_HERE, directory());
993 syncable::ReadTransaction rtrans(FROM_HERE, directory());
1011 syncable::ReadTransaction rtrans(FROM_HERE, directory());
1022 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
1043 syncable::ReadTransaction rt(FROM_HERE, directory());
1054 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
1077 directory()->PurgeEntriesWithTypeIn(ModelTypeSet(PREFERENCES),
1087 syncable::ReadTransaction rt(FROM_HERE, directory());
1092 directory()->SaveChanges();
1094 syncable::ReadTransaction rt(FROM_HERE, directory());
1103 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
1113 directory()->PurgeEntriesWithTypeIn(ModelTypeSet(BOOKMARKS),
1118 directory()->SaveChanges();
1120 syncable::ReadTransaction rt(FROM_HERE, directory());
1128 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
1152 directory()->PurgeEntriesWithTypeIn(ModelTypeSet(PREFERENCES, BOOKMARKS),
1158 syncable::ReadTransaction rt(FROM_HERE, directory());
1159 syncable::DeleteJournal* delete_journal = directory()->delete_journal();
1162 directory()->delete_journal()->GetDeleteJournals(&rt, BOOKMARKS,
1301 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
1382 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
1399 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
1415 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
1462 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
1504 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
1518 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
1544 syncable::ReadTransaction rtrans(FROM_HERE, directory());
1573 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
1590 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
1615 syncable::ReadTransaction rtrans(FROM_HERE, directory());
1665 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
1733 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
1774 syncable::ReadTransaction trans(FROM_HERE, directory());
1833 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
1847 // Mix in a directory creation too for later.
1855 syncable::ReadTransaction trans(FROM_HERE, directory());
1865 // And that the unrelated directory creation worked without a rename.
1882 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
1896 syncable::ReadTransaction trans(FROM_HERE, directory());
1913 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
1927 syncable::ReadTransaction trans(FROM_HERE, directory());
1936 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
1946 syncable::ReadTransaction trans(FROM_HERE, directory());
1975 syncable::ReadTransaction trans(FROM_HERE, directory());
2004 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2014 syncable::ReadTransaction trans(FROM_HERE, directory());
2039 syncable::ReadTransaction trans(FROM_HERE, directory());
2057 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2066 syncable::ReadTransaction trans(FROM_HERE, directory());
2089 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2100 syncable::ReadTransaction trans(FROM_HERE, directory());
2122 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
2140 syncable::ReadTransaction trans(FROM_HERE, directory());
2164 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
2182 syncable::ReadTransaction trans(FROM_HERE, directory());
2210 syncable::ReadTransaction trans(FROM_HERE, directory());
2221 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2240 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2255 syncable::ReadTransaction trans(FROM_HERE, directory());
2280 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2295 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2318 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
2336 syncable::Directory::Metahandles children;
2338 syncable::ReadTransaction trans(FROM_HERE, directory());
2339 directory()->GetChildHandlesById(&trans, parent_id_, &children);
2362 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
2377 syncable::ReadTransaction trans(FROM_HERE, directory());
2393 syncable::ReadTransaction trans(FROM_HERE, directory());
2409 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
2438 syncable::ReadTransaction trans(FROM_HERE, directory());
2439 Directory::Metahandles children;
2440 directory()->GetChildHandlesById(&trans, root_id_, &children);
2442 directory()->GetChildHandlesById(&trans, parent_id, &children);
2445 directory()->GetUnappliedUpdateMetaHandles(&trans, all_types, &unapplied);
2447 syncable::Directory::Metahandles unsynced;
2448 directory()->GetUnsyncedMetaHandles(&trans, &unsynced);
2456 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2477 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2508 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2518 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2545 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2559 syncable::ReadTransaction trans(FROM_HERE, directory());
2577 syncable::ReadTransaction trans(FROM_HERE, directory());
2599 syncable::ReadTransaction trans(FROM_HERE, directory());
2621 syncable::ReadTransaction trans(FROM_HERE, directory());
2645 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2655 ASSERT_EQ(items_to_commit, directory()->unsynced_entity_count());
2659 EXPECT_EQ(0, directory()->unsynced_entity_count());
2668 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2678 ASSERT_EQ(items_to_commit, directory()->unsynced_entity_count());
2689 directory()->unsynced_entity_count());
2698 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2708 ASSERT_EQ(items_to_commit, directory()->unsynced_entity_count());
2717 directory()->unsynced_entity_count());
2730 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2745 syncable::ReadTransaction trans(FROM_HERE, directory());
2755 // Add the missing parent directory.
2762 syncable::ReadTransaction trans(FROM_HERE, directory());
2777 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
2807 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
2826 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
2851 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
2877 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
2896 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
2921 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
2947 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
2960 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
2979 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
3002 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
3013 syncable::ReadTransaction trans(FROM_HERE, directory());
3032 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
3045 syncable::ReadTransaction trans(FROM_HERE, directory());
3062 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
3077 EXPECT_EQ(1u, directory()->unsynced_entity_count());
3080 EXPECT_EQ(1u, directory()->unsynced_entity_count());
3082 EXPECT_EQ(0u, directory()->unsynced_entity_count());
3091 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
3108 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
3130 syncable::ReadTransaction trans(FROM_HERE, directory());
3143 // Local object: a deleted directory (container), revision 1, unsynced.
3145 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
3169 syncable::ReadTransaction trans(FROM_HERE, directory());
3188 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
3227 syncable::ReadTransaction trans(FROM_HERE, directory());
3244 syncable::ReadTransaction trans(FROM_HERE, directory());
3262 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
3272 syncable::ReadTransaction trans(FROM_HERE, directory());
3299 syncable::ReadTransaction trans(FROM_HERE, directory());
3315 syncable::ReadTransaction trans(FROM_HERE, directory());
3332 directory());
3354 syncable::ReadTransaction rtrans(FROM_HERE, directory());
3378 syncable::ReadTransaction trans(FROM_HERE, directory());
3397 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
3416 syncable::ReadTransaction trans(FROM_HERE, directory());
3522 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
3548 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
3557 syncable::ReadTransaction rtrans(FROM_HERE, directory());
3572 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
3584 syncable::ReadTransaction trans(FROM_HERE, directory());
3600 syncable::ReadTransaction trans(FROM_HERE, directory());
3614 syncable::ReadTransaction trans(FROM_HERE, directory());
3633 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());
3645 syncable::ReadTransaction trans(FROM_HERE, directory());
3661 syncable::ReadTransaction trans(FROM_HERE, directory());
3694 syncable::ReadTransaction trans(FROM_HERE, directory());
3710 syncable::ReadTransaction trans(FROM_HERE, directory());
3730 syncable::ReadTransaction trans(FROM_HERE, directory());
3746 syncable::ReadTransaction trans(FROM_HERE, directory());
3766 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
3786 syncable::ReadTransaction trans(FROM_HERE, directory());
3806 syncable::ReadTransaction trans(FROM_HERE, directory());
3825 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
3848 syncable::ReadTransaction trans(FROM_HERE, directory());
3882 syncable::ReadTransaction trans(FROM_HERE, directory());
3906 syncable::Directory::Metahandles children;
3907 directory()->GetChildHandlesById(&trans, trans.root_id(), &children);
3920 syncable::ReadTransaction trans(FROM_HERE, directory());
3946 syncable::Directory::Metahandles children;
3947 directory()->GetChildHandlesById(&trans, trans.root_id(), &children);
3993 syncable::ReadTransaction trans(FROM_HERE, directory());
4025 syncable::Directory::Metahandles children;
4026 directory()->GetChildHandlesById(&trans, trans.root_id(), &children);
4036 syncable::ReadTransaction trans(FROM_HERE, directory());
4060 syncable::ReadTransaction trans(FROM_HERE, directory());
4130 syncable::ReadTransaction trans(FROM_HERE, directory());
4156 syncable::ReadTransaction trans(FROM_HERE, directory());
4190 syncable::ReadTransaction trans(FROM_HERE, directory());
4225 syncable::ReadTransaction trans(FROM_HERE, directory());
4242 syncable::ReadTransaction rtrans(FROM_HERE, directory());
4243 EXPECT_TRUE(directory()->GetNigoriHandler()->NeedKeystoreKey(&rtrans));
4250 syncable::ReadTransaction rtrans(FROM_HERE, directory());
4251 EXPECT_FALSE(directory()->GetNigoriHandler()->NeedKeystoreKey(&rtrans));
4257 syncable::ReadTransaction rtrans(FROM_HERE, directory());
4258 EXPECT_TRUE(directory()->GetNigoriHandler()->NeedKeystoreKey(&rtrans));
4266 syncable::ReadTransaction rtrans(FROM_HERE, directory());
4267 EXPECT_TRUE(directory()->GetNigoriHandler()->NeedKeystoreKey(&rtrans));
4298 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
4313 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
4323 WriteTransaction trans(FROM_HERE, UNITTEST, directory());
4334 syncable::ReadTransaction trans(FROM_HERE, directory());
4766 WriteTransaction wtrans(FROM_HERE, UNITTEST, directory());