Home
last modified time | relevance | path

Searched refs:sync_parent (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/sync/glue/
Dbookmark_model_associator.cc366 sync_api::ReadNode sync_parent(&trans); in BuildAssociations() local
367 if (!sync_parent.InitByIdLookup(sync_parent_id)) { in BuildAssociations()
371 DCHECK(sync_parent.GetIsFolder()); in BuildAssociations()
379 int64 sync_child_id = sync_parent.GetFirstChildId(); in BuildAssociations()
509 sync_api::ReadNode sync_parent(&trans); in LoadAssociations() local
510 if (!sync_parent.InitByIdLookup(parent_id)) { in LoadAssociations()
514 int64 external_id = sync_parent.GetExternalId(); in LoadAssociations()
526 !NodesMatch(node, &sync_parent)) in LoadAssociations()
529 Associate(node, sync_parent.GetId()); in LoadAssociations()
532 int64 child_id = sync_parent.GetFirstChildId(); in LoadAssociations()
Dbookmark_change_processor.cc286 sync_api::ReadNode sync_parent(trans); in PlaceSyncNode() local
287 if (!associator->InitSyncNodeFromChromeId(parent->id(), &sync_parent)) { in PlaceSyncNode()
296 dst->InitByCreation(syncable::BOOKMARKS, sync_parent, NULL) : in PlaceSyncNode()
297 dst->SetPosition(sync_parent, NULL); in PlaceSyncNode()
299 DCHECK_EQ(dst->GetParentId(), sync_parent.GetId()); in PlaceSyncNode()
300 DCHECK_EQ(dst->GetId(), sync_parent.GetFirstChildId()); in PlaceSyncNode()
312 dst->InitByCreation(syncable::BOOKMARKS, sync_parent, &sync_prev) : in PlaceSyncNode()
313 dst->SetPosition(sync_parent, &sync_prev); in PlaceSyncNode()
315 DCHECK_EQ(dst->GetParentId(), sync_parent.GetId()); in PlaceSyncNode()