HomeSort by relevance Sort by last modified time
    Searched refs:other_node (Results 1 - 25 of 34) sorted by null

1 2

  /external/chromium_org/chrome/browser/undo/
bookmark_undo_service_test.cc 62 const BookmarkNode* parent = model->other_node();
67 EXPECT_EQ(0, model->other_node()->child_count());
82 const BookmarkNode* parent = model->other_node();
91 EXPECT_EQ(1, model->other_node()->child_count());
101 EXPECT_EQ(0, model->other_node()->child_count());
114 const BookmarkNode* n1 = model->AddURL(model->other_node(),
128 EXPECT_EQ(1, model->other_node()->child_count());
129 const BookmarkNode* node = model->other_node()->GetChild(0);
135 EXPECT_EQ(1, model->other_node()->child_count());
136 node = model->other_node()->GetChild(0)
    [all...]
  /external/chromium_org/chrome/browser/ui/views/bookmarks/
bookmark_editor_view_unittest.cc 143 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"),
146 model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1"));
178 BookmarkEditorView::EditorNode* other_node = editor_root->GetChild(1); local
180 ASSERT_EQ(1, other_node->child_count());
181 ASSERT_EQ(ASCIIToUTF16("OF1"), other_node->GetChild(0)->GetTitle());
228 const BookmarkNode* other_node = local
229 BookmarkModelFactory::GetForProfile(profile_.get())->other_node();
230 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle());
231 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->url());
246 const BookmarkNode* other_node local
322 const BookmarkNode* other_node = local
343 const BookmarkNode* other_node = local
    [all...]
bookmark_menu_delegate_unittest.cc 96 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"),
99 model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1"));
bookmark_bar_view.cc 596 return model_->other_node();
606 if (node == model_->other_node())
919 node = model_->other_node();
956 model_->other_node() : model_->bookmark_bar_node();
    [all...]
bookmark_menu_delegate.cc 228 if (node == model->other_node() || node == model->mobile_node()) {
278 if (drop_node == model->other_node() ||
303 (nodes[0]->parent() == GetBookmarkModel()->other_node() &&
444 BuildMenuForPermanentNode(model->other_node(), IDR_BOOKMARK_BAR_FOLDER, menu,
  /external/chromium_org/chrome/browser/extensions/api/bookmarks/
bookmark_api_helpers_unittest.cc 40 node_ = model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("Digg"),
44 model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("News"),
47 model_->other_node(), 0, base::ASCIIToUTF16("outer folder"));
70 model_->other_node(),
79 model_->other_node(),
147 RemoveNode(model_, client_, model_->other_node()->id(), true, &error));
170 EXPECT_EQ(3, model_->other_node()->child_count());
173 EXPECT_EQ(2, model_->other_node()->child_count());
178 GetMetaInfo(*model_->other_node(), &id_to_meta_info_map);
184 base::Int64ToString(model_->other_node()->id()), &value))
    [all...]
  /external/chromium_org/components/bookmarks/browser/
