Lines Matching refs:db_
15 : db_(new TopSitesDatabase()) {
81 DCHECK(!db_.get()); // Shutdown should have happened first (which results in
87 if (!db_->Init(path)) {
89 db_.reset();
95 db_.reset();
106 if (db_.get()) {
107 db_->GetPageThumbnails(&(request->value->most_visited),
109 may_need_history_migration = db_->may_need_history_migration();
118 if (!db_.get())
122 db_->RemoveURL(delta.deleted[i]);
125 db_->SetPageThumbnail(delta.added[i].url, delta.added[i].rank, Images());
128 db_->UpdatePageRank(delta.moved[i].url, delta.moved[i].rank);
134 if (!db_.get())
137 db_->SetPageThumbnail(url, url_rank, thumbnail);
142 db_.reset(NULL);
144 db_.reset(new TopSitesDatabase());