Home
last modified time | relevance | path

Searched refs:ServerKnows (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/sync/internal_api/
Dsync_backup_manager.cc66 if (!e.ref(syncable::ID).ServerKnows()) in HandleTransactionEndingChangeEvent()
84 if (!entry.GetId().ServerKnows()) in NormalizeEntries()
86 if (!entry.GetParentId().ServerKnows()) { in NormalizeEntries()
Dsync_backup_manager_unittest.cc126 EXPECT_FALSE(pref.GetEntry()->GetId().ServerKnows()); in TEST_F()
138 EXPECT_TRUE(pref.GetEntry()->GetId().ServerKnows()); in TEST_F()
160 EXPECT_TRUE(pref.GetEntry()->GetId().ServerKnows()); in TEST_F()
Dsync_rollback_manager.cc61 if (!e.good() || e.GetIsDel() || e.GetId().ServerKnows()) in StartSyncingNormally()
Dwrite_node.cc502 if (entry_->GetId().ServerKnows()) { in Drop()
/external/chromium_org/sync/engine/
Dcommit_util.cc138 !meta_entry.GetParentId().ServerKnows()) { in BuildCommitItem()
163 DCHECK(!id.ServerKnows() || in BuildCommitItem()
170 DCHECK(id.ServerKnows()) << meta_entry; in BuildCommitItem()
246 } else if (!pre_commit_id.ServerKnows()) { in UpdateVersionAfterCommit()
276 if (pre_commit_id.ServerKnows()) { in ChangeIdAfterCommit()
Ddirectory_commit_contribution_unittest.cc405 EXPECT_TRUE(p1.GetId().ServerKnows()); in TEST_F()
410 EXPECT_TRUE(p2.GetId().ServerKnows()); in TEST_F()
415 EXPECT_TRUE(e1.GetId().ServerKnows()); in TEST_F()
486 EXPECT_TRUE(a1.GetId().ServerKnows()); in TEST_F()
491 EXPECT_FALSE(a2.GetId().ServerKnows()); in TEST_F()
496 EXPECT_FALSE(a3.GetId().ServerKnows()); in TEST_F()
Dsyncer_util.cc115 if (local_entry.GetId().ServerKnows()) { in FindLocalIdToUpdate()
164 DCHECK(!client_item_id.ServerKnows()); in FindLocalIdToUpdate()
179 DCHECK(!local_entry.GetId().ServerKnows()); in FindLocalIdToUpdate()
484 if (entry->GetIsDel() && !entry->GetId().ServerKnows()) { in ValidateCommitEntry()
Dsyncer_unittest.cc439 if (test->id.ServerKnows()) { in RunCommitOrderingTest()
527 entry.PutBaseVersion(id.ServerKnows() ? 1 : 0); in CreateUnsyncedDirectory()
1691 EXPECT_TRUE(parent2_committed_id.ServerKnows()); in TEST_F()
1751 EXPECT_TRUE(parent.GetId().ServerKnows()); in TEST_F()
1756 EXPECT_TRUE(parent2.GetId().ServerKnows()); in TEST_F()
1765 EXPECT_TRUE(entry_b.GetId().ServerKnows()); in TEST_F()
1985 ASSERT_TRUE(!folder_id.ServerKnows()); in TEST_F()
2006 EXPECT_TRUE(!entry_id.ServerKnows()); in TEST_F()
2035 EXPECT_TRUE(folder.GetId().ServerKnows()); in TEST_F()
2047 EXPECT_TRUE(!entry.GetId().ServerKnows()); in TEST_F()
[all …]
Dprocess_updates_util.cc109 if (!id.ServerKnows()) { in VerifyUpdate()
318 if (!entry.good() || !entry.GetId().ServerKnows() || in ExpireEntriesByVersion()
Dget_commit_ids.cc154 if (entry.GetIsDel() && !entry.GetId().ServerKnows()) { in IsEntryReadyForCommit()
295 while (!parent_id.ServerKnows()) { in AddUncommittedParentsAndTheirPredecessors()
/external/chromium_org/sync/syncable/
Dsyncable_id.h62 inline bool ServerKnows() const { in ServerKnows() function
Dmutable_entry.cc173 if (!GetId().ServerKnows()) { in PutIsDel()
Dsyncable_unittest.cc595 if (id.ServerKnows()) { in CreateWithDefaultTag()
615 if (me.GetId().ServerKnows() || !me.GetIsDel()) { in VerifyTag()
Ddirectory.cc1237 if (!SyncAssert(id.ServerKnows(), FROM_HERE, in CheckTreeInvariants()
1270 if (!SyncAssert(!id.ServerKnows(), FROM_HERE, in CheckTreeInvariants()
1277 if (!SyncAssert(id.ServerKnows(), in CheckTreeInvariants()
1285 if (!SyncAssert(!(!id.ServerKnows() && e.GetIsDel() && e.GetIsUnsynced()), in CheckTreeInvariants()
Ddirectory_unittest.cc1559 e.GetId().ServerKnows() && !e.GetId().IsRoot()) { in ThreadMain()
/external/chromium_org/sync/internal_api/test/
Dtest_entry_factory.cc106 item_id.ServerKnows() ? GetNextRevision() : 0); in CreateUnsyncedItem()
115 if (item_id.ServerKnows()) { in CreateUnsyncedItem()