Searched refs:archived_db_ (Results 1 – 5 of 5) sorted by relevance
/external/chromium/chrome/browser/history/ |
D | expire_history_backend_unittest.cc | 110 scoped_ptr<ArchivedDatabase> archived_db_; member in history::ExpireHistoryTest 136 archived_db_.reset(new ArchivedDatabase); in SetUp() 137 if (!archived_db_->Init(archived_name)) in SetUp() 138 archived_db_.reset(); in SetUp() 150 expirer_.SetDatabases(main_db_.get(), archived_db_.get(), thumb_db_.get(), in SetUp() 165 archived_db_.reset(); in TearDown() 489 expirer_.SetDatabases(main_db_.get(), archived_db_.get(), thumb_db_.get(), in TEST_F() 502 expirer_.SetDatabases(main_db_.get(), archived_db_.get(), thumb_db_.get(), 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() [all …]
|
D | history_backend.cc | 163 archived_db_(archived_db), in URLQuerier() 176 if (!archived_db_ || !archived_db_->GetRowForURL(url, row)) { in GetRowForURL() 189 URLDatabase* archived_db_; // Possibly NULL. member in history::HistoryBackend::URLQuerier 228 if (archived_db_.get()) { in ~HistoryBackend() 229 archived_db_->CommitTransaction(); in ~HistoryBackend() 230 archived_db_.reset(); in ~HistoryBackend() 611 archived_db_.reset(new ArchivedDatabase()); in InitImpl() 612 if (!archived_db_->Init(archived_name)) { in InitImpl() 614 archived_db_.reset(); in InitImpl() 624 expirer_.SetDatabases(db_.get(), archived_db_.get(), in InitImpl() [all …]
|
D | expire_history_backend.cc | 168 archived_db_(NULL), in ExpireHistoryBackend() 183 archived_db_ = archived_db; in SetDatabases() 431 if (!archived_db_) in ArchiveOneURL() 437 if (archived_db_->GetRowForURL(url_row.url(), &archived_row)) { in ArchiveOneURL() 443 archived_db_->UpdateURLRow(archived_row.id(), archived_row); in ArchiveOneURL() 448 return archived_db_->AddURL(url_row); in ArchiveOneURL() 522 if (!archived_db_ || !main_db_) in ArchiveURLsAndVisits() 567 archived_db_->AddVisit( in ArchiveURLsAndVisits()
|
D | expire_history_backend.h | 254 ArchivedDatabase* archived_db_; // Old history. variable
|
D | history_backend.h | 534 scoped_ptr<ArchivedDatabase> archived_db_; variable
|