Home
last modified time | relevance | path

Searched refs:GetRowForURL (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium/chrome/browser/history/
Dhistory_backend_unittest.cc123 URLID id = backend_->db()->GetRowForURL(url, &row); in getTransition()
250 URLID row1_id = backend_->db_->GetRowForURL(row1.url(), NULL); in TEST_F()
251 URLID row2_id = backend_->db_->GetRowForURL(row2.url(), NULL); in TEST_F()
268 EXPECT_TRUE(mem_backend_->db_->GetRowForURL(row1.url(), NULL)); in TEST_F()
302 EXPECT_TRUE(backend_->db_->GetRowForURL(row1.url(), &outrow1)); in TEST_F()
310 EXPECT_FALSE(backend_->db_->GetRowForURL(row2.url(), &outrow2)); in TEST_F()
383 URLID row1_id = backend_->db_->GetRowForURL(row1.url(), NULL); in TEST_F()
384 URLID row2_id = backend_->db_->GetRowForURL(row2.url(), NULL); in TEST_F()
396 EXPECT_EQ(row2_id, backend_->db_->GetRowForURL(row2.url(), NULL)); in TEST_F()
415 EXPECT_FALSE(backend_->db_->GetRowForURL(row2.url(), &tmp_url_row)); in TEST_F()
[all …]
Din_memory_history_backend.cc131 URLID id = db_->GetRowForURL(i->url(), NULL); in OnTypedURLsModified()
158 URLID id = db_->GetRowForURL(*i, NULL); in OnURLsDeleted()
176 if (!db_->GetRowForURL(details.url, &url_row)) { in OnKeywordSearchTermUpdated()
193 URLID id = db_->GetRowForURL(url, NULL); in HasKeyword()
Dhistory_backend.cc174 bool GetRowForURL(const GURL& url, URLRow* row) { in GetRowForURL() function in history::HistoryBackend::URLQuerier
175 if (!main_db_->GetRowForURL(url, row)) { in GetRowForURL()
176 if (!archived_db_ || !archived_db_->GetRowForURL(url, row)) { in GetRowForURL()
329 URLID url_id = db_->GetRowForURL(url, NULL); in UpdateSegments()
669 URLID url_id = db_->GetRowForURL(url, &url_info); in AddPageVisit()
755 URLID url_id = url_database->GetRowForURL(i->url(), &existing_url); in AddPagesWithDetails()
841 URLID row_id = db_->GetRowForURL(redirects->at(i), &row); in SetPageTitle()
881 URLID url_id = db_->GetRowForURL(url, &url_info); in AddPageNoVisitForBookmark()
976 return db_->GetRowForURL(url, url_row) != 0; in GetURL()
990 if (db_->GetRowForURL(url, row)) { in QueryURL()
[all …]
Durl_database_unittest.cc93 EXPECT_TRUE(GetRowForURL(url1, &info)); in TEST_F()
95 URLID id2 = GetRowForURL(url2, &info); in TEST_F()
109 EXPECT_TRUE(GetRowForURL(url2, &info2)); in TEST_F()
113 EXPECT_EQ(0, GetRowForURL(GURL("http://news.google.com/"), &info)); in TEST_F()
Dexpire_history_backend_unittest.cc562 ASSERT_TRUE(main_db_->GetRowForURL(url, &url_row)); in TEST_F()
773 EXPECT_FALSE(archived_db_->GetRowForURL(url_row1.url(), NULL)); in TEST_F()
774 EXPECT_FALSE(archived_db_->GetRowForURL(url_row2.url(), NULL)); in TEST_F()
785 EXPECT_TRUE(archived_db_->GetRowForURL(url_row1.url(), &archived_row)); in TEST_F()
813 EXPECT_FALSE(archived_db_->GetRowForURL(temp_row.url(), NULL)); in TEST_F()
826 ASSERT_TRUE(archived_db_->GetRowForURL(temp_row.url(), &temp_row)); in TEST_F()
833 EXPECT_FALSE(archived_db_->GetRowForURL(temp_row.url(), NULL)); in TEST_F()
899 ASSERT_TRUE(archived_db_->GetRowForURL(url, &archived_row)); in TEST_F()
Durl_database.h66 URLID GetRowForURL(const GURL& url, URLRow* info);
Dexpire_history_backend.cc193 if (!main_db_->GetRowForURL(url, &url_row)) in DeleteURL()
241 url_ids.insert(main_db_->GetRowForURL(*url, NULL)); in ExpireHistoryBetween()
437 if (archived_db_->GetRowForURL(url_row.url(), &archived_row)) { in ArchiveOneURL()
Dtext_database_manager.cc198 if (!url_database_->GetRowForURL(url, &url_row)) in AddPageTitle()
245 if (!url_database_->GetRowForURL(url, &url_row)) in AddPageContents()
/external/chromium_org/chrome/browser/history/
Din_memory_history_backend.cc124 URLID id = db_->GetRowForURL(i->url(), NULL); in OnTypedURLsModified()
161 if (!db_->GetRowForURL(details.url, &url_row)) { in OnKeywordSearchTermUpdated()
179 URLID url_id = db_->GetRowForURL(details.url, NULL); in OnKeywordSearchTermDeleted()
185 URLID id = db_->GetRowForURL(url, NULL); in HasKeyword()
Dhistory_backend_unittest.cc208 URLID id = backend_->db()->GetRowForURL(url, &row); in getTransition()
487 URLID row1_id = backend_->db_->GetRowForURL(row1.url(), NULL); in TEST_F()
488 URLID row2_id = backend_->db_->GetRowForURL(row2.url(), NULL); in TEST_F()
503 EXPECT_TRUE(mem_backend_->db_->GetRowForURL(row1.url(), NULL)); in TEST_F()
513 EXPECT_TRUE(backend_->db_->GetRowForURL(row1.url(), &outrow1)); in TEST_F()
521 EXPECT_FALSE(backend_->db_->GetRowForURL(row2.url(), &outrow2)); in TEST_F()
587 EXPECT_TRUE(backend_->db_->GetRowForURL(url, &outrow)); in TEST_F()
598 EXPECT_FALSE(backend_->db_->GetRowForURL(url, &outrow)); in TEST_F()
608 EXPECT_FALSE(backend_->db_->GetRowForURL(url, &outrow)); in TEST_F()
653 URLID row1_id = backend_->db_->GetRowForURL(row1.url(), NULL); in TEST_F()
[all …]
Durl_database_unittest.cc92 EXPECT_TRUE(GetRowForURL(url1, &info)); in TEST_F()
94 URLID id2 = GetRowForURL(url2, &info); in TEST_F()
108 EXPECT_TRUE(GetRowForURL(url2, &info2)); in TEST_F()
112 EXPECT_EQ(0, GetRowForURL(GURL("http://news.google.com/"), &info)); in TEST_F()
Dexpire_history_backend_unittest.cc471 ASSERT_TRUE(main_db_->GetRowForURL(url, &url_row)); in TEST_F()
523 ASSERT_TRUE(main_db_->GetRowForURL(rows[0].url(), &rows[0])); in TEST_F()
741 EXPECT_FALSE(archived_db_->GetRowForURL(url_row1.url(), NULL)); in TEST_F()
742 EXPECT_FALSE(archived_db_->GetRowForURL(url_row2.url(), NULL)); in TEST_F()
753 EXPECT_TRUE(archived_db_->GetRowForURL(url_row1.url(), &archived_row)); in TEST_F()
781 EXPECT_FALSE(archived_db_->GetRowForURL(temp_row.url(), NULL)); in TEST_F()
794 ASSERT_TRUE(archived_db_->GetRowForURL(temp_row.url(), &temp_row)); in TEST_F()
801 EXPECT_FALSE(archived_db_->GetRowForURL(temp_row.url(), NULL)); in TEST_F()
867 ASSERT_TRUE(archived_db_->GetRowForURL(url, &archived_row)); in TEST_F()
Dhistory_backend.cc314 URLID url_id = db_->GetRowForURL(url, NULL); in UpdateSegments()
741 URLID url_id = db_->GetRowForURL(url, &url_info); in AddPageVisit()
824 URLID url_id = url_database->GetRowForURL(i->url(), &existing_url); in AddPagesWithDetails()
903 URLID row_id = db_->GetRowForURL(redirects->at(i), &row); in SetPageTitle()
928 URLID url_id = db_->GetRowForURL(url, &url_info); in AddPageNoVisitForBookmark()
1027 return db_->GetRowForURL(url, url_row) != 0; in GetURL()
1041 if (db_->GetRowForURL(url, row)) { in QueryURL()
1097 URLID url_id = db_->GetRowForURL(url, NULL); in IncreaseSegmentDuration()
1138 URLID url_id = db_->GetRowForURL(url, NULL); in SetKeywordSearchTermsForURL()
1182 URLID url_id = db_->GetRowForURL(url, NULL); in DeleteKeywordSearchTermForURL()
[all …]
Dexpire_history_backend.cc201 if (!main_db_->GetRowForURL(*url, &url_row)) in DeleteURLs()
244 url_ids.insert(main_db_->GetRowForURL(*url, NULL)); in ExpireHistoryBetween()
439 if (archived_db_->GetRowForURL(url_row.url(), &archived_row)) { in ArchiveOneURL()
Durl_database.h66 URLID GetRowForURL(const GURL& url, URLRow* info);
Dhistory_service.cc329 if (!GetRowForURL(url, &url_row)) in GetTypedCountForURL()
339 if (!GetRowForURL(url, &url_row)) in GetLastVisitTimeForURL()
348 if (!GetRowForURL(url, &url_row)) in GetVisitCountForURL()
1258 bool HistoryService::GetRowForURL(const GURL& url, history::URLRow* url_row) { in GetRowForURL() function in HistoryService
1261 return db && (db->GetRowForURL(url, url_row) != 0); in GetRowForURL()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_index_unittest.cc266 url_db->GetRowForURL(data[0].url, &result1); in TEST_F()
270 url_db->GetRowForURL(data[1].url, &result2); in TEST_F()
274 url_db->GetRowForURL(data[2].url, &result3); in TEST_F()
278 url_db->GetRowForURL(data[3].url, &result4); in TEST_F()
/external/chromium_org/chrome/browser/bookmarks/
Dbookmark_index_unittest.cc275 url_db->GetRowForURL(data[0].url, &result1); in TEST_F()
279 url_db->GetRowForURL(data[1].url, &result2); in TEST_F()
283 url_db->GetRowForURL(data[2].url, &result3); in TEST_F()
287 url_db->GetRowForURL(data[3].url, &result4); in TEST_F()
/external/chromium_org/chrome/browser/history/android/
Dandroid_provider_backend_unittest.cc281 ASSERT_TRUE(history_db_.GetRowForURL(url3, &url_row)); in TEST_F()
821 URLID url_id1 = history_db_.GetRowForURL(row1.url(), NULL); in TEST_F()
823 URLID url_id2 = history_db_.GetRowForURL(row2.url(), NULL); in TEST_F()
871 EXPECT_FALSE(history_db_.GetRowForURL(row1.url(), NULL)); in TEST_F()
877 EXPECT_TRUE(history_db_.GetRowForURL(update_row1.url(), &new_row)); in TEST_F()
936 EXPECT_FALSE(history_db_.GetRowForURL(row2.url(), NULL)); in TEST_F()
943 ASSERT_TRUE(history_db_.GetRowForURL(update_row2.url(), &new_row2)); in TEST_F()
1015 ASSERT_TRUE(history_db_.GetRowForURL(row1.url(), &new_row1)); in TEST_F()
1032 ASSERT_TRUE(history_db_.GetRowForURL(row2.url(), &new_row2)); in TEST_F()
1092 ASSERT_TRUE(history_db_.GetRowForURL(row1.url(), &new_row1)); in TEST_F()
[all …]
Durls_sql_handler.cc33 URLID id = history_db_->GetRowForURL(row->url(), &url_row); in Insert()
Dandroid_provider_backend.cc779 URLID url_id = history_db_->GetRowForURL(i->url, NULL); in UpdateBookmarks()
816 URLID url_id = history_db_->GetRowForURL(icon_mapping.page_url, NULL); in UpdateFavicon()
1154 if (history_db_->GetRowForURL(values.url(), &url_row)) { in AddSearchTerm()
/external/chromium/chrome/browser/autocomplete/
Dhistory_url_provider.cc374 if (!db->GetRowForURL(match->destination_url, &info)) { in FixupExactSuggestion()
379 if (!db->GetRowForURL(destination_url, NULL)) in FixupExactSuggestion()
533 db->GetRowForURL(search_base, &info); in PromoteOrCreateShorterSuggestion()
Dextension_app_provider.cc165 url_db->GetRowForURL(url, &info); in CalculateRelevance()
/external/chromium_org/chrome/browser/autocomplete/
Dextension_app_provider.cc219 url_db->GetRowForURL(url, &info); in CalculateRelevance()
Dhistory_quick_provider.cc169 if (url_db->GetRowForURL( in DoAutocomplete()

12