Searched defs:other_node (Results 1 - 7 of 7) sorted by relevance

/external/chromium/chrome/browser/ui/gtk/bookmarks/
H A Dbookmark_editor_gtk_unittest.cc87 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"),
90 model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1"));
108 GtkTreeIter other_node = toplevel; local
129 ASSERT_EQ(1, gtk_tree_model_iter_n_children(store, &other_node));
130 ASSERT_TRUE(gtk_tree_model_iter_children(store, &child, &other_node));
188 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); local
189 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle());
190 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->GetURL());
210 const BookmarkNode* other_node local
301 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); local
320 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); local
[all...]
/external/chromium/chrome/browser/bookmarks/
H A Dbookmark_codec.cc46 return Encode(model->GetBookmarkBarNode(), model->other_node());
292 BookmarkNode* other_node) {
295 ReassignIDsHelper(other_node);
291 ReassignIDs(BookmarkNode* bb_node, BookmarkNode* other_node) argument
H A Dbookmark_model.h194 const BookmarkNode* other_node() { return other_node_; } function in class:BookmarkModel
H A Dbookmark_model_unittest.cc176 const BookmarkNode* other_node = model.other_node(); local
177 ASSERT_TRUE(other_node != NULL);
178 EXPECT_EQ(0, other_node->child_count());
179 EXPECT_EQ(BookmarkNode::OTHER_NODE, other_node->type());
181 EXPECT_TRUE(bb_node->id() != other_node->id());
200 new_node->id() != model.other_node()->id());
216 new_node->id() != model.other_node()->id());
382 model.AddURL(model.other_node(), 0, title, url);
383 ASSERT_EQ(model.other_node(), mode
[all...]
/external/chromium/chrome/browser/history/
H A Dstarred_url_database.cc440 StarredNode* other_node = GetNodeByType(*roots, StarredEntry::OTHER); local
441 if (!other_node) {
457 StarredNode* other_node = new StarredNode(entry); local
458 roots->insert(other_node);
547 BookmarkNode other_node(0, GURL());
548 other_node.Reset(entry);
574 id_to_node_map[other_folder_id] = &other_node;
620 encoder.Encode(&bookmark_bar_node, &other_node));
/external/chromium/chrome/browser/ui/views/bookmarks/
H A Dbookmark_editor_view_unittest.cc120 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"),
123 model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1"));
149 BookmarkEditorView::EditorNode* other_node = editor_root->GetChild(1); local
151 ASSERT_EQ(1, other_node->child_count());
152 ASSERT_EQ(ASCIIToUTF16("OF1"), other_node->GetChild(0)->GetTitle());
196 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); local
197 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle());
198 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->GetURL());
212 const BookmarkNode* other_node local
282 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); local
301 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); local
[all...]
/external/chromium/chrome/browser/sync/
H A Dprofile_sync_service_bookmark_unittest.cc363 bnode != model_->other_node()) {
461 EXPECT_EQ(root->GetIndexOf(model_->other_node()), 1);
486 model_associator_->GetSyncIdFromChromeId(model_->other_node()->id());
527 model_->AddFolder(model_->other_node(), 0, ASCIIToUTF16("foobar"));
665 // Stress the immediate children of other_node because that's where
669 int64 f0 = other_bookmarks_id(); // + other_node
721 EXPECT_TRUE(model_->other_node()->child_count() == 1);
731 EXPECT_TRUE(model_->other_node()->child_count() == 1);
755 child_count = model_->other_node()->child_count();
766 EXPECT_EQ(model_->other_node()
1225 const BookmarkNode* other_node = model_->other_node(); local
[all...]

Completed in 199 milliseconds