/external/chromium_org/chrome/browser/history/android/ |
android_cache_database_unittest.cc | 33 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); 35 history_db_.InitAndroidCacheDatabase(android_cache_db_name_)); 40 HistoryDatabase history_db_; member in class:history::AndroidCacheDatabaseTest 66 static_cast<AndroidCacheDatabase*>(&history_db_); 77 SearchTermID id1 = history_db_.AddSearchTerm(search_term1, search_time1); 80 ASSERT_EQ(id1, history_db_.GetSearchTerm(search_term1, &row1)); 90 ASSERT_TRUE(history_db_.UpdateSearchTerm(id1, update_row1)); 91 EXPECT_EQ(id1, history_db_.GetSearchTerm(update_row1.term, &row1)); 99 SearchTermID id2 = history_db_.AddSearchTerm(search_term2, search_time2); 101 ASSERT_TRUE(history_db_.SetKeywordSearchTermsForURL(1, 1, search_term2)) [all...] |
android_urls_sql_handler.cc | 22 history_db_(history_db) { 36 if (!history_db_->GetAndroidURLRow(ids_set[0].url_id, &android_url_row)) 39 return history_db_->UpdateAndroidURLRow(android_url_row.id, row.raw_url(), 44 AndroidURLID new_id = history_db_->AddAndroidURLRow(row->raw_url(), 59 return history_db_->DeleteAndroidURLRows(ids);
|
visit_sql_handler_unittest.cc | 26 : urls_sql_handler_(&history_db_), 27 visit_sql_handler_(&history_db_) { 37 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name)); 43 HistoryDatabase history_db_; member in class:history::VisitSQLHandlerTest 63 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 67 ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)); 82 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 85 ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)); 102 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 105 ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)) [all...] |
urls_sql_handler_unittest.cc | 26 : urls_sql_handler_(&history_db_), 27 visit_sql_handler_(&history_db_) { 37 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name)); 43 HistoryDatabase history_db_; member in class:history::UrlsSQLHandlerTest 61 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 80 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 99 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 118 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 138 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 157 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)) [all...] |
visit_sql_handler.cc | 25 history_db_(history_db) { 47 if (!history_db_->GetVisitsForURL(id->url_id, &visits)) 51 if (!history_db_->GetURLRow(id->url_id, &url_row)) 85 if (!history_db_->GetURLRow(row->url_id(), &url_row)) 120 return history_db_->AddVisit(&visit_row, SOURCE_BROWSED); 136 if (!history_db_->GetVisitsForURL(url_id, &visits)) 140 history_db_->DeleteVisit(*v);
|
android_provider_backend.cc | 126 history_db_(history_db), 145 ScopedTransaction transaction(history_db_, thumbnail_db_); 163 ScopedTransaction transaction(history_db_, thumbnail_db_); 178 ScopedTransaction transaction(history_db_, thumbnail_db_); 195 ScopedTransaction transaction(history_db_, thumbnail_db_); 212 ScopedTransaction transaction(history_db_, thumbnail_db_); 236 : history_db_(history_db), 239 history_transaction_nesting_(history_db_->transaction_nesting()), 250 history_db_->CommitTransaction(); 251 history_db_->BeginTransaction() [all...] |
android_urls_sql_handler.h | 28 HistoryDatabase* history_db_; member in class:history::AndroidURLsSQLHandler
|
urls_sql_handler.h | 27 HistoryDatabase* history_db_; member in class:history::UrlsSQLHandler
|
android_provider_backend_unittest.cc | 190 HistoryDatabase history_db_; member in class:history::AndroidProviderBackendTest 268 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); 270 &history_db_)); 274 new AndroidProviderBackend(android_cache_db_name_, &history_db_, 282 ASSERT_TRUE(history_db_.GetRowForURL(url3, &url_row)); 317 ASSERT_TRUE(history_db_.DeleteURLRow(url_id2)); 319 ASSERT_TRUE(history_db_.GetMostRecentVisitsForURL(url_id2, 10, 324 history_db_.DeleteVisit(*v); 418 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_)); 420 &history_db_)); [all...] |
bookmark_model_sql_handler_unittest.cc | 60 history_db_.Init(history_db_name); 75 HistoryDatabase history_db_; member in class:history::BookmarkModelSQLHandlerTest 85 BookmarkModelSQLHandler handler(&history_db_); 106 BookmarkModelSQLHandler handler(&history_db_); 122 URLID url_id = history_db_.AddURL(url_row); 136 BookmarkModelSQLHandler handler(&history_db_); 185 history_db_.UpdateURLRow(url_id, url_row); 217 BookmarkModelSQLHandler handler(&history_db_);
|
urls_sql_handler.cc | 24 history_db_(history_db) { 33 URLID id = history_db_->GetRowForURL(row->url(), &url_row); 72 URLID new_id = history_db_->AddURL(url_row); 102 if (!history_db_->GetURLRow(ids->url_id, &url_row)) 139 if (!history_db_->UpdateURLRow(ids->url_id, update_row)) 148 if (!history_db_->DeleteURLRow(ids->url_id))
|
visit_sql_handler.h | 43 HistoryDatabase* history_db_; member in class:history::VisitSQLHandler
|
android_provider_backend.h | 180 HistoryDatabase* history_db_; member in class:history::AndroidProviderBackend::ScopedTransaction 336 HistoryDatabase* history_db_; member in class:history::AndroidProviderBackend
|