history_db_ 33 chrome/browser/history/android/android_cache_database_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 35 chrome/browser/history/android/android_cache_database_unittest.cc history_db_.InitAndroidCacheDatabase(android_cache_db_name_)); history_db_ 40 chrome/browser/history/android/android_cache_database_unittest.cc HistoryDatabase history_db_; history_db_ 66 chrome/browser/history/android/android_cache_database_unittest.cc static_cast<AndroidCacheDatabase*>(&history_db_); history_db_ 77 chrome/browser/history/android/android_cache_database_unittest.cc SearchTermID id1 = history_db_.AddSearchTerm(search_term1, search_time1); history_db_ 80 chrome/browser/history/android/android_cache_database_unittest.cc ASSERT_EQ(id1, history_db_.GetSearchTerm(search_term1, &row1)); history_db_ 90 chrome/browser/history/android/android_cache_database_unittest.cc ASSERT_TRUE(history_db_.UpdateSearchTerm(id1, update_row1)); history_db_ 91 chrome/browser/history/android/android_cache_database_unittest.cc EXPECT_EQ(id1, history_db_.GetSearchTerm(update_row1.term, &row1)); history_db_ 99 chrome/browser/history/android/android_cache_database_unittest.cc SearchTermID id2 = history_db_.AddSearchTerm(search_term2, search_time2); history_db_ 101 chrome/browser/history/android/android_cache_database_unittest.cc ASSERT_TRUE(history_db_.SetKeywordSearchTermsForURL(1, 1, search_term2)); history_db_ 102 chrome/browser/history/android/android_cache_database_unittest.cc ASSERT_TRUE(history_db_.DeleteUnusedSearchTerms()); history_db_ 105 chrome/browser/history/android/android_cache_database_unittest.cc EXPECT_FALSE(history_db_.GetSearchTerm(update_row1.term, NULL)); history_db_ 107 chrome/browser/history/android/android_cache_database_unittest.cc ASSERT_EQ(id2, history_db_.GetSearchTerm(search_term2, &row1)); history_db_ 157 chrome/browser/history/android/android_provider_backend.cc : history_db_(history_db), history_db_ 160 chrome/browser/history/android/android_provider_backend.cc history_transaction_nesting_(history_db_->transaction_nesting()), history_db_ 171 chrome/browser/history/android/android_provider_backend.cc history_db_->CommitTransaction(); history_db_ 172 chrome/browser/history/android/android_provider_backend.cc history_db_->BeginTransaction(); history_db_ 184 chrome/browser/history/android/android_provider_backend.cc history_db_->RollbackTransaction(); history_db_ 189 chrome/browser/history/android/android_provider_backend.cc DCHECK_EQ(0, history_db_->transaction_nesting()); history_db_ 194 chrome/browser/history/android/android_provider_backend.cc history_db_->BeginTransaction(); history_db_ 205 chrome/browser/history/android/android_provider_backend.cc history_db_->CommitTransaction(); history_db_ 222 chrome/browser/history/android/android_provider_backend.cc history_db_(history_db), history_db_ 241 chrome/browser/history/android/android_provider_backend.cc ScopedTransaction transaction(history_db_, thumbnail_db_); history_db_ 259 chrome/browser/history/android/android_provider_backend.cc ScopedTransaction transaction(history_db_, thumbnail_db_); history_db_ 274 chrome/browser/history/android/android_provider_backend.cc ScopedTransaction transaction(history_db_, thumbnail_db_); history_db_ 291 chrome/browser/history/android/android_provider_backend.cc ScopedTransaction transaction(history_db_, thumbnail_db_); history_db_ 308 chrome/browser/history/android/android_provider_backend.cc ScopedTransaction transaction(history_db_, thumbnail_db_); history_db_ 374 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->GetURLRow(i->url_id, &url_row)) history_db_ 416 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->GetURLRow(row.url_id(), &url_row)) history_db_ 494 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->GetAndroidURLRow(i->url_id, &android_url_row)) history_db_ 588 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->GetSearchTerm(search_terms[0], &search_term_row)) history_db_ 598 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->DeleteKeywordSearchTerm(search_terms[0])) history_db_ 606 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->UpdateSearchTerm(search_term_row.id, search_term_row)) history_db_ 615 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->GetSearchTerm(*i, &search_term_row)) history_db_ 623 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->GetKeywordSearchTermRows(*i, &search_term_rows) || history_db_ 630 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->GetURLRow(search_term_rows[0].url_id, &url_row)) history_db_ 656 chrome/browser/history/android/android_provider_backend.cc SearchTermID id = history_db_->GetSearchTerm(values.search_term(), NULL); history_db_ 659 chrome/browser/history/android/android_provider_backend.cc id = history_db_->AddSearchTerm(values.search_term(), base::Time()); history_db_ 679 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->DeleteKeywordSearchTerm(*i)) history_db_ 696 chrome/browser/history/android/android_provider_backend.cc urls_handler_.reset(new UrlsSQLHandler(history_db_)); history_db_ 697 chrome/browser/history/android/android_provider_backend.cc visit_handler_.reset(new VisitSQLHandler(history_db_)); history_db_ 698 chrome/browser/history/android/android_provider_backend.cc android_urls_handler_.reset(new AndroidURLsSQLHandler(history_db_)); history_db_ 701 chrome/browser/history/android/android_provider_backend.cc bookmark_model_handler_.reset(new BookmarkModelSQLHandler(history_db_)); history_db_ 711 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->CreateAndroidURLsTable()) history_db_ 713 chrome/browser/history/android/android_provider_backend.cc if (sql::INIT_OK != history_db_->InitAndroidCacheDatabase( history_db_ 759 chrome/browser/history/android/android_provider_backend.cc if (history_db_->GetAndroidURLRow(urls_statement.ColumnInt64(0), NULL)) history_db_ 761 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->AddAndroidURLRow(urls_statement.ColumnString(3), history_db_ 766 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->ClearAllBookmarkCache()) history_db_ 784 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->AddBookmarkCacheRow(created_time, last_visit_time, history_db_ 792 chrome/browser/history/android/android_provider_backend.cc return history_db_->DeleteUnusedAndroidURLs(); history_db_ 811 chrome/browser/history/android/android_provider_backend.cc URLID url_id = history_db_->GetRowForURL(i->url, NULL); history_db_ 819 chrome/browser/history/android/android_provider_backend.cc url_id = history_db_->AddURL(url_row); history_db_ 824 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->AddAndroidURLRow(i->url.spec(), url_id)) history_db_ 826 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->AddBookmarkCacheRow(base::Time::UnixEpoch(), history_db_ 833 chrome/browser/history/android/android_provider_backend.cc return history_db_->MarkURLsAsBookmarked(url_ids); history_db_ 848 chrome/browser/history/android/android_provider_backend.cc URLID url_id = history_db_->GetRowForURL(icon_mapping.page_url, NULL); history_db_ 853 chrome/browser/history/android/android_provider_backend.cc history_db_->SetFaviconID(url_id, icon_mapping.icon_id); history_db_ 866 chrome/browser/history/android/android_provider_backend.cc if (history_db_->GetSearchTerm(term, &search_term_row)) { history_db_ 869 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->UpdateSearchTerm(search_term_row.id, search_term_row)) history_db_ 873 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->AddSearchTerm(term, last_visit_time)) history_db_ 877 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->DeleteUnusedSearchTerms()) history_db_ 1015 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->GetURLRow(ids[0].url_id, &old_url_row)) history_db_ 1085 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->GetURLRow(new_row.url_id(), &new_url_row)) history_db_ 1144 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->GetURLRow(i->url_id, &url_row)) history_db_ 1187 chrome/browser/history/android/android_provider_backend.cc if (history_db_->GetRowForURL(values.url(), &url_row)) { history_db_ 1203 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->GetKeywordSearchTermRow(url_row.id(), NULL)) history_db_ 1204 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->SetKeywordSearchTermsForURL(url_row.id(), history_db_ 1222 chrome/browser/history/android/android_provider_backend.cc if (!history_db_->SetKeywordSearchTermsForURL(bookmark_row.url_id(), history_db_ 191 chrome/browser/history/android/android_provider_backend.h HistoryDatabase* history_db_; history_db_ 350 chrome/browser/history/android/android_provider_backend.h HistoryDatabase* history_db_; history_db_ 194 chrome/browser/history/android/android_provider_backend_unittest.cc HistoryDatabase history_db_; history_db_ 272 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 277 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 285 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetRowForURL(url3, &url_row)); history_db_ 320 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.DeleteURLRow(url_id2)); history_db_ 322 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetMostRecentVisitsForURL(url_id2, 10, history_db_ 327 chrome/browser/history/android/android_provider_backend_unittest.cc history_db_.DeleteVisit(*v); history_db_ 421 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 427 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 510 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 513 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 618 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 622 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 715 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 718 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 805 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 808 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 825 chrome/browser/history/android/android_provider_backend_unittest.cc URLID url_id1 = history_db_.GetRowForURL(row1.url(), NULL); history_db_ 827 chrome/browser/history/android/android_provider_backend_unittest.cc URLID url_id2 = history_db_.GetRowForURL(row2.url(), NULL); history_db_ 832 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(url_id1, &visits)); history_db_ 835 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(url_id2, &visits)); history_db_ 875 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(history_db_.GetRowForURL(row1.url(), NULL)); history_db_ 877 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_TRUE(history_db_.GetVisitsForURL(url_id1, &visits)); history_db_ 881 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_TRUE(history_db_.GetRowForURL(update_row1.url(), &new_row)); history_db_ 886 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_TRUE(history_db_.GetVisitsForURL(new_row.id(), &visits)); history_db_ 889 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetAndroidURLRow(new_row.id(), &android_url_row1)); history_db_ 940 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(history_db_.GetRowForURL(row2.url(), NULL)); history_db_ 942 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_TRUE(history_db_.GetVisitsForURL(url_id2, &visits)); history_db_ 947 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetRowForURL(update_row2.url(), &new_row2)); history_db_ 951 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_TRUE(history_db_.GetVisitsForURL(new_row2.id(), &visits)); history_db_ 954 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetAndroidURLRow(new_row2.id(), &android_url_row2)); history_db_ 958 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(new_row2.id(), &visits)); history_db_ 984 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 987 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 1019 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetRowForURL(row1.url(), &new_row1)); history_db_ 1022 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(new_row1.id(), &visits)); history_db_ 1036 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetRowForURL(row2.url(), &new_row2)); history_db_ 1039 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(new_row2.id(), &visits)); history_db_ 1064 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1067 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 1096 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetRowForURL(row1.url(), &new_row1)); history_db_ 1100 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(new_row1.id(), &visits)); history_db_ 1125 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1128 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 1190 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1193 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 1203 chrome/browser/history/android/android_provider_backend_unittest.cc URLID url_id = history_db_.GetRowForURL(row1.url(), NULL); history_db_ 1205 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.SetKeywordSearchTermsForURL(url_id, 1, term)); history_db_ 1208 chrome/browser/history/android/android_provider_backend_unittest.cc SearchTermID id = history_db_.GetSearchTerm(term, &keyword_cache); history_db_ 1221 chrome/browser/history/android/android_provider_backend_unittest.cc url_id = history_db_.GetRowForURL(row2.url(), NULL); history_db_ 1224 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.SetKeywordSearchTermsForURL(url_id, 1, term2)); history_db_ 1226 chrome/browser/history/android/android_provider_backend_unittest.cc SearchTermID search_id1 = history_db_.GetSearchTerm(term, history_db_ 1234 chrome/browser/history/android/android_provider_backend_unittest.cc SearchTermID id2 = history_db_.GetSearchTerm(term2, &keyword_cache); history_db_ 1247 chrome/browser/history/android/android_provider_backend_unittest.cc url_id = history_db_.GetRowForURL(row3.url(), NULL); history_db_ 1249 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.SetKeywordSearchTermsForURL(url_id, 1, term)); history_db_ 1252 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(search_id1, history_db_.GetSearchTerm(term, &keyword_cache)); history_db_ 1256 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(id2, history_db_.GetSearchTerm(term2, NULL)); history_db_ 1259 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.DeleteKeywordSearchTerm(term)); history_db_ 1262 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_FALSE(history_db_.GetSearchTerm(term, NULL)); history_db_ 1264 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(id2, history_db_.GetSearchTerm(term2, NULL)); history_db_ 1268 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1271 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 1281 chrome/browser/history/android/android_provider_backend_unittest.cc URLID url_id = history_db_.GetRowForURL(row1.url(), NULL); history_db_ 1283 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.SetKeywordSearchTermsForURL(url_id, 1, term)); history_db_ 1302 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1305 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 1315 chrome/browser/history/android/android_provider_backend_unittest.cc URLID url_id = history_db_.GetRowForURL(row1.url(), NULL); history_db_ 1317 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.SetKeywordSearchTermsForURL(url_id, 1, term)); history_db_ 1351 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetKeywordSearchTermRows(term, &rows)); history_db_ 1354 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetKeywordSearchTermRows(update_term, &rows)); history_db_ 1357 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetRowForURL(row1.url(), NULL)); history_db_ 1359 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetRowForURL(search_row.url(), NULL)); history_db_ 1406 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1409 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 1419 chrome/browser/history/android/android_provider_backend_unittest.cc URLID url_id = history_db_.GetRowForURL(row1.url(), NULL); history_db_ 1421 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.SetKeywordSearchTermsForURL(url_id, 1, term)); history_db_ 1446 chrome/browser/history/android/android_provider_backend_unittest.cc URLID url_id2 = history_db_.GetRowForURL(row2.url(), NULL); history_db_ 1448 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.SetKeywordSearchTermsForURL(url_id2, 1, term2)); history_db_ 1472 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetKeywordSearchTermRows(term, &rows)); history_db_ 1512 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1515 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 1566 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1569 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 1592 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_FALSE(history_db_.GetRowForURL(row2.url(), NULL)); history_db_ 1595 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_TRUE(history_db_.GetRowForURL(row1.url(), &url_row)); history_db_ 1619 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1622 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 1626 chrome/browser/history/android/android_provider_backend_unittest.cc history_db_.BeginTransaction(); history_db_ 1627 chrome/browser/history/android/android_provider_backend_unittest.cc history_db_.BeginTransaction(); history_db_ 1628 chrome/browser/history/android/android_provider_backend_unittest.cc history_db_.BeginTransaction(); history_db_ 1631 chrome/browser/history/android/android_provider_backend_unittest.cc int history_transaction = history_db_.transaction_nesting(); history_db_ 1644 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(history_transaction, history_db_.transaction_nesting()); history_db_ 1650 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(history_transaction, history_db_.transaction_nesting()); history_db_ 1662 chrome/browser/history/android/android_provider_backend_unittest.cc EXPECT_EQ(history_transaction, history_db_.transaction_nesting()); history_db_ 1669 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1672 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 1677 chrome/browser/history/android/android_provider_backend_unittest.cc history_db_.AddURL(url_row); history_db_ 1706 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1709 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 1821 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1827 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, NULL, history_db_ 1895 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1897 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, NULL, history_db_ 1974 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 1976 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, history_db_ 2038 chrome/browser/history/android/android_provider_backend_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); history_db_ 2040 chrome/browser/history/android/android_provider_backend_unittest.cc new AndroidProviderBackend(android_cache_db_name_, &history_db_, NULL, history_db_ 36 chrome/browser/history/android/android_urls_sql_handler.cc if (!history_db_->GetAndroidURLRow(ids_set[0].url_id, &android_url_row)) history_db_ 39 chrome/browser/history/android/android_urls_sql_handler.cc return history_db_->UpdateAndroidURLRow(android_url_row.id, row.raw_url(), history_db_ 44 chrome/browser/history/android/android_urls_sql_handler.cc AndroidURLID new_id = history_db_->AddAndroidURLRow(row->raw_url(), history_db_ 59 chrome/browser/history/android/android_urls_sql_handler.cc return history_db_->DeleteAndroidURLRows(ids); history_db_ 28 chrome/browser/history/android/android_urls_sql_handler.h HistoryDatabase* history_db_; history_db_ 61 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc history_db_.Init(history_db_name); history_db_ 76 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc HistoryDatabase history_db_; history_db_ 86 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc BookmarkModelSQLHandler handler(&history_db_); history_db_ 107 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc BookmarkModelSQLHandler handler(&history_db_); history_db_ 123 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc URLID url_id = history_db_.AddURL(url_row); history_db_ 137 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc BookmarkModelSQLHandler handler(&history_db_); history_db_ 186 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc history_db_.UpdateURLRow(url_id, url_row); history_db_ 218 chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc BookmarkModelSQLHandler handler(&history_db_); history_db_ 33 chrome/browser/history/android/urls_sql_handler.cc URLID id = history_db_->GetRowForURL(row->url(), &url_row); history_db_ 72 chrome/browser/history/android/urls_sql_handler.cc URLID new_id = history_db_->AddURL(url_row); history_db_ 102 chrome/browser/history/android/urls_sql_handler.cc if (!history_db_->GetURLRow(ids->url_id, &url_row)) history_db_ 139 chrome/browser/history/android/urls_sql_handler.cc if (!history_db_->UpdateURLRow(ids->url_id, update_row)) history_db_ 148 chrome/browser/history/android/urls_sql_handler.cc if (!history_db_->DeleteURLRow(ids->url_id)) history_db_ 27 chrome/browser/history/android/urls_sql_handler.h HistoryDatabase* history_db_; history_db_ 26 chrome/browser/history/android/urls_sql_handler_unittest.cc : urls_sql_handler_(&history_db_), history_db_ 27 chrome/browser/history/android/urls_sql_handler_unittest.cc visit_sql_handler_(&history_db_) { history_db_ 37 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name)); history_db_ 43 chrome/browser/history/android/urls_sql_handler_unittest.cc HistoryDatabase history_db_; history_db_ 61 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 80 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 99 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 118 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 138 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 157 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 177 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 191 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 210 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 224 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 231 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 248 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 260 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 278 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 303 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 315 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 330 chrome/browser/history/android/urls_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 340 chrome/browser/history/android/urls_sql_handler_unittest.cc EXPECT_FALSE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 47 chrome/browser/history/android/visit_sql_handler.cc if (!history_db_->GetVisitsForURL(id->url_id, &visits)) history_db_ 51 chrome/browser/history/android/visit_sql_handler.cc if (!history_db_->GetURLRow(id->url_id, &url_row)) history_db_ 85 chrome/browser/history/android/visit_sql_handler.cc if (!history_db_->GetURLRow(row->url_id(), &url_row)) history_db_ 120 chrome/browser/history/android/visit_sql_handler.cc return history_db_->AddVisit(&visit_row, SOURCE_BROWSED); history_db_ 136 chrome/browser/history/android/visit_sql_handler.cc if (!history_db_->GetVisitsForURL(url_id, &visits)) history_db_ 140 chrome/browser/history/android/visit_sql_handler.cc history_db_->DeleteVisit(*v); history_db_ 43 chrome/browser/history/android/visit_sql_handler.h HistoryDatabase* history_db_; history_db_ 26 chrome/browser/history/android/visit_sql_handler_unittest.cc : urls_sql_handler_(&history_db_), history_db_ 27 chrome/browser/history/android/visit_sql_handler_unittest.cc visit_sql_handler_(&history_db_) { history_db_ 37 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name)); history_db_ 43 chrome/browser/history/android/visit_sql_handler_unittest.cc HistoryDatabase history_db_; history_db_ 63 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 67 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)); history_db_ 82 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 85 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)); history_db_ 102 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 105 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)); history_db_ 121 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 124 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)); history_db_ 143 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 146 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)); history_db_ 168 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 182 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)); history_db_ 200 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 211 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 216 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)); history_db_ 232 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 245 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)); history_db_ 263 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 275 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 290 chrome/browser/history/android/visit_sql_handler_unittest.cc ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); history_db_ 300 chrome/browser/history/android/visit_sql_handler_unittest.cc EXPECT_FALSE(history_db_.GetURLRow(row.url_id(), &url_row));