Lines Matching refs:model_
27 model_(NULL) {
34 model_ = profile_->GetBookmarkModel();
47 return model_->GetMostRecentlyAddedNodeForURL(GURL(base_path() + name));
91 BookmarkModel* model_;
110 model_->AddURL(model_->GetBookmarkBarNode(), 0, ASCIIToUTF16("a"),
113 model_->AddFolder(model_->GetBookmarkBarNode(), 1, ASCIIToUTF16("F1"));
114 model_->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a"));
115 const BookmarkNode* f11 = model_->AddFolder(f1, 1, ASCIIToUTF16("F11"));
116 model_->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a"));
117 model_->AddFolder(model_->GetBookmarkBarNode(), 2, ASCIIToUTF16("F2"));
120 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"),
123 model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1"));
124 model_->AddURL(of1, 0, ASCIIToUTF16("of1a"), GURL(test_base + "of1a"));
274 BookmarkEditor::EditDetails(model_->other_node()->GetChild(0)),
294 BookmarkEditor::EditDetails(model_->other_node()->GetChild(0)),
315 CreateEditor(profile_.get(), model_->GetBookmarkBarNode(),
325 ASSERT_EQ(4, model_->GetBookmarkBarNode()->child_count());
327 model_->GetBookmarkBarNode()->GetChild(3);
346 CreateEditor(profile_.get(), model_->GetBookmarkBarNode(),
355 ASSERT_EQ(3, model_->other_node()->child_count());
356 const BookmarkNode* new_node = model_->other_node()->GetChild(2);