Lines Matching refs:FOLDER
48 int64 ManagedBookmarksTracker::LoadInitial(BookmarkNode* folder,
61 folder->Add(child, folder->child_count());
63 child->set_type(BookmarkNode::FOLDER);
86 // Update the managed bookmarks folder title, in case the user just signed
104 // The managed bookmarks folder isn't visible when that policy isn't present.
108 void ManagedBookmarksTracker::UpdateBookmarks(const BookmarkNode* folder,
124 for (int k = folder_index; k < folder->child_count(); ++k) {
125 const BookmarkNode* node = folder->GetChild(k);
137 model_->Move(existing, folder, folder_index);
144 model_->AddFolder(folder, folder_index, title);
147 model_->AddURL(folder, folder_index, title, url);
151 // The |folder_index| index of |folder| has been updated, so advance it.
155 // Remove any extra children of |folder| that haven't been reused.
156 while (folder->child_count() != folder_index)
157 model_->Remove(folder, folder_index);