HomeSort by relevance Sort by last modified time
    Searched full:history_db_ (Results 1 - 13 of 13) sorted by null

  /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 157 : history_db_(history_db),
160 history_transaction_nesting_(history_db_->transaction_nesting()),
171 history_db_->CommitTransaction();
172 history_db_->BeginTransaction();
184 history_db_->RollbackTransaction();
189 DCHECK_EQ(0, history_db_->transaction_nesting());
194 history_db_->BeginTransaction();
205 history_db_->CommitTransaction();
222 history_db_(history_db),
241 ScopedTransaction transaction(history_db_, thumbnail_db_)
    [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 197 HistoryDatabase history_db_; member in class:history::AndroidProviderBackendTest
276 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
282 &history_db_,
292 ASSERT_TRUE(history_db_.GetRowForURL(url3, &url_row));
327 ASSERT_TRUE(history_db_.DeleteURLRow(url_id2));
329 ASSERT_TRUE(history_db_.GetMostRecentVisitsForURL(url_id2, 10,
334 history_db_.DeleteVisit(*v);
429 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
436 &history_db_,
521 ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_))
    [all...]
bookmark_model_sql_handler_unittest.cc 61 history_db_.Init(history_db_name);
76 HistoryDatabase history_db_; member in class:history::BookmarkModelSQLHandlerTest
86 BookmarkModelSQLHandler handler(&history_db_);
107 BookmarkModelSQLHandler handler(&history_db_);
123 URLID url_id = history_db_.AddURL(url_row);
137 BookmarkModelSQLHandler handler(&history_db_);
186 history_db_.UpdateURLRow(url_id, url_row);
218 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 190 HistoryDatabase* history_db_; member in class:history::AndroidProviderBackend::ScopedTransaction
349 HistoryDatabase* history_db_; member in class:history::AndroidProviderBackend

Completed in 214 milliseconds