Home
last modified time | relevance | path

Searched refs:AddURL (Results 1 – 25 of 58) sorted by relevance

123

/external/chromium/chrome/browser/visitedlink/
Dvisitedlink_unittest.cc198 master_->AddURL(TestURL(i)); in TEST_F()
252 master_->AddURL(TestURL(i)); in TEST_F()
259 master_->AddURL(url); in TEST_F()
283 master_->AddURL(TestURL(i)); in TEST_F()
334 master_->AddURL(TestURL(i)); in TEST_F()
388 master_->AddURL(TestURL(i)); in TEST_F()
391 master_->AddURL(TestURL(g_test_count)); in TEST_F()
419 master_->AddURL(TestURL(i)); in TEST_F()
436 master_->AddURL(TestURL(i)); in TEST_F()
631 master->AddURL(GURL("http://acidtests.org/")); in TEST_F()
[all …]
/external/chromium/chrome/browser/history/
Durl_database_unittest.cc71 TEST_F(URLDatabaseTest, AddURL) { in TEST_F() argument
80 EXPECT_TRUE(AddURL(url_info1)); in TEST_F()
89 EXPECT_TRUE(AddURL(url_info2)); in TEST_F()
133 URLID url_id = AddURL(url_info1); in TEST_F()
172 URLID url_id = AddURL(url_info1); in TEST_F()
191 EXPECT_TRUE(AddURL(url_no_match)); in TEST_F()
197 EXPECT_TRUE(AddURL(url_match_visit_count)); in TEST_F()
202 EXPECT_TRUE(AddURL(url_match_typed_count)); in TEST_F()
207 EXPECT_TRUE(AddURL(url_match_last_visit)); in TEST_F()
213 EXPECT_TRUE(AddURL(url_no_match_last_visit)); in TEST_F()
[all …]
Din_memory_history_backend.cc135 id = db_->AddURL(*i); in OnTypedURLsModified()
182 url_id = db_->AddURL(new_row); in OnKeywordSearchTermUpdated()
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_editor_base_controller_unittest.mm44 model.AddURL(folder_a_, 0, ASCIIToUTF16("a-0"), GURL("http://a-0.com"));
45 model.AddURL(folder_a_, 1, ASCIIToUTF16("a-1"), GURL("http://a-1.com"));
46 model.AddURL(folder_a_, 2, ASCIIToUTF16("a-2"), GURL("http://a-2.com"));
50 model.AddURL(folder_b_0_, 0, ASCIIToUTF16("bb-0"), GURL("http://bb-0.com"));
51 model.AddURL(folder_b_, 1, ASCIIToUTF16("b-1"), GURL("http://b-1.com"));
52 model.AddURL(folder_b_, 2, ASCIIToUTF16("b-2"), GURL("http://b-2.com"));
54 model.AddURL(folder_b_3_, 0, ASCIIToUTF16("b-30"), GURL("http://b-30.com"));
55 model.AddURL(folder_b_3_, 1, ASCIIToUTF16("b-31"), GURL("http://b-31.com"));
56 model.AddURL(folder_b_, 4, ASCIIToUTF16("b-4"), GURL("http://b-4.com"));
59 model.AddURL(folder_c_, 0, ASCIIToUTF16("c-0"), GURL("http://c-0.com"));
[all …]
Dbookmark_editor_controller_unittest.mm33 const BookmarkNode* default_node = model->AddURL(default_parent_, 0,
178 const BookmarkNode* node = model->AddURL(parent, 0, default_title_,
232 model.AddURL(folder_a_, 0, ASCIIToUTF16("a-0"), GURL("http://a-0.com"));
233 model.AddURL(folder_a_, 1, ASCIIToUTF16("a-1"), GURL("http://a-1.com"));
234 model.AddURL(folder_a_, 2, ASCIIToUTF16("a-2"), GURL("http://a-2.com"));
237 model.AddURL(folder_b_, 0, ASCIIToUTF16("b-0"), GURL("http://b-0.com"));
239 model.AddURL(folder_bb_, 0, ASCIIToUTF16("bb-0"), GURL("http://bb-0.com"));
240 model.AddURL(folder_bb_, 1, ASCIIToUTF16("bb-1"), GURL("http://bb-1.com"));
241 model.AddURL(folder_bb_, 2, ASCIIToUTF16("bb-2"), GURL("http://bb-2.com"));
247 bookmark_bb_3_ = model.AddURL(folder_bb_, 3, ASCIIToUTF16("bb-3"),
[all …]
Dbookmark_bubble_controller_unittest.mm107 const BookmarkNode* node = model->AddURL(model->GetBookmarkBarNode(),
122 const BookmarkNode* node = model->AddURL(model->GetBookmarkBarNode(),
153 const BookmarkNode* node5 = model->AddURL(node1, 0, ASCIIToUTF16("title1"),
156 const BookmarkNode* node6 = model->AddURL(node3, 0, ASCIIToUTF16("title2"),
159 const BookmarkNode* node7 = model->AddURL(
192 const BookmarkNode* node2_1 = model->AddURL(node2, 0, ASCIIToUTF16("title1"),
218 const BookmarkNode* node = model->AddURL(model->GetBookmarkBarNode(),
236 const BookmarkNode* node = model->AddURL(
260 const BookmarkNode* node = model->AddURL(bookmarkBarNode,
290 const BookmarkNode* node = model->AddURL(bookmarkBarNode,
[all …]
Dbookmark_menu_bridge_unittest.mm103 model->AddURL(parent, 0, ASCIIToUTF16("Bookmark"), GURL(url));
155 model->AddURL(parent, 0, ASCIIToUTF16("Bookmark"), GURL(url));
181 model->AddURL(root, 0, ASCIIToUTF16(short_url), GURL(short_url));
185 model->AddURL(root, 2, ASCIIToUTF16(long_url), GURL(long_url));
188 model->AddURL(node, 0, empty, GURL("http://sub"));
316 model->AddURL(root, 0, ASCIIToUTF16("Test Item"), GURL("http://test"));
320 model->AddURL(root, 1, ASCIIToUTF16("Test 2"), GURL("http://second-test"));
347 model->AddURL(root, 0, ASCIIToUTF16(short_url), GURL(short_url));
366 model->AddURL(root, 0, ASCIIToUTF16("Test Item"),
383 model->AddURL(root, 0, ASCIIToUTF16("Test Item"),
Dbookmark_all_tabs_controller_unittest.mm47 model.AddURL(folder_a_, 0, ASCIIToUTF16("a-0"), GURL("http://a-0.com"));
48 model.AddURL(folder_a_, 1, ASCIIToUTF16("a-1"), GURL("http://a-1.com"));
49 model.AddURL(folder_a_, 2, ASCIIToUTF16("a-2"), GURL("http://a-2.com"));
Dbookmark_menu_cocoa_controller_unittest.mm32 nodes_[0] = model->AddURL(bookmark_bar, 0, empty, GURL("http://0.com"));
33 nodes_[1] = model->AddURL(bookmark_bar, 1, empty, GURL("http://1.com"));
Dbookmark_bar_controller_unittest.mm336 const BookmarkNode* node = model->AddURL(parent, parent->child_count(),
532 const BookmarkNode* node = model->AddURL(bar, bar->child_count(),
541 node = model->AddURL(otherBookmarks, otherBookmarks->child_count(),
569 model->AddURL(parent, parent->child_count(),
614 model->AddURL(parent, parent->child_count(), ASCIIToUTF16(title.str()),
725 model->AddURL(folder, folder->child_count(),
727 model->AddURL(folder, folder->child_count(),
836 model->AddURL(parent, parent->child_count(),
845 model->AddURL(parent, parent->child_count(),
854 model->AddURL(parent, 0, /* index is 0, so front, not end */
[all …]
/external/chromium/chrome/browser/bookmarks/
Dbookmark_utils_unittest.cc24 model.AddURL(model.other_node(), 0, ASCIIToUTF16("foo bar"), in TEST_F()
27 model.AddURL(model.other_node(), 0, ASCIIToUTF16("baz buz"), in TEST_F()
60 const BookmarkNode* node = model.AddURL(model.other_node(), 0, in TEST_F()
75 node = model.AddURL(model.other_node(), 0, ASCIIToUTF16("foo bar"), in TEST_F()
88 node = model.AddURL(model.other_node(), 0, ASCIIToUTF16("FOO bar"), in TEST_F()
110 const BookmarkNode* node = model.AddURL(model.other_node(), 0, in TEST_F()
Dbookmark_codec_unittest.cc41 model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); in CreateTestModel1()
47 model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); in CreateTestModel2()
48 model->AddURL(bookmark_bar, 1, ASCIIToUTF16(kUrl2Title), GURL(kUrl2Url)); in CreateTestModel2()
54 model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); in CreateTestModel3()
57 model->AddURL(folder1, 0, ASCIIToUTF16(kUrl2Title), GURL(kUrl2Url)); in CreateTestModel3()
249 decoded_model->AddURL(bb_node, 0, ASCIIToUTF16("new url1"), in TEST_F()
251 decoded_model->AddURL(bb_node, 0, ASCIIToUTF16("new url2"), in TEST_F()
272 decoded_model.AddURL( in TEST_F()
277 decoded_model.AddURL(folder2_node, 0, ASCIIToUTF16(kUrl4Title), in TEST_F()
Dbookmark_model_unittest.cc184 TEST_F(BookmarkModelTest, AddURL) { in TEST_F() argument
189 const BookmarkNode* new_node = model.AddURL(root, 0, title, url); in TEST_F()
229 model.AddURL(root, 0, title, url); in TEST_F()
250 model.AddURL(folder, 0, title, url); in TEST_F()
268 const BookmarkNode* node = model.AddURL(root, 0, title, url); in TEST_F()
283 const BookmarkNode* node = model.AddURL(root, 0, title, url); in TEST_F()
298 const BookmarkNode* node = model.AddURL(root, 0, title, url); in TEST_F()
382 model.AddURL(model.other_node(), 0, title, url); in TEST_F()
392 model.AddURL(folder, 0, ASCIIToUTF16("blah"), GURL("http://foo.com")); in TEST_F()
414 BookmarkNode* n1 = AsMutable(model.AddURL(model.GetBookmarkBarNode(), in TEST_F()
[all …]
Dbookmark_index_unittest.cc38 model_->AddURL(model_->other_node(), static_cast<int>(i), in AddBookmarksWithTitles()
211 const BookmarkNode* n1 = model_->AddURL(model_->other_node(), 0, in TEST_F()
258 url_db->AddURL(info); in TEST_F()
260 model->AddURL(model->other_node(), i, UTF8ToUTF16(data[i].title), in TEST_F()
Dbookmark_context_menu_controller_unittest.cc90 model_->AddURL(model_->GetBookmarkBarNode(), 0, ASCIIToUTF16("a"), in AddTestData()
94 model_->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a")); in AddTestData()
96 model_->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a")); in AddTestData()
101 model_->AddURL(f4, 0, ASCIIToUTF16("f4a"), GURL(test_base + "f4a")); in AddTestData()
Dbookmark_node_data_unittest.cc82 const BookmarkNode* node = model->AddURL(root, 0, title, url); in TEST_F()
167 model->AddURL(folder, 0, title, url); in TEST_F()
206 const BookmarkNode* url_node = model->AddURL(folder, 0, title, url); in TEST_F()
/external/chromium/chrome/browser/extensions/
Dextension_bookmarks_unittest.cc18 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("Digg"), in SetUp()
20 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("News"), in SetUp()
26 model_->AddURL(folder, 0, ASCIIToUTF16("Digg"), GURL("http://reddit.com")); in SetUp()
27 model_->AddURL(folder, 0, ASCIIToUTF16("CNet"), GURL("http://cnet.com")); in SetUp()
Dextension_bookmark_manager_apitest.cc36 const BookmarkNode* node = model->AddURL(bar, 1, ASCIIToUTF16("AAA"), in IN_PROC_BROWSER_TEST_F()
38 node = model->AddURL(folder, 0, ASCIIToUTF16("BBB"), in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_bar_gtk_unittest.cc75 model->AddURL(parent, parent->child_count(), in TEST_F()
86 model->AddURL(parent, parent->child_count(), in TEST_F()
88 model->AddURL(parent, parent->child_count(), in TEST_F()
Dbookmark_editor_gtk_unittest.cc77 model_->AddURL(model_->GetBookmarkBarNode(), 0, ASCIIToUTF16("a"), in AddTestData()
81 model_->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a")); in AddTestData()
83 model_->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a")); in AddTestData()
87 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"), in AddTestData()
91 model_->AddURL(of1, 0, ASCIIToUTF16("of1a"), GURL(test_base + "of1a")); in AddTestData()
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_bookmark_unittest.cc174 int64 AddURL(const std::wstring& title, in AddURL() function in browser_sync::__anon98dc109b0111::FakeServerChange
534 const BookmarkNode* url1 = model_->AddURL( in TEST_F()
539 const BookmarkNode* url2 = model_->AddURL( in TEST_F()
579 int64 u1 = adds.AddURL(L"Some old site", "ftp://nifty.andrew.cmu.edu/", in TEST_F()
581 int64 u2 = adds.AddURL(L"Nifty", "ftp://nifty.andrew.cmu.edu/", f1, 0); in TEST_F()
583 int64 u3 = adds.AddURL(L"Nifty2", "ftp://nifty.andrew.cmu.edu/", f1, u2); in TEST_F()
585 adds.AddURL(L"Some old site", "http://slog.thestranger.com/", in TEST_F()
593 adds.AddURL(L"", javascript_url, other_bookmarks_id(), 0); in TEST_F()
672 int64 u3 = adds.AddURL( L"u3", url, f2, 0); // + u3 NOLINT in TEST_F()
673 int64 u4 = adds.AddURL( L"u4", url, f2, u3); // + u4 NOLINT in TEST_F()
[all …]
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_editor_view_unittest.cc110 model_->AddURL(model_->GetBookmarkBarNode(), 0, ASCIIToUTF16("a"), in AddTestData()
114 model_->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a")); in AddTestData()
116 model_->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a")); in AddTestData()
120 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"), in AddTestData()
124 model_->AddURL(of1, 0, ASCIIToUTF16("of1a"), GURL(test_base + "of1a")); in AddTestData()
Dbookmark_bar_view_test.cc235 model_->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a")); in AddTestData()
237 model_->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a")); in AddTestData()
240 model_->AddURL(f1, i + 1, ASCIIToUTF16("f") + base::IntToString16(i), in AddTestData()
244 model_->AddURL(model_->GetBookmarkBarNode(), 1, ASCIIToUTF16("a"), in AddTestData()
246 model_->AddURL(model_->GetBookmarkBarNode(), 2, ASCIIToUTF16("b"), in AddTestData()
248 model_->AddURL(model_->GetBookmarkBarNode(), 3, ASCIIToUTF16("c"), in AddTestData()
250 model_->AddURL(model_->GetBookmarkBarNode(), 4, ASCIIToUTF16("d"), in AddTestData()
252 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"), in AddTestData()
256 model_->AddURL(of, 0, ASCIIToUTF16("ofa"), GURL(test_base + "ofa")); in AddTestData()
257 model_->AddURL(of, 1, ASCIIToUTF16("ofb"), GURL(test_base + "ofb")); in AddTestData()
[all …]
Dbookmark_context_menu_test.cc95 model_->AddURL(model_->GetBookmarkBarNode(), 0, ASCIIToUTF16("a"), in AddTestData()
99 model_->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a")); in AddTestData()
101 model_->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a")); in AddTestData()
106 model_->AddURL(f4, 0, ASCIIToUTF16("f4a"), GURL(test_base + "f4a")); in AddTestData()
Dbookmark_bar_view_unittest.cc18 profile()->GetBookmarkModel()->AddURL( in TEST_F()

123