Searched refs:other_node (Results 1 - 25 of 62) sorted by relevance

123

/external/chromium_org/chrome/browser/undo/
H A Dbookmark_undo_service_test.cc60 const BookmarkNode* parent = model->other_node();
65 EXPECT_EQ(0, model->other_node()->child_count());
80 const BookmarkNode* parent = model->other_node();
89 EXPECT_EQ(1, model->other_node()->child_count());
99 EXPECT_EQ(0, model->other_node()->child_count());
112 const BookmarkNode* n1 = model->AddURL(model->other_node(),
126 EXPECT_EQ(1, model->other_node()->child_count());
127 const BookmarkNode* node = model->other_node()->GetChild(0);
133 EXPECT_EQ(1, model->other_node()->child_count());
134 node = model->other_node()
[all...]
/external/chromium/chrome/browser/extensions/
H A Dextension_bookmarks_unittest.cc18 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("Digg"),
20 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("News"),
23 model_->other_node(), 0, ASCIIToUTF16("outer folder"));
35 model_->other_node(),
45 model_->other_node(),
/external/chromium_org/chrome/browser/extensions/api/bookmarks/
H A Dbookmark_api_helpers_unittest.cc26 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("Digg"),
28 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("News"),
31 model_->other_node(), 0, ASCIIToUTF16("outer folder"));
43 GetBookmarkTreeNode(model_->other_node(),
51 GetBookmarkTreeNode(model_->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...]
H A Dbookmark_context_menu.cc69 controller_->profile()->GetBookmarkModel()->other_node() &&
/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_editor_view_unittest.cc141 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"),
144 model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1"));
176 BookmarkEditorView::EditorNode* other_node = editor_root->GetChild(1); local
178 ASSERT_EQ(1, other_node->child_count());
179 ASSERT_EQ(ASCIIToUTF16("OF1"), other_node->GetChild(0)->GetTitle());
226 const BookmarkNode* other_node = local
227 BookmarkModelFactory::GetForProfile(profile_.get())->other_node();
228 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle());
229 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->url());
244 const BookmarkNode* other_node local
320 const BookmarkNode* other_node = local
341 const BookmarkNode* other_node = local
[all...]
/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_org/chrome/browser/ui/gtk/bookmarks/
H A Dbookmark_editor_gtk_unittest.cc91 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"),
94 model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1"));
124 GtkTreeIter other_node = toplevel; local
152 ASSERT_EQ(1, gtk_tree_model_iter_n_children(store, &other_node));
153 ASSERT_TRUE(gtk_tree_model_iter_children(store, &child, &other_node));
209 const BookmarkNode* other_node = model_->other_node(); local
210 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle());
211 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->url());
231 const BookmarkNode* other_node local
322 const BookmarkNode* other_node = model_->other_node(); local
341 const BookmarkNode* other_node = model_->other_node(); local
[all...]
/external/chromium/chrome/browser/bookmarks/
H A Drecently_used_folders_combo_model.cc29 RemoveNode(model->other_node());
34 node->parent() != model->other_node()) {
44 nodes_.push_back(model->other_node());
H A Dbookmark_utils_unittest.cc24 model.AddURL(model.other_node(), 0, ASCIIToUTF16("foo bar"),
27 model.AddURL(model.other_node(), 0, ASCIIToUTF16("baz buz"),
30 model.AddFolder(model.other_node(), 0, ASCIIToUTF16("foo"));
60 const BookmarkNode* node = model.AddURL(model.other_node(), 0,
75 node = model.AddURL(model.other_node(), 0, ASCIIToUTF16("foo bar"),
88 node = model.AddURL(model.other_node(), 0, ASCIIToUTF16("FOO bar"),
110 const BookmarkNode* node = model.AddURL(model.other_node(), 0,
H A Dbookmark_model_test_utils.cc39 AssertNodesEqual(expected->other_node(),
40 actual->other_node(),
H A Dbookmark_index_unittest.cc38 model_->AddURL(model_->other_node(), static_cast<int>(i),
183 model_->Remove(model_->other_node(), 0);
194 model_->SetTitle(model_->other_node()->GetChild(0), ASCIIToUTF16("blah"));
211 const BookmarkNode* n1 = model_->AddURL(model_->other_node(), 0,
260 model->AddURL(model->other_node(), i, UTF8ToUTF16(data[i].title),
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...]
H A Dbookmark_codec.h108 void ReassignIDs(BookmarkNode* bb_node, BookmarkNode* other_node);
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_html_writer_unittest.cc204 model->AddURLWithCreationTime(model->other_node(), 0, url1_title, url1, t1);
205 model->AddURLWithCreationTime(model->other_node(), 1, url2_title, url2, t2);
206 const BookmarkNode* f3 = model->AddFolder(model->other_node(), 2, f3_title);
/external/chromium_org/chrome/browser/bookmarks/
H A Dbookmark_utils_unittest.cc35 const BookmarkNode* node1 = model.AddURL(model.other_node(),
39 const BookmarkNode* node2 = model.AddURL(model.other_node(),
44 const BookmarkNode* folder1 = model.AddFolder(model.other_node(),
71 const BookmarkNode* node = model.AddURL(model.other_node(),
139 const BookmarkNode* node = model.AddURL(model.other_node(),
H A Dbookmark_index_unittest.cc40 model_->AddURL(model_->other_node(), static_cast<int>(i),
194 model_->Remove(model_->other_node(), 0);
205 model_->SetTitle(model_->other_node()->GetChild(0), ASCIIToUTF16("blah"));
222 const BookmarkNode* n1 = model_->AddURL(model_->other_node(), 0,
269 model->AddURL(model->other_node(), i, UTF8ToUTF16(data[i].title),
H A Dbookmark_model_unittest.cc294 const BookmarkNode* other_node = model_.other_node(); local
295 ASSERT_TRUE(other_node != NULL);
296 EXPECT_EQ(0, other_node->child_count());
297 EXPECT_EQ(BookmarkNode::OTHER_NODE, other_node->type());
304 EXPECT_TRUE(bb_node->id() != other_node->id());
306 EXPECT_TRUE(other_node->id() != mobile_node->id());
325 new_node->id() != model_.other_node()->id() &&
346 new_node->id() != model_.other_node()->id() &&
383 new_node->id() != model_.other_node()
[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...]
/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_service_bookmark_unittest.cc680 EXPECT_EQ(root->GetIndexOf(model_->other_node()), 1);
712 model_associator_->GetSyncIdFromChromeId(model_->other_node()->id());
792 model_->AddFolder(model_->other_node(), 0, ASCIIToUTF16("foobar"));
947 // Stress the immediate children of other_node because that's where
951 int64 f0 = other_bookmarks_id(); // + other_node
1003 EXPECT_EQ(1, model_->other_node()->child_count());
1013 EXPECT_EQ(1, model_->other_node()->child_count());
1037 child_count = model_->other_node()->child_count();
1048 EXPECT_EQ(model_->other_node()->child_count(), child_count);
1079 model_->AddFolder(model_->other_node(),
1694 const BookmarkNode* other_node = model_->other_node(); local
[all...]
/external/chromium_org/chrome/browser/autocomplete/
H A Dbookmark_provider_unittest.cc80 const BookmarkNode* other_node = model_->other_node(); local
84 model_->AddURL(other_node, other_node->child_count(),
/external/chromium_org/chrome/browser/history/android/
H A Dbookmark_model_sql_handler_unittest.cc105 row.set_parent_id(bookmark_model_->other_node()->id());
165 row.set_parent_id(bookmark_model_->other_node()->id());
222 row.set_parent_id(bookmark_model_->other_node()->id());
230 EXPECT_EQ(2, bookmark_model_->other_node()->child_count());
242 EXPECT_EQ(1, bookmark_model_->other_node()->child_count());
/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/importer/
H A Dprofile_writer.cc99 (it->in_toolbar ? model->GetBookmarkBarNode() : model->other_node());
295 const BookmarkNode* other = model->other_node();
354 parent != model->other_node()))) {

Completed in 4017 milliseconds

123