HomeSort by relevance Sort by last modified time
    Searched refs:main_db_ (Results 1 - 4 of 4) sorted by null

  /external/chromium/chrome/browser/history/
expire_history_backend_unittest.cc 109 scoped_ptr<HistoryDatabase> main_db_; member in class:history::ExpireHistoryTest
131 main_db_.reset(new HistoryDatabase);
132 if (main_db_->Init(history_name, FilePath()) != sql::INIT_OK)
133 main_db_.reset();
142 if (thumb_db_->Init(thumb_name, NULL, main_db_.get()) != sql::INIT_OK)
146 main_db_.get(), main_db_.get()));
150 expirer_.SetDatabases(main_db_.get(), archived_db_.get(), thumb_db_.get(),
164 main_db_.reset();
192 if (!main_db_.get() || !text_db_.get()
    [all...]
expire_history_backend.cc 167 main_db_(NULL),
182 main_db_ = main_db;
189 if (!main_db_)
193 if (!main_db_->GetRowForURL(url, &url_row))
201 main_db_->GetVisitsForURL(url_row.id(), &visits);
226 if (!main_db_)
236 main_db_->GetAllVisitsInRange(begin_time, end_time, 0, &visits);
241 url_ids.insert(main_db_->GetRowForURL(*url, NULL));
270 if (!main_db_)
370 main_db_->DeleteVisit(visits[i])
    [all...]
expire_history_backend.h 150 // Assumes the main_db_ is non-NULL.
253 HistoryDatabase* main_db_; // Main history database. member in class:history::ExpireHistoryBackend
history_backend.cc 162 : main_db_(main_db),
175 if (!main_db_->GetRowForURL(url, row)) {
188 URLDatabase* main_db_; // Guaranteed non-NULL. member in class:history::HistoryBackend::URLQuerier
    [all...]

Completed in 275 milliseconds