bookmark_utils_unittest.cc 79 const BookmarkNode* node1 = model->AddURL(model->other_node(),
83 const BookmarkNode* node2 = model->AddURL(model->other_node(),
88 model->AddFolder(model->other_node(), 0, ASCIIToUTF16("foo"));
137 const BookmarkNode* node1 = model->AddURL(model->other_node(),
141 model->AddURL(model->other_node(),
146 model->AddFolder(model->other_node(), 0, ASCIIToUTF16("Folder"));
173 const BookmarkNode* node1 = model->AddURL(model->other_node(),
177 model->AddURL(model->other_node(),
183 model->AddFolder(model->other_node(), 0, ASCIIToUTF16("Folder"));
211 const BookmarkNode* node1 = model->AddURL(model->other_node(),
    [all...]
bookmark_model_unittest.cc 316 const BookmarkNode* other_node = model_->other_node(); local
317 ASSERT_TRUE(other_node != NULL);
318 EXPECT_EQ(0, other_node->child_count());
319 EXPECT_EQ(BookmarkNode::OTHER_NODE, other_node->type());
326 EXPECT_TRUE(bb_node->id() != other_node->id());
328 EXPECT_TRUE(other_node->id() != mobile_node->id());
347 new_node->id() != model_->other_node()->id() &&
368 new_node->id() != model_->other_node()->id() &
    [all...]
bookmark_index_unittest.cc 74 model_->AddURL(model_->other_node(), static_cast<int>(i),
274 model_->AddURL(model_->other_node(), 0, UTF8ToUTF16(data[i].title), url);
375 model_->Remove(model_->other_node(), 0);
387 model_->SetTitle(model_->other_node()->GetChild(0), ASCIIToUTF16("blah"));
405 const BookmarkNode* n1 = model_->AddURL(model_->other_node(), 0,
438 model->other_node(), i, UTF8ToUTF16(data[i].title), data[i].url);
bookmark_codec.h 129 BookmarkNode* other_node,
bookmark_codec_unittest.cc 77 AssertNodesEqual(expected->other_node(), actual->other_node()));
167 AsMutable(model->other_node()),
223 CheckIDs(model->other_node(), &assigned_ids);
382 const BookmarkNode* other = decoded_model->other_node();
bookmark_codec.cc 56 model->other_node(),
238 other_folder_node->set_type(BookmarkNode::OTHER_NODE);
439 BookmarkNode* other_node,
443 ReassignIDsHelper(other_node);
  /external/chromium_org/chrome/browser/sync/
profile_sync_service_bookmark_unittest.cc 702 EXPECT_EQ(root->GetIndexOf(model_->other_node()), 2);
705 EXPECT_EQ(root->GetIndexOf(model_->other_node()), 1);
738 model_associator_->GetSyncIdFromChromeId(model_->other_node()->id());
812 model_->AddFolder(model_->other_node(), 0, base::ASCIIToUTF16("foobar"));
1739 const BookmarkNode* other_node = model_->other_node(); local
    [all...]
  /external/chromium_org/components/enhanced_bookmarks/
enhanced_bookmark_utils_unittest.cc 26 // Adds a bookmark as the subnode at index 0 to other_node.
30 return model->AddURL(model->other_node(),
enhanced_bookmark_model_unittest.cc 63 return AddBookmark("Some title", bookmark_model_->other_node());
67 return AddFolder("Some title", bookmark_model_->other_node());
368 bookmark_model_->AddURL(bookmark_model_->other_node(),
452 const BookmarkNode* parent = bookmark_model_->other_node();
489 const BookmarkNode* parent = bookmark_model_->other_node();
enhanced_bookmark_utils.cc 73 nodes.push_back(model->other_node());
  /external/chromium_org/chrome/browser/history/android/
bookmark_model_sql_handler_unittest.cc 105 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_org/chrome/browser/android/bookmarks/
bookmarks_bridge.cc 213 env, j_result_obj, bookmark_model_->other_node()->id(),
214 GetBookmarkType(bookmark_model_->other_node()));
250 const BookmarkNode* other_node = bookmark_model_->other_node(); local
251 for (int i = 0; i < other_node->child_count(); ++i) {
252 const BookmarkNode* node = other_node->GetChild(i);
287 const BookmarkNode* other_node = bookmark_model_->other_node(); local
288 for (int i = 0; i < other_node->child_count(); ++i) {
289 const BookmarkNode* node = other_node->GetChild(i)
381 const BookmarkNode* other_node = bookmark_model_->other_node(); local
    [all...]
  /external/chromium_org/chrome/browser/bookmarks/
bookmark_html_writer_unittest.cc 215 model->other_node(), 0, url1_title, url1, t1, NULL);
217 model->other_node(), 1, url2_title, url2, t2, NULL);
218 const BookmarkNode* f3 = model->AddFolder(model->other_node(), 2, f3_title);
chrome_bookmark_client_unittest.cc 155 EXPECT_TRUE(model_->other_node()->empty());
236 EXPECT_FALSE(client_->IsDescendantOfManagedNode(model_->other_node()));
275 const BookmarkNode* user_node = model_->AddURL(model_->other_node(),
  /external/chromium_org/chrome/browser/autocomplete/
bookmark_provider_unittest.cc 95 const BookmarkNode* other_node = model_->other_node(); local
99 model_->AddURL(other_node, other_node->child_count(),
  /external/chromium_org/chrome/browser/ui/bookmarks/
recently_used_folders_combo_model.cc 66 RemoveNode(model->other_node());
80 items_.push_back(Item(model->other_node(), Item::TYPE_NODE));
bookmark_context_menu_controller_unittest.cc 129 NULL, NULL, NULL, profile_.get(), NULL, model_->other_node(),
263 nodes.push_back(model_->other_node());
  /external/chromium_org/components/policy/core/browser/
managed_bookmarks_tracker_unittest.cc 175 EXPECT_TRUE(model_->other_node()->empty());
185 EXPECT_TRUE(model_->other_node()->empty());
282 EXPECT_FALSE(IsManaged(model_->other_node()));
  /external/chromium_org/chrome/browser/sync/glue/
bookmark_model_associator.cc 240 BookmarkNode::OTHER_NODE,
451 if (!AssociateTaggedPermanentNode(bookmark_model_->other_node(),
475 bookmark_model_->other_node()->id());
628 dfs_stack.push(bookmark_model_->other_node());

Completed in 557 milliseconds

1 2