Home
last modified time | relevance | path

Searched refs:querier (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/history/
Dtop_sites_unittest.cc209 void ContainsPrepopulatePages(const TopSitesQuerier& querier, in ContainsPrepopulatePages() argument
212 ASSERT_LE(start_index + prepopulate_urls.size(), querier.urls().size()); in ContainsPrepopulatePages()
215 querier.urls()[start_index + i].url.spec()) << " @ index " << in ContainsPrepopulatePages()
359 TopSitesQuerier querier; in MigrationAssertions() local
360 querier.QueryTopSites(top_sites(), false); in MigrationAssertions()
363 EXPECT_EQ(1, querier.number_of_callbacks()); in MigrationAssertions()
366 ASSERT_EQ(2u + GetPrepopulatePages().size(), querier.urls().size()); in MigrationAssertions()
367 EXPECT_EQ(GURL("http://google.com/"), querier.urls()[0].url); in MigrationAssertions()
368 EXPECT_EQ(GURL("http://yahoo.com/"), querier.urls()[1].url); in MigrationAssertions()
369 ASSERT_NO_FATAL_FAILURE(ContainsPrepopulatePages(querier, 2)); in MigrationAssertions()
[all …]
Dhistory_backend.cc1253 URLQuerier querier(db_.get(), archived_db_.get(), true); in QueryHistoryFTS() local
1265 if (!querier.GetRowForURL(fts_matches[i].url, &url_result)) in QueryHistoryFTS()