/external/chromium/chrome/browser/history/ |
D | history_backend_unittest.cc | 123 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 …]
|
D | in_memory_history_backend.cc | 131 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()
|
D | history_backend.cc | 174 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 …]
|
D | url_database_unittest.cc | 93 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()
|
D | expire_history_backend_unittest.cc | 562 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()
|
D | url_database.h | 66 URLID GetRowForURL(const GURL& url, URLRow* info);
|
D | expire_history_backend.cc | 193 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()
|
D | text_database_manager.cc | 198 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/ |
D | in_memory_history_backend.cc | 124 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()
|
D | history_backend_unittest.cc | 208 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 …]
|
D | url_database_unittest.cc | 92 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()
|
D | expire_history_backend_unittest.cc | 471 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()
|
D | history_backend.cc | 314 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 …]
|
D | expire_history_backend.cc | 201 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()
|
D | url_database.h | 66 URLID GetRowForURL(const GURL& url, URLRow* info);
|
D | history_service.cc | 329 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/ |
D | bookmark_index_unittest.cc | 266 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/ |
D | bookmark_index_unittest.cc | 275 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/ |
D | android_provider_backend_unittest.cc | 281 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 …]
|
D | urls_sql_handler.cc | 33 URLID id = history_db_->GetRowForURL(row->url(), &url_row); in Insert()
|
D | android_provider_backend.cc | 779 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/ |
D | history_url_provider.cc | 374 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()
|
D | extension_app_provider.cc | 165 url_db->GetRowForURL(url, &info); in CalculateRelevance()
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | extension_app_provider.cc | 219 url_db->GetRowForURL(url, &info); in CalculateRelevance()
|
D | history_quick_provider.cc | 169 if (url_db->GetRowForURL( in DoAutocomplete()
|