Home
last modified time | relevance | path

Searched refs:thumb_db_ (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/history/
Dexpire_history_backend_unittest.cc111 scoped_ptr<ThumbnailDatabase> thumb_db_; member in history::ExpireHistoryTest
141 thumb_db_.reset(new ThumbnailDatabase); in SetUp()
142 if (thumb_db_->Init(thumb_name, NULL, main_db_.get()) != sql::INIT_OK) in SetUp()
143 thumb_db_.reset(); in SetUp()
150 expirer_.SetDatabases(main_db_.get(), archived_db_.get(), thumb_db_.get(), in SetUp()
166 thumb_db_.reset(); in TearDown()
203 FaviconID favicon1 = thumb_db_->AddFavicon(GURL("http://favicon/url1"), in AddExampleData()
205 FaviconID favicon2 = thumb_db_->AddFavicon(GURL("http://favicon/url2"), in AddExampleData()
213 thumb_db_->AddIconMapping(url_row1.url(), favicon1); in AddExampleData()
220 thumb_db_->AddIconMapping(url_row2.url(), favicon1); in AddExampleData()
[all …]
Dexpire_history_backend.cc169 thumb_db_(NULL), in ExpireHistoryBackend()
184 thumb_db_ = thumb_db; in SetDatabases()
320 if (!thumb_db_) in DeleteFaviconsIfPossible()
325 if (!thumb_db_->HasMappingFor(*i)) in DeleteFaviconsIfPossible()
326 thumb_db_->DeleteFavicon(*i); in DeleteFaviconsIfPossible()
411 if (thumb_db_) { in DeleteOneURL()
412 thumb_db_->DeleteThumbnail(url_row.id()); in DeleteOneURL()
416 if (thumb_db_->GetIconMappingsForPageURL(url_row.url(), &icon_mappings)) { in DeleteOneURL()
422 thumb_db_->DeleteIconMappings(url_row.url()); in DeleteOneURL()
Dexpire_history_backend.h255 ThumbnailDatabase* thumb_db_; // Thumbnails and favicons. variable