db_               317 chrome/browser/autocomplete/history_url_provider.cc   history::URLDatabase* db_;
db_               329 chrome/browser/autocomplete/history_url_provider.cc       db_(db),
db_               342 chrome/browser/autocomplete/history_url_provider.cc   if (db_->GetRowForURL(url, &url_row_)) {
db_               347 chrome/browser/autocomplete/history_url_provider.cc   if (provider_->CanFindIntranetURL(db_, input)) {
db_                77 chrome/browser/autocomplete/shortcuts_backend.cc     db_ = new history::ShortcutsDatabase(
db_               200 chrome/browser/autocomplete/shortcuts_backend.cc   db_->Init();
db_               202 chrome/browser/autocomplete/shortcuts_backend.cc   db_->LoadShortcuts(&shortcuts);
db_               238 chrome/browser/autocomplete/shortcuts_backend.cc                      db_.get(), shortcut));
db_               257 chrome/browser/autocomplete/shortcuts_backend.cc                      db_.get(), shortcut));
db_               278 chrome/browser/autocomplete/shortcuts_backend.cc                      db_.get(), shortcut_ids));
db_               304 chrome/browser/autocomplete/shortcuts_backend.cc                      db_.get(), url_spec));
db_               319 chrome/browser/autocomplete/shortcuts_backend.cc                      db_.get()));
db_               134 chrome/browser/autocomplete/shortcuts_backend.h   scoped_refptr<history::ShortcutsDatabase> db_;
db_                61 chrome/browser/extensions/activity_log/activity_database.cc   db_.set_histogram_tag("Activity");
db_                62 chrome/browser/extensions/activity_log/activity_database.cc   db_.set_error_callback(
db_                65 chrome/browser/extensions/activity_log/activity_database.cc   db_.set_page_size(4096);
db_                66 chrome/browser/extensions/activity_log/activity_database.cc   db_.set_cache_size(32);
db_                68 chrome/browser/extensions/activity_log/activity_database.cc   if (!db_.Open(db_name)) {
db_                69 chrome/browser/extensions/activity_log/activity_database.cc     LOG(ERROR) << db_.GetErrorMessage();
db_                75 chrome/browser/extensions/activity_log/activity_database.cc   sql::Transaction committer(&db_);
db_                84 chrome/browser/extensions/activity_log/activity_database.cc   if (!delegate_->InitDatabase(&db_))
db_                93 chrome/browser/extensions/activity_log/activity_database.cc   db_.Preload();
db_               112 chrome/browser/extensions/activity_log/activity_database.cc     if (!delegate_->FlushDatabase(&db_))
db_               119 chrome/browser/extensions/activity_log/activity_database.cc     if (!delegate_->FlushDatabase(&db_))
db_               141 chrome/browser/extensions/activity_log/activity_database.cc     return &db_;
db_               152 chrome/browser/extensions/activity_log/activity_database.cc     db_.reset_error_callback();
db_               166 chrome/browser/extensions/activity_log/activity_database.cc   db_.reset_error_callback();
db_               167 chrome/browser/extensions/activity_log/activity_database.cc   db_.RazeAndClose();
db_               188 chrome/browser/extensions/activity_log/activity_database.h   sql::Connection db_;
db_               221 chrome/browser/extensions/activity_log/activity_database_unittest.cc   ASSERT_EQ(1, CountActions(&activity_db->db_, "brewster"));
db_               238 chrome/browser/extensions/activity_log/activity_database_unittest.cc   ASSERT_EQ(0, CountActions(&activity_db->db_, "brewster"));
db_               243 chrome/browser/extensions/activity_log/activity_database_unittest.cc   ASSERT_EQ(1, CountActions(&activity_db->db_, "brewster"));
db_               260 chrome/browser/extensions/activity_log/activity_database_unittest.cc   ASSERT_EQ(0, CountActions(&activity_db->db_, "brewster"));
db_               264 chrome/browser/extensions/activity_log/activity_database_unittest.cc   ASSERT_EQ(1, CountActions(&activity_db->db_, "brewster"));
db_                55 chrome/browser/extensions/activity_log/activity_log_policy.cc   db_ = new ActivityDatabase(this);
db_                60 chrome/browser/extensions/activity_log/activity_log_policy.cc   ScheduleAndForget(db_, &ActivityDatabase::Init, database_path_);
db_                70 chrome/browser/extensions/activity_log/activity_log_policy.cc   return db_->GetSqlConnection();
db_               222 chrome/browser/extensions/activity_log/activity_log_policy.h   ActivityDatabase* activity_database() const { return db_; }
db_               232 chrome/browser/extensions/activity_log/activity_log_policy.h   ActivityDatabase* db_;
db_                21 chrome/browser/extensions/activity_log/database_string_table_unittest.cc     ASSERT_TRUE(db_.Open(db_file));
db_                25 chrome/browser/extensions/activity_log/database_string_table_unittest.cc     db_.Close();
db_                29 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   sql::Connection db_;
db_                35 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   table.Initialize(&db_);
db_                36 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(db_.DoesTableExist("test"));
db_                37 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(db_.DoesIndexExist("test_index"));
db_                43 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   table.Initialize(&db_);
db_                45 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(table.StringToInt(&db_, "abc", &id));
db_                48 chrome/browser/extensions/activity_log/database_string_table_unittest.cc       db_.GetUniqueStatement("SELECT id FROM test WHERE value = 'abc'"));
db_                58 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   table.Initialize(&db_);
db_                62 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(table.StringToInt(&db_, "string1", &id1));
db_                63 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(table.StringToInt(&db_, "string2", &id2));
db_                67 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(table.StringToInt(&db_, "string1", &id1a));
db_                75 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   table.Initialize(&db_);
db_                78 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(table.StringToInt(&db_, "string1", &id1));
db_                83 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(table.StringToInt(&db_, "string1", &id2));
db_                91 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   table.Initialize(&db_);
db_                94 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(table.StringToInt(&db_, "modified", &id1));
db_                97 chrome/browser/extensions/activity_log/database_string_table_unittest.cc       db_.Execute("UPDATE test SET id = id + 1 WHERE value = 'modified'"));
db_               100 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(table.StringToInt(&db_, "modified", &id2));
db_               106 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(table.StringToInt(&db_, "modified", &id3));
db_               113 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   table.Initialize(&db_);
db_               115 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_FALSE(table.IntToString(&db_, 1, &value));
db_               121 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   table.Initialize(&db_);
db_               123 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(table.StringToInt(&db_, "abc", &id));
db_               126 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(table.IntToString(&db_, id, &value));
db_               131 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   ASSERT_TRUE(table.IntToString(&db_, id, &value));
db_               139 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   table.Initialize(&db_);
db_               142 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   sql::Transaction transaction(&db_);
db_               147 chrome/browser/extensions/activity_log/database_string_table_unittest.cc     ASSERT_TRUE(table.StringToInt(&db_, base::StringPrintf("value-%d", i),
db_               221 chrome/browser/history/android/android_provider_backend.cc       db_(&history_db->GetDB()),
db_               552 chrome/browser/history/android/android_provider_backend.cc       db_->GetUniqueStatement(sql.c_str())));
db_               556 chrome/browser/history/android/android_provider_backend.cc     LOG(ERROR) << db_->GetErrorMessage();
db_               751 chrome/browser/history/android/android_provider_backend.cc   sql::Statement urls_statement(db_->GetCachedStatement(SQL_FROM_HERE,
db_               754 chrome/browser/history/android/android_provider_backend.cc     LOG(ERROR) << db_->GetErrorMessage();
db_               769 chrome/browser/history/android/android_provider_backend.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE,
db_               859 chrome/browser/history/android/android_provider_backend.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE,
db_               919 chrome/browser/history/android/android_provider_backend.cc   sql::Statement statement(db_->GetUniqueStatement(sql.c_str()));
db_               923 chrome/browser/history/android/android_provider_backend.cc     LOG(ERROR) << db_->GetErrorMessage();
db_               946 chrome/browser/history/android/android_provider_backend.cc   sql::Statement statement(db_->GetUniqueStatement(sql.c_str()));
db_               950 chrome/browser/history/android/android_provider_backend.cc     LOG(ERROR) << db_->GetErrorMessage();
db_              1125 chrome/browser/history/android/android_provider_backend.cc       db_->GetUniqueStatement(sql.c_str())));
db_              1129 chrome/browser/history/android/android_provider_backend.cc     LOG(ERROR) << db_->GetErrorMessage();
db_               348 chrome/browser/history/android/android_provider_backend.h   sql::Connection* db_;
db_               161 chrome/browser/history/android/android_provider_backend_unittest.cc     sql::Statement statement(backend->db_->GetCachedStatement(SQL_FROM_HERE,
db_               176 chrome/browser/history/android/android_provider_backend_unittest.cc     sql::Statement statement(backend->db_->GetCachedStatement(SQL_FROM_HERE,
db_                32 chrome/browser/history/archived_database.cc   db_.set_page_size(4096);
db_                36 chrome/browser/history/archived_database.cc   db_.set_cache_size(64);
db_                40 chrome/browser/history/archived_database.cc   db_.set_exclusive_locking();
db_                42 chrome/browser/history/archived_database.cc   if (!db_.Open(file_name))
db_                46 chrome/browser/history/archived_database.cc     db_.Close();
db_                54 chrome/browser/history/archived_database.cc   sql::Transaction transaction(&db_);
db_                59 chrome/browser/history/archived_database.cc   if (!meta_table_.Init(&db_, kCurrentVersionNumber,
db_                78 chrome/browser/history/archived_database.cc   db_.TrimMemory(aggressively);
db_                82 chrome/browser/history/archived_database.cc   db_.BeginTransaction();
db_                86 chrome/browser/history/archived_database.cc   db_.CommitTransaction();
db_                90 chrome/browser/history/archived_database.cc   return db_;
db_                66 chrome/browser/history/archived_database.h   sql::Connection db_;
db_               260 chrome/browser/history/history_backend.cc     if (!db_->GetRowForVisit(visit_id, &row))
db_               283 chrome/browser/history/history_backend.cc   if (!db_)
db_               311 chrome/browser/history/history_backend.cc     std::string segment_name = db_->ComputeSegmentName(url);
db_               312 chrome/browser/history/history_backend.cc     URLID url_id = db_->GetRowForURL(url, NULL);
db_               316 chrome/browser/history/history_backend.cc     if (!(segment_id = db_->GetSegmentNamed(segment_name))) {
db_               317 chrome/browser/history/history_backend.cc       if (!(segment_id = db_->CreateSegment(url_id, segment_name))) {
db_               325 chrome/browser/history/history_backend.cc       db_->UpdateSegmentRepresentationURL(segment_id, url_id);
db_               337 chrome/browser/history/history_backend.cc   if (!db_->SetSegmentID(visit_id, segment_id)) {
db_               343 chrome/browser/history/history_backend.cc   if (!db_->IncreaseSegmentVisitCount(segment_id, ts, 1)) {
db_               360 chrome/browser/history/history_backend.cc   if (!db_)
db_               365 chrome/browser/history/history_backend.cc   if (db_->GetRowForVisit(visit_id, &visit_row)) {
db_               369 chrome/browser/history/history_backend.cc     db_->UpdateVisitRow(visit_row);
db_               374 chrome/browser/history/history_backend.cc   if (!db_)
db_               417 chrome/browser/history/history_backend.cc       if (registry_length == 0 && !db_->IsTypedHost(host)) {
db_               487 chrome/browser/history/history_backend.cc             db_->GetRowForVisit(last_ids.second, &visit_row) &&
db_               491 chrome/browser/history/history_backend.cc           db_->UpdateVisitRow(visit_row);
db_               550 chrome/browser/history/history_backend.cc   DCHECK(!db_) << "Initializing HistoryBackend twice";
db_               567 chrome/browser/history/history_backend.cc   db_.reset(new HistoryDatabase());
db_               570 chrome/browser/history/history_backend.cc   db_->set_error_callback(
db_               574 chrome/browser/history/history_backend.cc   sql::InitStatus status = db_->Init(history_name);
db_               588 chrome/browser/history/history_backend.cc       db_.reset();
db_               599 chrome/browser/history/history_backend.cc     if (mem_backend->Init(history_name, db_.get()))
db_               602 chrome/browser/history/history_backend.cc   db_->BeginExclusiveMode();  // Must be after the mem backend read the data.
db_               621 chrome/browser/history/history_backend.cc   if (db_->needs_version_17_migration()) {
db_               637 chrome/browser/history/history_backend.cc     db_->ComputeDatabaseMetrics(history_name);
db_               649 chrome/browser/history/history_backend.cc   expirer_.SetDatabases(db_.get(), archived_db_.get(), thumbnail_db_.get());
db_               652 chrome/browser/history/history_backend.cc   db_->BeginTransaction();
db_               659 chrome/browser/history/history_backend.cc   db_->GetStartDate(&first_recorded_time_);
db_               667 chrome/browser/history/history_backend.cc         GetAndroidCacheFileName(), db_.get(), thumbnail_db_.get(),
db_               680 chrome/browser/history/history_backend.cc   if (db_)
db_               681 chrome/browser/history/history_backend.cc     db_->TrimMemory(trim_aggressively);
db_               689 chrome/browser/history/history_backend.cc   if (db_) {
db_               691 chrome/browser/history/history_backend.cc     db_->CommitTransaction();
db_               692 chrome/browser/history/history_backend.cc     db_.reset();
db_               738 chrome/browser/history/history_backend.cc   URLID url_id = db_->GetRowForURL(url, &url_info);
db_               753 chrome/browser/history/history_backend.cc     db_->UpdateURLRow(url_id, url_info);
db_               761 chrome/browser/history/history_backend.cc     url_id = db_->AddURL(url_info);
db_               771 chrome/browser/history/history_backend.cc   VisitID visit_id = db_->AddVisit(&visit_info, visit_source);
db_               800 chrome/browser/history/history_backend.cc   if (!db_)
db_               817 chrome/browser/history/history_backend.cc       url_database = db_.get();
db_               818 chrome/browser/history/history_backend.cc       visit_database = db_.get();
db_               876 chrome/browser/history/history_backend.cc   if (!db_)
db_               901 chrome/browser/history/history_backend.cc     URLID row_id = db_->GetRowForURL(redirects->at(i), &row);
db_               904 chrome/browser/history/history_backend.cc       db_->UpdateURLRow(row_id, row);
db_               922 chrome/browser/history/history_backend.cc   if (!db_)
db_               926 chrome/browser/history/history_backend.cc   URLID url_id = db_->GetRowForURL(url, &url_info);
db_               942 chrome/browser/history/history_backend.cc   db_->AddURL(url_info);
db_               948 chrome/browser/history/history_backend.cc   if (db_) {
db_               950 chrome/browser/history/history_backend.cc     if (db_->InitURLEnumeratorForEverything(&e)) {
db_               963 chrome/browser/history/history_backend.cc   if (db_)
db_               964 chrome/browser/history/history_backend.cc     return db_->GetAllTypedUrls(urls);
db_               969 chrome/browser/history/history_backend.cc   if (db_)
db_               970 chrome/browser/history/history_backend.cc     return db_->GetVisitsForURL(id, visits);
db_               977 chrome/browser/history/history_backend.cc   if (db_)
db_               978 chrome/browser/history/history_backend.cc     return db_->GetMostRecentVisitsForURL(id, max_visits, visits);
db_               983 chrome/browser/history/history_backend.cc   if (db_)
db_               984 chrome/browser/history/history_backend.cc     return db_->UpdateURLRow(id, url);
db_               991 chrome/browser/history/history_backend.cc   if (db_) {
db_              1006 chrome/browser/history/history_backend.cc   if (!db_)
db_              1016 chrome/browser/history/history_backend.cc   if (!db_)
db_              1019 chrome/browser/history/history_backend.cc   db_->GetVisitsSource(visits, sources);
db_              1024 chrome/browser/history/history_backend.cc   if (db_)
db_              1025 chrome/browser/history/history_backend.cc     return db_->GetRowForURL(url, url_row) != 0;
db_              1038 chrome/browser/history/history_backend.cc   if (db_) {
db_              1039 chrome/browser/history/history_backend.cc     if (db_->GetRowForURL(url, row)) {
db_              1045 chrome/browser/history/history_backend.cc         db_->GetVisitsForURL(row->id(), visits);
db_              1058 chrome/browser/history/history_backend.cc   if (db_)
db_              1059 chrome/browser/history/history_backend.cc     db_->DeleteSegmentData(Time::Now() -
db_              1070 chrome/browser/history/history_backend.cc   if (db_) {
db_              1071 chrome/browser/history/history_backend.cc     db_->QuerySegmentUsage(from_time, max_result_count, &request->value.get());
db_              1091 chrome/browser/history/history_backend.cc   if (!db_)
db_              1095 chrome/browser/history/history_backend.cc   URLID url_id = db_->GetRowForURL(url, NULL);
db_              1102 chrome/browser/history/history_backend.cc   db_->SetKeywordSearchTermsForURL(url_id, keyword_id, term);
db_              1113 chrome/browser/history/history_backend.cc   if (!db_)
db_              1116 chrome/browser/history/history_backend.cc   db_->DeleteAllSearchTermsForKeyword(keyword_id);
db_              1129 chrome/browser/history/history_backend.cc   if (db_) {
db_              1130 chrome/browser/history/history_backend.cc     db_->GetMostRecentKeywordSearchTerms(keyword_id, prefix, max_count,
db_              1137 chrome/browser/history/history_backend.cc   if (!db_)
db_              1140 chrome/browser/history/history_backend.cc   URLID url_id = db_->GetRowForURL(url, NULL);
db_              1143 chrome/browser/history/history_backend.cc   db_->DeleteKeywordSearchTermForURL(url_id);
db_              1153 chrome/browser/history/history_backend.cc   if (!db_)
db_              1157 chrome/browser/history/history_backend.cc   if (db_->GetKeywordSearchTermRows(term, &rows)) {
db_              1162 chrome/browser/history/history_backend.cc       if ((it->keyword_id == keyword_id) && db_->GetURLRow(it->url_id, &row))
db_              1172 chrome/browser/history/history_backend.cc   return db_ ? db_->GetNextDownloadId() : content::DownloadItem::kInvalidId;
db_              1177 chrome/browser/history/history_backend.cc   if (db_)
db_              1178 chrome/browser/history/history_backend.cc     db_->QueryDownloads(rows);
db_              1183 chrome/browser/history/history_backend.cc   if (!db_)
db_              1185 chrome/browser/history/history_backend.cc   db_->UpdateDownload(data);
db_              1190 chrome/browser/history/history_backend.cc   if (!db_)
db_              1192 chrome/browser/history/history_backend.cc   bool success = db_->CreateDownload(history_info);
db_              1198 chrome/browser/history/history_backend.cc   if (!db_)
db_              1200 chrome/browser/history/history_backend.cc   size_t downloads_count_before = db_->CountDownloads();
db_              1206 chrome/browser/history/history_backend.cc     db_->RemoveDownload(*it);
db_              1210 chrome/browser/history/history_backend.cc   size_t downloads_count_after = db_->CountDownloads();
db_              1239 chrome/browser/history/history_backend.cc   if (db_) {
db_              1242 chrome/browser/history/history_backend.cc       QueryHistoryBasic(db_.get(), db_.get(), options, &request->value);
db_              1253 chrome/browser/history/history_backend.cc       QueryHistoryText(db_.get(), db_.get(), text_query, options,
db_              1301 chrome/browser/history/history_backend.cc     if (url_db == db_.get()) {
db_              1305 chrome/browser/history/history_backend.cc       db_->GetRowForURL(url_result.url(), &url_result);
db_              1387 chrome/browser/history/history_backend.cc   const bool success = db_.get() &&
db_              1388 chrome/browser/history/history_backend.cc       db_->GetVisibleVisitCountToHost(url, &count, &first_visit);
db_              1398 chrome/browser/history/history_backend.cc   if (!db_) {
db_              1407 chrome/browser/history/history_backend.cc   db_->QuerySegmentUsage(base::Time::Now() - base::TimeDelta::FromDays(90),
db_              1428 chrome/browser/history/history_backend.cc   if (!db_) {
db_              1449 chrome/browser/history/history_backend.cc   if (!db_) {
db_              1456 chrome/browser/history/history_backend.cc   db_->GetDirectVisitsDuringTimes(filter, 0, &visits);
db_              1482 chrome/browser/history/history_backend.cc     if (db_->GetURLRow(data[i]->GetID(), &info)) {
db_              1495 chrome/browser/history/history_backend.cc       db_->GetVisitsForURL(current_data->GetID(), &visits);
db_              1525 chrome/browser/history/history_backend.cc   if (!db_)
db_              1529 chrome/browser/history/history_backend.cc   db_->QuerySegmentUsage(base::Time::Now() -
db_              1550 chrome/browser/history/history_backend.cc   while (db_->GetRedirectFromVisit(cur_visit, &cur_visit, &cur_url)) {
db_              1566 chrome/browser/history/history_backend.cc   if (!db_)
db_              1572 chrome/browser/history/history_backend.cc   while (db_->GetRedirectToVisit(cur_visit, &cur_visit, &cur_url)) {
db_              1586 chrome/browser/history/history_backend.cc   if (!db_)
db_              1589 chrome/browser/history/history_backend.cc   URLID from_url_id = db_->GetRowForURL(from_url, NULL);
db_              1590 chrome/browser/history/history_backend.cc   VisitID cur_visit = db_->GetMostRecentVisitForURL(from_url_id, NULL);
db_              1602 chrome/browser/history/history_backend.cc   if (!db_)
db_              1605 chrome/browser/history/history_backend.cc   URLID to_url_id = db_->GetRowForURL(to_url, NULL);
db_              1606 chrome/browser/history/history_backend.cc   VisitID cur_visit = db_->GetMostRecentVisitForURL(to_url_id, NULL);
db_              1617 chrome/browser/history/history_backend.cc   provider->ExecuteWithDB(this, db_.get(), params);
db_              1655 chrome/browser/history/history_backend.cc   if (!db_ || !thumbnail_db_)
db_              1788 chrome/browser/history/history_backend.cc   if (!thumbnail_db_ || !db_)
db_              1927 chrome/browser/history/history_backend.cc   if (!thumbnail_db_ || !db_)
db_              2007 chrome/browser/history/history_backend.cc   if (!db_ || !thumbnail_db_)
db_              2034 chrome/browser/history/history_backend.cc       if (!db_->GetRowForURL(*url, &url_row)) {
db_              2046 chrome/browser/history/history_backend.cc           db_->AddURL(url_info);
db_              2236 chrome/browser/history/history_backend.cc   if (!db_ || !thumbnail_db_)
db_              2441 chrome/browser/history/history_backend.cc   if (!db_)
db_              2452 chrome/browser/history/history_backend.cc   db_->CommitTransaction();
db_              2453 chrome/browser/history/history_backend.cc   DCHECK(db_->transaction_nesting() == 0) << "Somebody left a transaction open";
db_              2454 chrome/browser/history/history_backend.cc   db_->BeginTransaction();
db_              2487 chrome/browser/history/history_backend.cc   if (!db_) {
db_              2504 chrome/browser/history/history_backend.cc   if (request->value->RunOnDBThread(this, db_.get())) {
db_              2535 chrome/browser/history/history_backend.cc   db_->GetStartDate(&first_recorded_time_);
db_              2544 chrome/browser/history/history_backend.cc   db_->GetStartDate(&first_recorded_time_);
db_              2554 chrome/browser/history/history_backend.cc   if (!db_)
db_              2572 chrome/browser/history/history_backend.cc     db_->GetStartDate(&first_recorded_time_);
db_              2578 chrome/browser/history/history_backend.cc   if (times.empty() || !db_)
db_              2593 chrome/browser/history/history_backend.cc   QueryHistoryBasic(db_.get(), db_.get(), options, &results);
db_              2627 chrome/browser/history/history_backend.cc     db_->GetStartDate(&first_recorded_time_);
db_              2632 chrome/browser/history/history_backend.cc   if (db_) {
db_              2646 chrome/browser/history/history_backend.cc       db_->GetStartDate(&first_recorded_time_);
db_              2651 chrome/browser/history/history_backend.cc   if (!db_)
db_              2656 chrome/browser/history/history_backend.cc     if (!db_->GetRowForURL(*i, &url_row))
db_              2660 chrome/browser/history/history_backend.cc     db_->GetVisitsForURL(url_row.id(), &visits);
db_              2682 chrome/browser/history/history_backend.cc   if (!db_)
db_              2687 chrome/browser/history/history_backend.cc   db_->RollbackTransaction();
db_              2688 chrome/browser/history/history_backend.cc   bool success = db_->Raze();
db_              2701 chrome/browser/history/history_backend.cc   db_->BeginTransaction();
db_              2762 chrome/browser/history/history_backend.cc     if (!db_->GetRowForURL(starred_urls[i].url, &row))
db_              2805 chrome/browser/history/history_backend.cc   db_->GetStartDate(&first_recorded_time_);
db_              2851 chrome/browser/history/history_backend.cc   db_->ClearAndroidURLRows();
db_              2866 chrome/browser/history/history_backend.cc   if (!db_->CreateTemporaryURLTable())
db_              2872 chrome/browser/history/history_backend.cc     db_->AddTemporaryURL(*i);
db_              2876 chrome/browser/history/history_backend.cc   if (!db_->CommitTemporaryURLTable())
db_              2880 chrome/browser/history/history_backend.cc   db_->RecreateAllTablesButURL();
db_              2885 chrome/browser/history/history_backend.cc   db_->CommitTransaction();
db_              2886 chrome/browser/history/history_backend.cc   db_->Vacuum();
db_              2887 chrome/browser/history/history_backend.cc   db_->BeginTransaction();
db_              2888 chrome/browser/history/history_backend.cc   db_->GetStartDate(&first_recorded_time_);
db_               460 chrome/browser/history/history_backend.h   HistoryDatabase* db() const { return db_.get(); }
db_               817 chrome/browser/history/history_backend.h   scoped_ptr<HistoryDatabase> db_;
db_               480 chrome/browser/history/history_backend_unittest.cc   URLID row1_id = backend_->db_->GetRowForURL(row1.url(), NULL);
db_               481 chrome/browser/history/history_backend_unittest.cc   URLID row2_id = backend_->db_->GetRowForURL(row2.url(), NULL);
db_               485 chrome/browser/history/history_backend_unittest.cc   backend_->db_->GetVisitsForURL(row1_id, &visits);
db_               489 chrome/browser/history/history_backend_unittest.cc   backend_->db_->GetVisitsForURL(row2_id, &visits);
db_               496 chrome/browser/history/history_backend_unittest.cc   EXPECT_TRUE(mem_backend_->db_->GetRowForURL(row1.url(), NULL));
db_               506 chrome/browser/history/history_backend_unittest.cc   EXPECT_TRUE(backend_->db_->GetRowForURL(row1.url(), &outrow1));
db_               514 chrome/browser/history/history_backend_unittest.cc   EXPECT_FALSE(backend_->db_->GetRowForURL(row2.url(), &outrow2));
db_               518 chrome/browser/history/history_backend_unittest.cc   backend_->db_->GetAllVisitsInRange(Time(), Time(), 0, &all_visits);
db_               580 chrome/browser/history/history_backend_unittest.cc   EXPECT_TRUE(backend_->db_->GetRowForURL(url, &outrow));
db_               584 chrome/browser/history/history_backend_unittest.cc   backend_->db_->GetAllVisitsInRange(Time(), Time(), 0, &all_visits);
db_               591 chrome/browser/history/history_backend_unittest.cc   EXPECT_FALSE(backend_->db_->GetRowForURL(url, &outrow));
db_               594 chrome/browser/history/history_backend_unittest.cc   backend_->db_->GetAllVisitsInRange(Time(), Time(), 0, &all_visits);
db_               601 chrome/browser/history/history_backend_unittest.cc   EXPECT_FALSE(backend_->db_->GetRowForURL(url, &outrow));
db_               604 chrome/browser/history/history_backend_unittest.cc   backend_->db_->GetAllVisitsInRange(Time(), Time(), 0, &all_visits);
db_               646 chrome/browser/history/history_backend_unittest.cc   URLID row1_id = backend_->db_->GetRowForURL(row1.url(), NULL);
db_               647 chrome/browser/history/history_backend_unittest.cc   URLID row2_id = backend_->db_->GetRowForURL(row2.url(), NULL);
db_               661 chrome/browser/history/history_backend_unittest.cc   EXPECT_EQ(row2_id, backend_->db_->GetRowForURL(row2.url(), NULL));
db_               663 chrome/browser/history/history_backend_unittest.cc   backend_->db_->GetVisitsForURL(row2_id, &visits);
db_               681 chrome/browser/history/history_backend_unittest.cc   EXPECT_FALSE(backend_->db_->GetRowForURL(row2.url(), &tmp_url_row));
db_               697 chrome/browser/history/history_backend_unittest.cc   EXPECT_EQ(row1_id, backend_->db_->GetRowForURL(row1.url(), NULL));
db_               701 chrome/browser/history/history_backend_unittest.cc   backend_->db_->GetVisitsForURL(row1_id, &visits);
db_               815 chrome/browser/history/history_backend_unittest.cc   EXPECT_FALSE(backend_->db_->GetRowForURL(row1.url(), &url_row1) == 0);
db_               816 chrome/browser/history/history_backend_unittest.cc   EXPECT_FALSE(backend_->db_->GetRowForURL(row2.url(), &url_row2) == 0);
db_               831 chrome/browser/history/history_backend_unittest.cc   EXPECT_FALSE(backend_->db_->GetRowForURL(row1.url(), &url_row1) == 0);
db_               832 chrome/browser/history/history_backend_unittest.cc   EXPECT_FALSE(backend_->db_->GetRowForURL(row2.url(), &url_row2) == 0);
db_               857 chrome/browser/history/history_backend_unittest.cc   EXPECT_TRUE(backend_->db_->GetRowForURL(url3, &url_row3) == 0);
db_               863 chrome/browser/history/history_backend_unittest.cc   EXPECT_FALSE(backend_->db_->GetRowForURL(url3, &url_row3) == 0);
db_               884 chrome/browser/history/history_backend_unittest.cc   URLID row_id = backend_->db_->GetRowForURL(stripped_url, NULL);
db_               885 chrome/browser/history/history_backend_unittest.cc   backend_->db_->GetVisitsForURL(row_id, &visits);
db_               914 chrome/browser/history/history_backend_unittest.cc   URLID row_id = backend_->db_->GetRowForURL(url, NULL);
db_               915 chrome/browser/history/history_backend_unittest.cc   backend_->db_->GetVisitsForURL(row_id, &visits);
db_               969 chrome/browser/history/history_backend_unittest.cc   URLID row_id = backend_->db_->GetRowForURL(url, &row);
db_               970 chrome/browser/history/history_backend_unittest.cc   backend_->db_->GetVisitsForURL(row_id, &visits);
db_              1248 chrome/browser/history/history_backend_unittest.cc   backend_->db_->AddURL(url_info1);
db_              1255 chrome/browser/history/history_backend_unittest.cc   backend_->db_->AddURL(url_info2);
db_              2654 chrome/browser/history/history_backend_unittest.cc       backend_->db_->GetRowForURL(GURL("http://example.com"), NULL),
db_              2666 chrome/browser/history/history_backend_unittest.cc       backend_->db_->GetRowForURL(GURL("http://example.net"), NULL),
db_                44 chrome/browser/history/history_database.cc   db_.set_histogram_tag("History");
db_                47 chrome/browser/history/history_database.cc   db_.set_error_callback(error_callback_);
db_                53 chrome/browser/history/history_database.cc   db_.set_page_size(4096);
db_                59 chrome/browser/history/history_database.cc   db_.set_cache_size(1000);
db_                65 chrome/browser/history/history_database.cc   if (!db_.Open(history_name))
db_                70 chrome/browser/history/history_database.cc   sql::Transaction committer(&db_);
db_                80 chrome/browser/history/history_database.cc   db_.Preload();
db_                85 chrome/browser/history/history_database.cc   if (!meta_table_.Init(&db_, GetCurrentVersion(), kCompatibleVersionNumber))
db_               114 chrome/browser/history/history_database.cc   sql::Statement url_count(db_.GetUniqueStatement("SELECT count(*) FROM urls"));
db_               119 chrome/browser/history/history_database.cc   sql::Statement visit_count(db_.GetUniqueStatement(
db_               126 chrome/browser/history/history_database.cc   sql::Statement weekly_visit_sql(db_.GetUniqueStatement(
db_               135 chrome/browser/history/history_database.cc   sql::Statement monthly_visit_sql(db_.GetUniqueStatement(
db_               154 chrome/browser/history/history_database.cc     sql::Statement url_sql(db_.GetUniqueStatement(
db_               187 chrome/browser/history/history_database.cc   ignore_result(db_.Execute("PRAGMA locking_mode=EXCLUSIVE"));
db_               196 chrome/browser/history/history_database.cc   db_.BeginTransaction();
db_               200 chrome/browser/history/history_database.cc   db_.CommitTransaction();
db_               204 chrome/browser/history/history_database.cc   db_.RollbackTransaction();
db_               231 chrome/browser/history/history_database.cc   DCHECK_EQ(0, db_.transaction_nesting()) <<
db_               233 chrome/browser/history/history_database.cc   ignore_result(db_.Execute("VACUUM"));
db_               237 chrome/browser/history/history_database.cc   db_.TrimMemory(aggressively);
db_               241 chrome/browser/history/history_database.cc   return db_.Raze();
db_               245 chrome/browser/history/history_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
db_               249 chrome/browser/history/history_database.cc   DCHECK(db_.GetLastChangeCount() == 1);
db_               255 chrome/browser/history/history_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
db_               290 chrome/browser/history/history_database.cc   return db_;
db_               313 chrome/browser/history/history_database.cc     if (!db_.Execute("DROP TABLE starred") || !DropStarredIDFromURLs()) {
db_               446 chrome/browser/history/history_database.cc   ignore_result(db_.Execute(
db_               450 chrome/browser/history/history_database.cc   ignore_result(db_.Execute(
db_               454 chrome/browser/history/history_database.cc   ignore_result(db_.Execute(
db_                54 chrome/browser/history/history_database.h     explicit TransactionScoper(HistoryDatabase* db) : db_(db) {
db_                55 chrome/browser/history/history_database.h       db_->BeginTransaction();
db_                58 chrome/browser/history/history_database.h       db_->CommitTransaction();
db_                61 chrome/browser/history/history_database.h     HistoryDatabase* db_;
db_               107 chrome/browser/history/history_database.h     return db_.transaction_nesting();
db_               198 chrome/browser/history/history_database.h   sql::Connection db_;
db_               110 chrome/browser/history/history_unittest.cc   HistoryBackendDBTest() : db_(NULL) {
db_               125 chrome/browser/history/history_unittest.cc     db_ = backend_->db_.get();
db_               188 chrome/browser/history/history_unittest.cc     return db_->CreateDownload(download);
db_               201 chrome/browser/history/history_unittest.cc   HistoryDatabase* db_;  // Cached reference to the backend's database.
db_               226 chrome/browser/history/history_unittest.cc   db_->QueryDownloads(&downloads);
db_               234 chrome/browser/history/history_unittest.cc   db_->QueryDownloads(&downloads);
db_               258 chrome/browser/history/history_unittest.cc   db_->QueryDownloads(&downloads);
db_               260 chrome/browser/history/history_unittest.cc   db_->RemoveDownload(id);
db_               261 chrome/browser/history/history_unittest.cc   db_->QueryDownloads(&downloads);
db_               650 chrome/browser/history/history_unittest.cc   db_->RemoveDownload(id2);
db_               651 chrome/browser/history/history_unittest.cc   db_->RemoveDownload(id3);
db_               691 chrome/browser/history/history_unittest.cc   EXPECT_FALSE(db_->CreateDownload(download));
db_               694 chrome/browser/history/history_unittest.cc   EXPECT_TRUE(db_->CreateDownload(download));
db_               707 chrome/browser/history/history_unittest.cc   db_->QueryDownloads(&downloads);
db_               755 chrome/browser/history/history_unittest.cc   db_->QueryDownloads(&results);
db_              1827 chrome/browser/history/history_unittest.cc   db_->QuerySegmentUsage(segment_time, 10, &results);
db_                24 chrome/browser/history/in_memory_database.cc   db_.set_page_size(4096);
db_                26 chrome/browser/history/in_memory_database.cc   if (!db_.OpenInMemory()) {
db_                32 chrome/browser/history/in_memory_database.cc   ignore_result(db_.Execute("PRAGMA auto_vacuum=1"));
db_                35 chrome/browser/history/in_memory_database.cc   ignore_result(db_.Execute("PRAGMA temp_store=MEMORY"));
db_                40 chrome/browser/history/in_memory_database.cc     db_.Close();
db_                47 chrome/browser/history/in_memory_database.cc     db_.Close();
db_                82 chrome/browser/history/in_memory_database.cc   if (!db_.Execute(
db_                90 chrome/browser/history/in_memory_database.cc   UMA_HISTOGRAM_COUNTS("History.InMemoryDBItemCount", db_.GetLastChangeCount());
db_                95 chrome/browser/history/in_memory_database.cc     sql::Statement visit_count(db_.GetUniqueStatement(
db_               105 chrome/browser/history/in_memory_database.cc   if (!db_.Execute(
db_               117 chrome/browser/history/in_memory_database.cc                        db_.GetLastChangeCount());
db_               121 chrome/browser/history/in_memory_database.cc   if (!db_.Execute(
db_               131 chrome/browser/history/in_memory_database.cc                        db_.GetLastChangeCount());
db_               134 chrome/browser/history/in_memory_database.cc   if (!db_.Execute("DETACH history")) {
db_               148 chrome/browser/history/in_memory_database.cc   return db_;
db_                44 chrome/browser/history/in_memory_database.h   sql::Connection db_;
db_                32 chrome/browser/history/in_memory_history_backend.cc   db_.reset(new InMemoryDatabase);
db_                33 chrome/browser/history/in_memory_history_backend.cc   return db_->InitFromDisk(history_filename);
db_                37 chrome/browser/history/in_memory_history_backend.cc   if (!db_) {
db_               101 chrome/browser/history/in_memory_history_backend.cc       db_->DeleteAllSearchTermsForKeyword(
db_               113 chrome/browser/history/in_memory_history_backend.cc   DCHECK(db_);
db_               124 chrome/browser/history/in_memory_history_backend.cc       URLID id = db_->GetRowForURL(i->url(), NULL);
db_               126 chrome/browser/history/in_memory_history_backend.cc         db_->UpdateURLRow(id, *i);
db_               128 chrome/browser/history/in_memory_history_backend.cc         db_->AddURL(*i);
db_               134 chrome/browser/history/in_memory_history_backend.cc   DCHECK(db_);
db_               139 chrome/browser/history/in_memory_history_backend.cc     db_.reset(new InMemoryDatabase);
db_               140 chrome/browser/history/in_memory_history_backend.cc     if (!db_->InitFromScratch())
db_               141 chrome/browser/history/in_memory_history_backend.cc       db_.reset();
db_               150 chrome/browser/history/in_memory_history_backend.cc     db_->DeleteURLRow(row->id());
db_               161 chrome/browser/history/in_memory_history_backend.cc   if (!db_->GetRowForURL(details.url, &url_row)) {
db_               167 chrome/browser/history/in_memory_history_backend.cc     url_id = db_->AddURL(new_row);
db_               174 chrome/browser/history/in_memory_history_backend.cc   db_->SetKeywordSearchTermsForURL(url_id, details.keyword_id, details.term);
db_               179 chrome/browser/history/in_memory_history_backend.cc   URLID url_id = db_->GetRowForURL(details.url, NULL);
db_               181 chrome/browser/history/in_memory_history_backend.cc     db_->DeleteKeywordSearchTermForURL(url_id);
db_               185 chrome/browser/history/in_memory_history_backend.cc   URLID id = db_->GetRowForURL(url, NULL);
db_               189 chrome/browser/history/in_memory_history_backend.cc   return db_->GetKeywordSearchTermRow(id, NULL);
db_                60 chrome/browser/history/in_memory_history_backend.h     return db_.get();
db_                88 chrome/browser/history/in_memory_history_backend.h   scoped_ptr<InMemoryDatabase> db_;
db_               123 chrome/browser/history/shortcuts_database.cc   db_.set_histogram_tag("Shortcuts");
db_               129 chrome/browser/history/shortcuts_database.cc   db_.set_page_size(4096);
db_               133 chrome/browser/history/shortcuts_database.cc   db_.set_exclusive_locking();
db_               136 chrome/browser/history/shortcuts_database.cc   return db_.Open(database_path_) && EnsureTable();
db_               140 chrome/browser/history/shortcuts_database.cc   sql::Statement s(db_.GetCachedStatement(
db_               151 chrome/browser/history/shortcuts_database.cc   sql::Statement s(db_.GetCachedStatement(
db_               165 chrome/browser/history/shortcuts_database.cc   db_.BeginTransaction();
db_               168 chrome/browser/history/shortcuts_database.cc     success &= DeleteShortcut("id", *it, db_);
db_               170 chrome/browser/history/shortcuts_database.cc   db_.CommitTransaction();
db_               176 chrome/browser/history/shortcuts_database.cc   return DeleteShortcut("url", shortcut_url_spec, db_);
db_               180 chrome/browser/history/shortcuts_database.cc   if (!db_.Execute("DELETE FROM omni_box_shortcuts"))
db_               183 chrome/browser/history/shortcuts_database.cc   ignore_result(db_.Execute("VACUUM"));
db_               189 chrome/browser/history/shortcuts_database.cc   sql::Statement s(db_.GetCachedStatement(
db_               222 chrome/browser/history/shortcuts_database.cc   if (!db_.DoesTableExist("omni_box_shortcuts")) {
db_               223 chrome/browser/history/shortcuts_database.cc     return db_.Execute(
db_               234 chrome/browser/history/shortcuts_database.cc   if (!db_.DoesColumnExist("omni_box_shortcuts", "fill_into_edit")) {
db_               237 chrome/browser/history/shortcuts_database.cc     sql::Transaction transaction(&db_);
db_               239 chrome/browser/history/shortcuts_database.cc         db_.Execute("ALTER TABLE omni_box_shortcuts "
db_               241 chrome/browser/history/shortcuts_database.cc         db_.Execute("UPDATE omni_box_shortcuts SET fill_into_edit = url") &&
db_               242 chrome/browser/history/shortcuts_database.cc         db_.Execute("ALTER TABLE omni_box_shortcuts "
db_               244 chrome/browser/history/shortcuts_database.cc         db_.Execute(base::StringPrintf(
db_               247 chrome/browser/history/shortcuts_database.cc         db_.Execute("ALTER TABLE omni_box_shortcuts ADD COLUMN type INTEGER") &&
db_               248 chrome/browser/history/shortcuts_database.cc         db_.Execute(base::StringPrintf(
db_               251 chrome/browser/history/shortcuts_database.cc         db_.Execute("ALTER TABLE omni_box_shortcuts "
db_               258 chrome/browser/history/shortcuts_database.cc   if (!sql::MetaTable::DoesTableExist(&db_)) {
db_               259 chrome/browser/history/shortcuts_database.cc     meta_table_.Init(&db_, kCurrentVersionNumber, kCompatibleVersionNumber);
db_               260 chrome/browser/history/shortcuts_database.cc     sql::Transaction transaction(&db_);
db_               263 chrome/browser/history/shortcuts_database.cc       db_.Execute(base::StringPrintf("UPDATE omni_box_shortcuts "
db_               266 chrome/browser/history/shortcuts_database.cc       db_.Execute(base::StringPrintf("UPDATE omni_box_shortcuts "
db_               269 chrome/browser/history/shortcuts_database.cc       db_.Execute(base::StringPrintf("UPDATE omni_box_shortcuts "
db_               272 chrome/browser/history/shortcuts_database.cc       db_.Execute(base::StringPrintf("UPDATE omni_box_shortcuts "
db_               127 chrome/browser/history/shortcuts_database.h   sql::Connection db_;
db_                94 chrome/browser/history/shortcuts_database_unittest.cc   scoped_refptr<ShortcutsDatabase> db_;
db_                99 chrome/browser/history/shortcuts_database_unittest.cc   db_ = new ShortcutsDatabase(
db_               101 chrome/browser/history/shortcuts_database_unittest.cc   ASSERT_TRUE(db_->Init());
db_               106 chrome/browser/history/shortcuts_database_unittest.cc   db_ = NULL;
db_               111 chrome/browser/history/shortcuts_database_unittest.cc       s(db_->db_.GetUniqueStatement("DELETE FROM omni_box_shortcuts"));
db_               116 chrome/browser/history/shortcuts_database_unittest.cc   sql::Statement s(db_->db_.GetUniqueStatement(
db_               138 chrome/browser/history/shortcuts_database_unittest.cc     db_->AddShortcut(ShortcutFromTestInfo(shortcut_test_db[i]));
db_               148 chrome/browser/history/shortcuts_database_unittest.cc   EXPECT_TRUE(db_->AddShortcut(ShortcutFromTestInfo(shortcut_test_db[0])));
db_               150 chrome/browser/history/shortcuts_database_unittest.cc   EXPECT_TRUE(db_->AddShortcut(ShortcutFromTestInfo(shortcut_test_db[1])));
db_               152 chrome/browser/history/shortcuts_database_unittest.cc   EXPECT_TRUE(db_->AddShortcut(ShortcutFromTestInfo(shortcut_test_db[2])));
db_               161 chrome/browser/history/shortcuts_database_unittest.cc   EXPECT_TRUE(db_->UpdateShortcut(shortcut));
db_               163 chrome/browser/history/shortcuts_database_unittest.cc   db_->LoadShortcuts(&shortcuts);
db_               175 chrome/browser/history/shortcuts_database_unittest.cc   EXPECT_TRUE(db_->DeleteShortcutsWithIDs(shortcut_ids));
db_               179 chrome/browser/history/shortcuts_database_unittest.cc   db_->LoadShortcuts(&shortcuts);
db_               195 chrome/browser/history/shortcuts_database_unittest.cc   EXPECT_TRUE(db_->DeleteShortcutsWithURL("http://slashdot.org/"));
db_               199 chrome/browser/history/shortcuts_database_unittest.cc   db_->LoadShortcuts(&shortcuts);
db_               216 chrome/browser/history/shortcuts_database_unittest.cc   db_->LoadShortcuts(&shortcuts);
db_               218 chrome/browser/history/shortcuts_database_unittest.cc   EXPECT_TRUE(db_->DeleteAllShortcuts());
db_               219 chrome/browser/history/shortcuts_database_unittest.cc   db_->LoadShortcuts(&shortcuts);
db_               613 chrome/browser/history/thumbnail_database.cc     db_.Close();
db_               620 chrome/browser/history/thumbnail_database.cc       db_.GetCachedStatement(SQL_FROM_HERE, "SELECT COUNT(*) FROM favicons"));
db_               627 chrome/browser/history/thumbnail_database.cc   db_.BeginTransaction();
db_               631 chrome/browser/history/thumbnail_database.cc   db_.CommitTransaction();
db_               635 chrome/browser/history/thumbnail_database.cc   db_.RollbackTransaction();
db_               639 chrome/browser/history/thumbnail_database.cc   DCHECK(db_.transaction_nesting() == 0) <<
db_               641 chrome/browser/history/thumbnail_database.cc   ignore_result(db_.Execute("VACUUM"));
db_               645 chrome/browser/history/thumbnail_database.cc   db_.TrimMemory(aggressively);
db_               652 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               675 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               709 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               739 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               755 chrome/browser/history/thumbnail_database.cc   return db_.GetLastInsertRowId();
db_               763 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               781 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               789 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               796 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               808 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               827 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               846 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               853 chrome/browser/history/thumbnail_database.cc   return db_.GetLastInsertRowId();
db_               871 chrome/browser/history/thumbnail_database.cc   statement.Assign(db_.GetCachedStatement(SQL_FROM_HERE,
db_               877 chrome/browser/history/thumbnail_database.cc   statement.Assign(db_.GetCachedStatement(SQL_FROM_HERE,
db_               913 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               940 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, kSql));
db_               947 chrome/browser/history/thumbnail_database.cc   return db_.GetLastInsertRowId();
db_               952 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               961 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               969 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               977 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               987 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
db_               998 chrome/browser/history/thumbnail_database.cc   statement.Assign(db_.GetCachedStatement(SQL_FROM_HERE,
db_              1012 chrome/browser/history/thumbnail_database.cc   enumerator->statement_.Assign(db_.GetCachedStatement(
db_              1025 chrome/browser/history/thumbnail_database.cc   sql::Transaction transaction(&db_);
db_              1038 chrome/browser/history/thumbnail_database.cc     if (!db_.Execute(kIconMappingCreate))
db_              1045 chrome/browser/history/thumbnail_database.cc     sql::Statement statement(db_.GetUniqueStatement(kIconMappingSql));
db_              1089 chrome/browser/history/thumbnail_database.cc   if (!db_.Execute(kRenameIconMappingTable) ||
db_              1090 chrome/browser/history/thumbnail_database.cc       !db_.Execute(kRenameFaviconsTable) ||
db_              1091 chrome/browser/history/thumbnail_database.cc       !db_.Execute(kRenameFaviconBitmapsTable)) {
db_              1098 chrome/browser/history/thumbnail_database.cc   if (!InitTables(&db_))
db_              1102 chrome/browser/history/thumbnail_database.cc   if (!db_.Execute(kCopyIconMapping) ||
db_              1103 chrome/browser/history/thumbnail_database.cc       !db_.Execute(kCopyFavicons) ||
db_              1104 chrome/browser/history/thumbnail_database.cc       !db_.Execute(kCopyFaviconBitmaps)) {
db_              1109 chrome/browser/history/thumbnail_database.cc   if (!db_.Execute(kDropOldIconMappingTable) ||
db_              1110 chrome/browser/history/thumbnail_database.cc       !db_.Execute(kDropOldFaviconsTable) ||
db_              1111 chrome/browser/history/thumbnail_database.cc       !db_.Execute(kDropOldFaviconBitmapsTable)) {
db_              1118 chrome/browser/history/thumbnail_database.cc   if (!InitIndices(&db_))
db_              1122 chrome/browser/history/thumbnail_database.cc   if (!db_.Execute(kIconMappingDrop))
db_              1155 chrome/browser/history/thumbnail_database.cc   sql::InitStatus status = OpenDatabase(&db_, db_name);
db_              1161 chrome/browser/history/thumbnail_database.cc   sql::MetaTable::RazeIfDeprecated(&db_, kDeprecatedVersionNumber);
db_              1169 chrome/browser/history/thumbnail_database.cc   sql::Transaction transaction(&db_);
db_              1183 chrome/browser/history/thumbnail_database.cc   ignore_result(db_.Execute("DROP TABLE IF EXISTS thumbnails"));
db_              1191 chrome/browser/history/thumbnail_database.cc   ignore_result(db_.Execute("DROP TABLE IF EXISTS temp_favicons"));
db_              1192 chrome/browser/history/thumbnail_database.cc   ignore_result(db_.Execute("DROP TABLE IF EXISTS temp_favicon_bitmaps"));
db_              1193 chrome/browser/history/thumbnail_database.cc   ignore_result(db_.Execute("DROP TABLE IF EXISTS temp_icon_mapping"));
db_              1196 chrome/browser/history/thumbnail_database.cc   if (!meta_table_.Init(&db_, kCurrentVersionNumber,
db_              1198 chrome/browser/history/thumbnail_database.cc       !InitTables(&db_) ||
db_              1199 chrome/browser/history/thumbnail_database.cc       !InitIndices(&db_)) {
db_              1212 chrome/browser/history/thumbnail_database.cc   if (!db_.DoesColumnExist("favicons", "icon_type")) {
db_              1216 chrome/browser/history/thumbnail_database.cc     db_.RazeAndClose();
db_              1220 chrome/browser/history/thumbnail_database.cc   if (cur_version < 7 && !db_.DoesColumnExist("favicons", "sizes")) {
db_              1224 chrome/browser/history/thumbnail_database.cc     db_.RazeAndClose();
db_              1257 chrome/browser/history/thumbnail_database.cc     db_.RazeAndClose();
db_              1267 chrome/browser/history/thumbnail_database.cc   db_.Close();
db_              1274 chrome/browser/history/thumbnail_database.cc       db_.Execute("INSERT INTO favicon_bitmaps (icon_id, last_updated, "
db_              1277 chrome/browser/history/thumbnail_database.cc       db_.Execute("CREATE TABLE temp_favicons ("
db_              1284 chrome/browser/history/thumbnail_database.cc       db_.Execute("INSERT INTO temp_favicons (id, url, icon_type) "
db_              1286 chrome/browser/history/thumbnail_database.cc       db_.Execute("DROP TABLE favicons") &&
db_              1287 chrome/browser/history/thumbnail_database.cc       db_.Execute("ALTER TABLE temp_favicons RENAME TO favicons");
db_              1300 chrome/browser/history/thumbnail_database.cc       db_.Execute("CREATE TABLE temp_favicons ("
db_              1306 chrome/browser/history/thumbnail_database.cc       db_.Execute("INSERT INTO temp_favicons (id, url, icon_type) "
db_              1308 chrome/browser/history/thumbnail_database.cc       db_.Execute("DROP TABLE favicons") &&
db_              1309 chrome/browser/history/thumbnail_database.cc       db_.Execute("ALTER TABLE temp_favicons RENAME TO favicons") &&
db_              1310 chrome/browser/history/thumbnail_database.cc       db_.Execute("CREATE INDEX IF NOT EXISTS favicons_url ON favicons(url)");
db_              1321 chrome/browser/history/thumbnail_database.cc   return !db_.IsSQLValid("SELECT id, url, icon_type FROM favicons");
db_                50 chrome/browser/history/thumbnail_database.h     return db_.transaction_nesting();
db_               265 chrome/browser/history/thumbnail_database.h   sql::Connection db_;
db_               343 chrome/browser/history/thumbnail_database_unittest.cc   const std::string original_schema = db.db_.GetSchema();
db_               363 chrome/browser/history/thumbnail_database_unittest.cc   EXPECT_EQ(original_schema, db.db_.GetSchema());
db_               644 chrome/browser/history/thumbnail_database_unittest.cc   VerifyTablesAndColumns(&db->db_);
db_               647 chrome/browser/history/thumbnail_database_unittest.cc   VerifyDatabaseEmpty(&db->db_);
db_               654 chrome/browser/history/thumbnail_database_unittest.cc   VerifyTablesAndColumns(&db->db_);
db_               657 chrome/browser/history/thumbnail_database_unittest.cc   VerifyDatabaseEmpty(&db->db_);
db_               664 chrome/browser/history/thumbnail_database_unittest.cc   VerifyTablesAndColumns(&db->db_);
db_               680 chrome/browser/history/thumbnail_database_unittest.cc   VerifyTablesAndColumns(&db->db_);
db_               696 chrome/browser/history/thumbnail_database_unittest.cc   VerifyTablesAndColumns(&db->db_);
db_               950 chrome/browser/history/thumbnail_database_unittest.cc     VerifyTablesAndColumns(&db.db_);
db_                20 chrome/browser/history/top_sites_backend.cc     : db_(new TopSitesDatabase()) {
db_                81 chrome/browser/history/top_sites_backend.cc   DCHECK(!db_);  // Shutdown should have happened first (which results in
db_                87 chrome/browser/history/top_sites_backend.cc   if (!db_->Init(path)) {
db_                89 chrome/browser/history/top_sites_backend.cc     db_.reset();
db_                95 chrome/browser/history/top_sites_backend.cc   db_.reset();
db_               102 chrome/browser/history/top_sites_backend.cc   if (db_) {
db_               103 chrome/browser/history/top_sites_backend.cc     db_->GetPageThumbnails(&(thumbnails->most_visited),
db_               109 chrome/browser/history/top_sites_backend.cc   if (!db_)
db_               113 chrome/browser/history/top_sites_backend.cc     db_->RemoveURL(delta.deleted[i]);
db_               116 chrome/browser/history/top_sites_backend.cc     db_->SetPageThumbnail(delta.added[i].url, delta.added[i].rank, Images());
db_               119 chrome/browser/history/top_sites_backend.cc     db_->UpdatePageRank(delta.moved[i].url, delta.moved[i].rank);
db_               125 chrome/browser/history/top_sites_backend.cc   if (!db_)
db_               128 chrome/browser/history/top_sites_backend.cc   db_->SetPageThumbnail(url, url_rank, thumbnail);
db_               133 chrome/browser/history/top_sites_backend.cc   db_.reset(NULL);
db_               135 chrome/browser/history/top_sites_backend.cc   db_.reset(new TopSitesDatabase());
db_                90 chrome/browser/history/top_sites_backend.h   scoped_ptr<TopSitesDatabase> db_;
db_               371 chrome/browser/history/top_sites_database.cc     db_.reset();
db_               379 chrome/browser/history/top_sites_database.cc   db_.reset(CreateDB(db_name));
db_               380 chrome/browser/history/top_sites_database.cc   if (!db_)
db_               385 chrome/browser/history/top_sites_database.cc   const bool does_meta_exist = sql::MetaTable::DoesTableExist(db_.get());
db_               387 chrome/browser/history/top_sites_database.cc     if (!db_->Raze())
db_               393 chrome/browser/history/top_sites_database.cc   sql::MetaTable::RazeIfDeprecated(db_.get(), kDeprecatedVersionNumber);
db_               397 chrome/browser/history/top_sites_database.cc   sql::Transaction transaction(db_.get());
db_               402 chrome/browser/history/top_sites_database.cc   if (!meta_table_.Init(db_.get(), kVersionNumber, kVersionNumber))
db_               405 chrome/browser/history/top_sites_database.cc   if (!InitTables(db_.get()))
db_               428 chrome/browser/history/top_sites_database.cc   if (!db_->Execute(
db_               439 chrome/browser/history/top_sites_database.cc   sql::Statement statement(db_->GetCachedStatement(
db_               446 chrome/browser/history/top_sites_database.cc     LOG(WARNING) << db_->GetErrorMessage();
db_               484 chrome/browser/history/top_sites_database.cc   sql::Transaction transaction(db_.get());
db_               500 chrome/browser/history/top_sites_database.cc   sql::Statement statement(db_->GetCachedStatement(
db_               528 chrome/browser/history/top_sites_database.cc   sql::Statement statement(db_->GetCachedStatement(
db_               567 chrome/browser/history/top_sites_database.cc   sql::Transaction transaction(db_.get());
db_               576 chrome/browser/history/top_sites_database.cc   DCHECK_GT(db_->transaction_nesting(), 0);
db_               593 chrome/browser/history/top_sites_database.cc       sql::Statement shift_statement(db_->GetCachedStatement(
db_               604 chrome/browser/history/top_sites_database.cc       sql::Statement shift_statement(db_->GetCachedStatement(
db_               618 chrome/browser/history/top_sites_database.cc       sql::Statement shift_statement(db_->GetCachedStatement(
db_               629 chrome/browser/history/top_sites_database.cc       sql::Statement shift_statement(db_->GetCachedStatement(
db_               642 chrome/browser/history/top_sites_database.cc   sql::Statement set_statement(db_->GetCachedStatement(
db_               655 chrome/browser/history/top_sites_database.cc   sql::Statement statement(db_->GetCachedStatement(
db_               675 chrome/browser/history/top_sites_database.cc   sql::Statement select_statement(db_->GetCachedStatement(
db_               692 chrome/browser/history/top_sites_database.cc   sql::Transaction transaction(db_.get());
db_               696 chrome/browser/history/top_sites_database.cc     sql::Statement shift_statement(db_->GetCachedStatement(
db_               708 chrome/browser/history/top_sites_database.cc       db_->GetCachedStatement(SQL_FROM_HERE,
db_               103 chrome/browser/history/top_sites_database.h   scoped_ptr<sql::Connection> db_;
db_                95 chrome/browser/history/top_sites_database_unittest.cc   VerifyTablesAndColumns(db.db_.get());
db_                96 chrome/browser/history/top_sites_database_unittest.cc   VerifyDatabaseEmpty(db.db_.get());
db_               105 chrome/browser/history/top_sites_database_unittest.cc   VerifyTablesAndColumns(db.db_.get());
db_               132 chrome/browser/history/top_sites_database_unittest.cc   VerifyTablesAndColumns(db.db_.get());
db_               183 chrome/browser/history/top_sites_database_unittest.cc     VerifyTablesAndColumns(db.db_.get());
db_               184 chrome/browser/history/top_sites_database_unittest.cc     VerifyDatabaseEmpty(db.db_.get());
db_               220 chrome/browser/history/top_sites_database_unittest.cc     VerifyTablesAndColumns(db.db_.get());
db_               340 chrome/browser/history/top_sites_database_unittest.cc     VerifyTablesAndColumns(db.db_.get());
db_                44 chrome/browser/history/url_database_unittest.cc     return db_;
db_                53 chrome/browser/history/url_database_unittest.cc     EXPECT_TRUE(db_.Open(db_file));
db_                62 chrome/browser/history/url_database_unittest.cc     db_.Close();
db_                66 chrome/browser/history/url_database_unittest.cc   sql::Connection db_;
db_                51 chrome/browser/history/visit_database_unittest.cc     EXPECT_TRUE(db_.Open(db_file));
db_                59 chrome/browser/history/visit_database_unittest.cc     db_.Close();
db_                65 chrome/browser/history/visit_database_unittest.cc     return db_;
db_                69 chrome/browser/history/visit_database_unittest.cc   sql::Connection db_;
db_                46 chrome/browser/net/nss_context_chromeos_browsertest.cc     return !!db_;
db_                64 chrome/browser/net/nss_context_chromeos_browsertest.cc     EXPECT_NE(db_, other_tester->db_);
db_                65 chrome/browser/net/nss_context_chromeos_browsertest.cc     EXPECT_NE(db_->GetPublicSlot().get(),
db_                66 chrome/browser/net/nss_context_chromeos_browsertest.cc               other_tester->db_->GetPublicSlot().get());
db_                87 chrome/browser/net/nss_context_chromeos_browsertest.cc     db_ = db;
db_               106 chrome/browser/net/nss_context_chromeos_browsertest.cc     EXPECT_EQ(db_, db);
db_               113 chrome/browser/net/nss_context_chromeos_browsertest.cc   net::NSSCertDatabase* db_;
db_                72 chrome/browser/net/sqlite_server_bound_cert_store.cc     DCHECK(!db_.get()) << "Close should have already been called.";
db_               117 chrome/browser/net/sqlite_server_bound_cert_store.cc   scoped_ptr<sql::Connection> db_;
db_               171 chrome/browser/net/sqlite_server_bound_cert_store.cc   DCHECK(!db_.get());
db_               189 chrome/browser/net/sqlite_server_bound_cert_store.cc   DCHECK(!db_.get());
db_               203 chrome/browser/net/sqlite_server_bound_cert_store.cc   db_.reset(new sql::Connection);
db_               204 chrome/browser/net/sqlite_server_bound_cert_store.cc   db_->set_histogram_tag("DomainBoundCerts");
db_               207 chrome/browser/net/sqlite_server_bound_cert_store.cc   db_->set_error_callback(
db_               211 chrome/browser/net/sqlite_server_bound_cert_store.cc   if (!db_->Open(path_)) {
db_               215 chrome/browser/net/sqlite_server_bound_cert_store.cc     db_.reset();
db_               219 chrome/browser/net/sqlite_server_bound_cert_store.cc   if (!EnsureDatabaseVersion() || !InitTable(db_.get())) {
db_               224 chrome/browser/net/sqlite_server_bound_cert_store.cc     db_.reset();
db_               228 chrome/browser/net/sqlite_server_bound_cert_store.cc   db_->Preload();
db_               231 chrome/browser/net/sqlite_server_bound_cert_store.cc   sql::Statement smt(db_->GetUniqueStatement(
db_               238 chrome/browser/net/sqlite_server_bound_cert_store.cc     db_.reset();
db_               275 chrome/browser/net/sqlite_server_bound_cert_store.cc       db_.get(), kCurrentVersionNumber, kCompatibleVersionNumber)) {
db_               286 chrome/browser/net/sqlite_server_bound_cert_store.cc     sql::Transaction transaction(db_.get());
db_               289 chrome/browser/net/sqlite_server_bound_cert_store.cc     if (!db_->Execute("ALTER TABLE origin_bound_certs ADD COLUMN cert_type "
db_               297 chrome/browser/net/sqlite_server_bound_cert_store.cc     if (!db_->Execute("DELETE from origin_bound_certs")) {
db_               310 chrome/browser/net/sqlite_server_bound_cert_store.cc     sql::Transaction transaction(db_.get());
db_               315 chrome/browser/net/sqlite_server_bound_cert_store.cc       if (!db_->Execute("ALTER TABLE origin_bound_certs ADD COLUMN "
db_               323 chrome/browser/net/sqlite_server_bound_cert_store.cc     if (!db_->Execute("ALTER TABLE origin_bound_certs ADD COLUMN "
db_               330 chrome/browser/net/sqlite_server_bound_cert_store.cc     sql::Statement smt(db_->GetUniqueStatement(
db_               332 chrome/browser/net/sqlite_server_bound_cert_store.cc     sql::Statement update_expires_smt(db_->GetUniqueStatement(
db_               334 chrome/browser/net/sqlite_server_bound_cert_store.cc     sql::Statement update_creation_smt(db_->GetUniqueStatement(
db_               424 chrome/browser/net/sqlite_server_bound_cert_store.cc   if (db_) {
db_               427 chrome/browser/net/sqlite_server_bound_cert_store.cc     bool success = db_->RazeAndClose();
db_               430 chrome/browser/net/sqlite_server_bound_cert_store.cc     db_.reset();
db_               486 chrome/browser/net/sqlite_server_bound_cert_store.cc   if (!db_.get() || ops.empty())
db_               489 chrome/browser/net/sqlite_server_bound_cert_store.cc   sql::Statement add_smt(db_->GetCachedStatement(SQL_FROM_HERE,
db_               495 chrome/browser/net/sqlite_server_bound_cert_store.cc   sql::Statement del_smt(db_->GetCachedStatement(SQL_FROM_HERE,
db_               500 chrome/browser/net/sqlite_server_bound_cert_store.cc   sql::Transaction transaction(db_.get());
db_               560 chrome/browser/net/sqlite_server_bound_cert_store.cc   db_.reset();
db_               566 chrome/browser/net/sqlite_server_bound_cert_store.cc   if (!db_.get())
db_               575 chrome/browser/net/sqlite_server_bound_cert_store.cc   sql::Statement del_smt(db_->GetCachedStatement(
db_               582 chrome/browser/net/sqlite_server_bound_cert_store.cc   sql::Transaction transaction(db_.get());
db_               104 chrome/browser/performance_monitor/database_unittest.cc     db_ = Database::Create(temp_dir_.path());
db_               105 chrome/browser/performance_monitor/database_unittest.cc     CHECK(db_.get());
db_               106 chrome/browser/performance_monitor/database_unittest.cc     db_->set_clock(scoped_ptr<Database::Clock>(clock_));
db_               110 chrome/browser/performance_monitor/database_unittest.cc     ASSERT_TRUE(db_.get());
db_               116 chrome/browser/performance_monitor/database_unittest.cc     db_->AddEvent(*install_event_1_.get());
db_               117 chrome/browser/performance_monitor/database_unittest.cc     db_->AddEvent(*install_event_2_.get());
db_               118 chrome/browser/performance_monitor/database_unittest.cc     db_->AddEvent(*uninstall_event_1_.get());
db_               119 chrome/browser/performance_monitor/database_unittest.cc     db_->AddEvent(*uninstall_event_2_.get());
db_               122 chrome/browser/performance_monitor/database_unittest.cc   scoped_ptr<Database> db_;
db_               156 chrome/browser/performance_monitor/database_unittest.cc     db_ = Database::Create(temp_dir_.path());
db_               157 chrome/browser/performance_monitor/database_unittest.cc     CHECK(db_.get());
db_               158 chrome/browser/performance_monitor/database_unittest.cc     db_->set_clock(scoped_ptr<Database::Clock>(clock_));
db_               163 chrome/browser/performance_monitor/database_unittest.cc     ASSERT_TRUE(db_.get());
db_               168 chrome/browser/performance_monitor/database_unittest.cc     db_->AddMetric(kProcessChromeAggregate,
db_               170 chrome/browser/performance_monitor/database_unittest.cc     db_->AddMetric(activity_,
db_               172 chrome/browser/performance_monitor/database_unittest.cc     db_->AddMetric(kProcessChromeAggregate,
db_               176 chrome/browser/performance_monitor/database_unittest.cc     db_->AddMetric(activity_,
db_               182 chrome/browser/performance_monitor/database_unittest.cc   scoped_ptr<Database> db_;
db_               277 chrome/browser/performance_monitor/database_unittest.cc   Database::EventVector events = db_->GetEvents();
db_               287 chrome/browser/performance_monitor/database_unittest.cc   EXPECT_EQ(0.0, db_->GetMaxStatsForActivityAndMetric(activity_,
db_               291 chrome/browser/performance_monitor/database_unittest.cc             db_->GetMaxStatsForActivityAndMetric(METRIC_PRIVATE_MEMORY_USAGE));
db_               293 chrome/browser/performance_monitor/database_unittest.cc   db_->AddMetric(kProcessChromeAggregate,
db_               296 chrome/browser/performance_monitor/database_unittest.cc             db_->GetMaxStatsForActivityAndMetric(METRIC_PRIVATE_MEMORY_USAGE));
db_               298 chrome/browser/performance_monitor/database_unittest.cc   db_->AddMetric(kProcessChromeAggregate,
db_               303 chrome/browser/performance_monitor/database_unittest.cc             db_->GetMaxStatsForActivityAndMetric(METRIC_PRIVATE_MEMORY_USAGE));
db_               307 chrome/browser/performance_monitor/database_unittest.cc   Database::EventTypeSet types = db_->GetEventTypes();
db_               317 chrome/browser/performance_monitor/database_unittest.cc   db_->AddEvent(*crash_event.get());
db_               318 chrome/browser/performance_monitor/database_unittest.cc   Database::EventVector events = db_->GetEvents(start_time, clock_->GetTime());
db_               324 chrome/browser/performance_monitor/database_unittest.cc   Database::EventVector events = db_->GetEvents(EVENT_EXTENSION_INSTALL);
db_               331 chrome/browser/performance_monitor/database_unittest.cc   DatabaseTestHelper helper(db_.get());
db_               340 chrome/browser/performance_monitor/database_unittest.cc   Database::EventVector events = db_->GetEvents();
db_               348 chrome/browser/performance_monitor/database_unittest.cc   Database::EventVector events = db_->GetEvents(EVENT_EXTENSION_DISABLE);
db_               350 chrome/browser/performance_monitor/database_unittest.cc   events = db_->GetEvents(EVENT_EXTENSION_DISABLE, clock_->GetTime(),
db_               368 chrome/browser/performance_monitor/database_unittest.cc   db_->AddEvent(*new_install_event.get());
db_               369 chrome/browser/performance_monitor/database_unittest.cc   db_->AddEvent(*new_uninstall_event.get());
db_               370 chrome/browser/performance_monitor/database_unittest.cc   Database::EventVector events = db_->GetEvents(start_time, end_time);
db_               374 chrome/browser/performance_monitor/database_unittest.cc   events = db_->GetEvents(
db_               383 chrome/browser/performance_monitor/database_unittest.cc     db_->GetActiveMetrics(base::Time(), clock_->GetTime());
db_               393 chrome/browser/performance_monitor/database_unittest.cc   ASSERT_TRUE(db_->GetRecentStatsForActivityAndMetric(activity_,
db_               397 chrome/browser/performance_monitor/database_unittest.cc   ASSERT_TRUE(db_->GetRecentStatsForActivityAndMetric(METRIC_CPU_USAGE, &stat));
db_               411 chrome/browser/performance_monitor/database_unittest.cc   db_->AddStateValue(key, value);
db_               412 chrome/browser/performance_monitor/database_unittest.cc   EXPECT_EQ(db_->GetStateValue(key), value);
db_               419 chrome/browser/performance_monitor/database_unittest.cc   db_->AddStateValue(key, value_1);
db_               420 chrome/browser/performance_monitor/database_unittest.cc   db_->AddStateValue(key, value_2);
db_               421 chrome/browser/performance_monitor/database_unittest.cc   EXPECT_EQ(db_->GetStateValue(key), value_2);
db_               425 chrome/browser/performance_monitor/database_unittest.cc   Database::MetricVector stats = *db_->GetStatsForActivityAndMetric(
db_               430 chrome/browser/performance_monitor/database_unittest.cc   db_->AddMetric(activity_,
db_               432 chrome/browser/performance_monitor/database_unittest.cc   stats = *db_->GetStatsForActivityAndMetric(activity_, METRIC_CPU_USAGE,
db_               436 chrome/browser/performance_monitor/database_unittest.cc   stats = *db_->GetStatsForActivityAndMetric(activity_, METRIC_CPU_USAGE);
db_               440 chrome/browser/performance_monitor/database_unittest.cc   stats = *db_->GetStatsForActivityAndMetric(METRIC_PRIVATE_MEMORY_USAGE);
db_               443 chrome/browser/performance_monitor/database_unittest.cc   stats = *db_->GetStatsForActivityAndMetric(activity_, METRIC_CPU_USAGE,
db_               450 chrome/browser/performance_monitor/database_unittest.cc   Database::MetricVectorMap stats_map = db_->GetStatsForMetricByActivity(
db_               459 chrome/browser/performance_monitor/database_unittest.cc   stats_map = db_->GetStatsForMetricByActivity(
db_               463 chrome/browser/performance_monitor/database_unittest.cc   db_->AddMetric(activity_,
db_               465 chrome/browser/performance_monitor/database_unittest.cc   stats_map = db_->GetStatsForMetricByActivity(METRIC_CPU_USAGE, before,
db_               474 chrome/browser/performance_monitor/database_unittest.cc   DatabaseTestHelper helper(db_.get());
db_               480 chrome/browser/performance_monitor/database_unittest.cc   Database::MetricVector stats = *db_->GetStatsForActivityAndMetric(
db_               485 chrome/browser/performance_monitor/database_unittest.cc   EXPECT_FALSE(db_->AddMetric(invalid_metric));
db_               488 chrome/browser/performance_monitor/database_unittest.cc   stats = *db_->GetStatsForActivityAndMetric(
db_               497 chrome/browser/performance_monitor/database_unittest.cc   stats = *db_->GetStatsForActivityAndMetric(
db_               506 chrome/browser/performance_monitor/database_unittest.cc   db_->AddMetric(kProcessChromeAggregate,
db_               508 chrome/browser/performance_monitor/database_unittest.cc   db_->AddMetric(kProcessChromeAggregate,
db_               511 chrome/browser/performance_monitor/database_unittest.cc       *db_->GetStatsForActivityAndMetric(METRIC_CPU_USAGE);
db_               520 chrome/browser/performance_monitor/database_unittest.cc   db_->AddMetric(kProcessChromeAggregate,
db_               522 chrome/browser/performance_monitor/database_unittest.cc   db_->AddMetric(kProcessChromeAggregate,
db_               525 chrome/browser/performance_monitor/database_unittest.cc   db_->AddMetric(kProcessChromeAggregate,
db_               528 chrome/browser/performance_monitor/database_unittest.cc       *db_->GetStatsForActivityAndMetric(METRIC_CPU_USAGE, start, end);
db_                56 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   scoped_ptr<PredictorDatabase> db_;
db_                81 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_.reset(new PredictorDatabase(&profile_));
db_                99 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_.reset(NULL);
db_               105 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   sql::Statement s(db_->GetDatabase()->GetUniqueStatement(
db_               112 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_->autocomplete_table()->AddAndUpdateRows(
db_               129 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_->autocomplete_table()->AddAndUpdateRows(
db_               133 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_->autocomplete_table()->GetRow(test_db_[0].id, &row);
db_               145 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_->autocomplete_table()->AddAndUpdateRows(
db_               152 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_->autocomplete_table()->AddAndUpdateRows(
db_               158 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_->autocomplete_table()->GetRow(test_db_[1].id, &updated_row1);
db_               170 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_->autocomplete_table()->AddAndUpdateRows(
db_               176 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_->autocomplete_table()->GetRow(test_db_[0].id, &updated_row0);
db_               177 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_->autocomplete_table()->GetRow(test_db_[2].id, &updated_row2);
db_               191 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_->autocomplete_table()->DeleteRows(id_list);
db_               195 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_->autocomplete_table()->GetRow(test_db_[1].id, &row);
db_               201 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   db_->autocomplete_table()->DeleteAllRows();
db_                54 chrome/browser/predictors/predictor_database.cc   scoped_ptr<sql::Connection> db_;
db_                67 chrome/browser/predictors/predictor_database.cc       db_(new sql::Connection()),
db_                70 chrome/browser/predictors/predictor_database.cc   db_->set_histogram_tag("Predictor");
db_                77 chrome/browser/predictors/predictor_database.cc     BrowserThread::DeleteSoon(BrowserThread::DB, FROM_HERE, db_.release());
db_                85 chrome/browser/predictors/predictor_database.cc   bool success = db_->Open(db_path_);
db_                90 chrome/browser/predictors/predictor_database.cc   autocomplete_table_->Initialize(db_.get());
db_                91 chrome/browser/predictors/predictor_database.cc   logged_in_table_->Initialize(db_.get());
db_               119 chrome/browser/predictors/predictor_database.cc     : db_(new PredictorDatabaseInternal(profile)) {
db_               121 chrome/browser/predictors/predictor_database.cc       base::Bind(&PredictorDatabaseInternal::Initialize, db_));
db_               128 chrome/browser/predictors/predictor_database.cc   db_->SetCancelled();
db_               133 chrome/browser/predictors/predictor_database.cc   return db_->autocomplete_table_;
db_               138 chrome/browser/predictors/predictor_database.cc   return db_->logged_in_table_;
db_               142 chrome/browser/predictors/predictor_database.cc   return db_->db_.get();
db_                38 chrome/browser/predictors/predictor_database.h   scoped_refptr<PredictorDatabaseInternal> db_;
db_                15 chrome/browser/predictors/predictor_table_base.cc PredictorTableBase::PredictorTableBase() : db_(NULL) {
db_                23 chrome/browser/predictors/predictor_table_base.cc   db_ = db;
db_                33 chrome/browser/predictors/predictor_table_base.cc   return db_;
db_                38 chrome/browser/predictors/predictor_table_base.cc   db_ = NULL;
db_                43 chrome/browser/predictors/predictor_table_base.cc   return cancelled_.IsSet() || !db_;
db_                42 chrome/browser/predictors/predictor_table_base.h   sql::Connection* db_;
db_               210 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc   TestSafeBrowsingDatabaseFactory() : db_(NULL) {}
db_               220 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc     db_ = new TestSafeBrowsingDatabase();
db_               221 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc     return db_;
db_               224 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc     return db_;
db_               228 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc   TestSafeBrowsingDatabase* db_;
db_               634 chrome/browser/sync_file_system/drive_backend/metadata_database.cc   metadata_database->db_ = db.Pass();
db_               643 chrome/browser/sync_file_system/drive_backend/metadata_database.cc   task_runner_->DeleteSoon(FROM_HERE, db_.release());
db_              1460 chrome/browser/sync_file_system/drive_backend/metadata_database.cc   if (!db_) {
db_              1461 chrome/browser/sync_file_system/drive_backend/metadata_database.cc     status = OpenDatabase(database_path_, env_override_, &db_, &created);
db_              1467 chrome/browser/sync_file_system/drive_backend/metadata_database.cc     status = WriteVersionInfo(db_.get());
db_              1471 chrome/browser/sync_file_system/drive_backend/metadata_database.cc     status = MigrateDatabaseIfNeeded(db_.get());
db_              1477 chrome/browser/sync_file_system/drive_backend/metadata_database.cc   status = ReadDatabaseContents(db_.get(), &contents);
db_              1491 chrome/browser/sync_file_system/drive_backend/metadata_database.cc       db_->Write(leveldb::WriteOptions(), &batch));
db_              1747 chrome/browser/sync_file_system/drive_backend/metadata_database.cc                  base::Unretained(db_.get()),
db_               429 chrome/browser/sync_file_system/drive_backend/metadata_database.h   scoped_ptr<leveldb::DB> db_;
db_               465 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc                   metadata_database_->db_.Pass(),
db_               467 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc     metadata_database_->db_ = metadata_database_2->db_.Pass();
db_               371 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc   file_task_runner_->DeleteSoon(FROM_HERE, db_.release());
db_               394 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc   db_ = contents->db.Pass();
db_               645 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc   DCHECK(db_);
db_               650 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc                  base::Unretained(db_.get()),
db_               168 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h   scoped_ptr<leveldb::DB> db_;
db_                64 chrome/browser/sync_file_system/local/local_file_change_tracker.cc   scoped_ptr<leveldb::DB> db_;
db_               439 chrome/browser/sync_file_system/local/local_file_change_tracker.cc   if (db_.get() && db_status_ == SYNC_STATUS_OK)
db_               452 chrome/browser/sync_file_system/local/local_file_change_tracker.cc     db_.reset(db);
db_               473 chrome/browser/sync_file_system/local/local_file_change_tracker.cc   DCHECK(!db_.get());
db_               505 chrome/browser/sync_file_system/local/local_file_change_tracker.cc     db_.reset();
db_               509 chrome/browser/sync_file_system/local/local_file_change_tracker.cc   leveldb::Status status = db_->Put(leveldb::WriteOptions(), url, kMark);
db_               513 chrome/browser/sync_file_system/local/local_file_change_tracker.cc     db_.reset();
db_               527 chrome/browser/sync_file_system/local/local_file_change_tracker.cc   DCHECK(db_.get());
db_               529 chrome/browser/sync_file_system/local/local_file_change_tracker.cc   leveldb::Status status = db_->Delete(leveldb::WriteOptions(), url);
db_               533 chrome/browser/sync_file_system/local/local_file_change_tracker.cc     db_.reset();
db_               546 chrome/browser/sync_file_system/local/local_file_change_tracker.cc     db_.reset();
db_               550 chrome/browser/sync_file_system/local/local_file_change_tracker.cc   scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(leveldb::ReadOptions()));
db_               558 chrome/browser/sync_file_system/local/local_file_change_tracker.cc       db_.reset();
db_               572 chrome/browser/sync_file_system/local/local_file_change_tracker.cc   leveldb::Status status = db_->Write(leveldb::WriteOptions(), batch.get());
db_               576 chrome/browser/sync_file_system/local/local_file_change_tracker.cc     db_.reset();
db_               160 chrome/browser/webdata/keyword_table.cc   return db_->DoesTableExist("keywords") ||
db_               161 chrome/browser/webdata/keyword_table.cc       db_->Execute("CREATE TABLE keywords ("
db_               245 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
db_               275 chrome/browser/webdata/keyword_table.cc   sql::Statement s(db_->GetUniqueStatement(query.c_str()));
db_               317 chrome/browser/webdata/keyword_table.cc   return db_->Execute("ALTER TABLE keywords ADD COLUMN autogenerate_keyword "
db_               322 chrome/browser/webdata/keyword_table.cc   return db_->Execute(
db_               327 chrome/browser/webdata/keyword_table.cc   return db_->Execute("ALTER TABLE keywords ADD COLUMN created_by_policy "
db_               332 chrome/browser/webdata/keyword_table.cc   return db_->Execute("ALTER TABLE keywords ADD COLUMN supports_instant "
db_               337 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
db_               339 chrome/browser/webdata/keyword_table.cc       db_->Execute("ALTER TABLE keywords ADD COLUMN instant_url VARCHAR") &&
db_               340 chrome/browser/webdata/keyword_table.cc       db_->Execute("CREATE TABLE keywords_temp ("
db_               358 chrome/browser/webdata/keyword_table.cc       db_->Execute("INSERT INTO keywords_temp SELECT id, short_name, keyword, "
db_               364 chrome/browser/webdata/keyword_table.cc       db_->Execute("DROP TABLE keywords") &&
db_               365 chrome/browser/webdata/keyword_table.cc       db_->Execute("ALTER TABLE keywords_temp RENAME TO keywords") &&
db_               370 chrome/browser/webdata/keyword_table.cc   return db_->Execute(
db_               375 chrome/browser/webdata/keyword_table.cc   return db_->Execute("ALTER TABLE keywords ADD COLUMN sync_guid VARCHAR");
db_               381 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
db_               385 chrome/browser/webdata/keyword_table.cc       (!db_->DoesTableExist("keywords_backup") ||
db_               386 chrome/browser/webdata/keyword_table.cc        db_->Execute("DROP TABLE keywords_backup")) &&
db_               387 chrome/browser/webdata/keyword_table.cc       db_->Execute(query.c_str()) &&
db_               392 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
db_               409 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
db_               411 chrome/browser/webdata/keyword_table.cc       db_->Execute("ALTER TABLE keywords ADD COLUMN "
db_               413 chrome/browser/webdata/keyword_table.cc       db_->Execute("ALTER TABLE keywords_backup ADD COLUMN "
db_               421 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
db_               425 chrome/browser/webdata/keyword_table.cc       db_->Execute("DROP TABLE keywords_backup") &&
db_               430 chrome/browser/webdata/keyword_table.cc   return db_->Execute("ALTER TABLE keywords ADD COLUMN "
db_               435 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
db_               437 chrome/browser/webdata/keyword_table.cc       db_->Execute("ALTER TABLE keywords ADD COLUMN image_url "
db_               439 chrome/browser/webdata/keyword_table.cc       db_->Execute("ALTER TABLE keywords ADD COLUMN search_url_post_params "
db_               441 chrome/browser/webdata/keyword_table.cc       db_->Execute("ALTER TABLE keywords ADD COLUMN suggest_url_post_params "
db_               443 chrome/browser/webdata/keyword_table.cc       db_->Execute("ALTER TABLE keywords ADD COLUMN instant_url_post_params "
db_               445 chrome/browser/webdata/keyword_table.cc       db_->Execute("ALTER TABLE keywords ADD COLUMN image_url_post_params "
db_               451 chrome/browser/webdata/keyword_table.cc   return db_->Execute("ALTER TABLE keywords ADD COLUMN new_tab_url "
db_               512 chrome/browser/webdata/keyword_table.cc   sql::Statement s(db_->GetCachedStatement(SQL_FROM_HERE, query.c_str()));
db_               520 chrome/browser/webdata/keyword_table.cc   sql::Statement s(db_->GetCachedStatement(
db_               529 chrome/browser/webdata/keyword_table.cc   sql::Statement s(db_->GetCachedStatement(
db_               550 chrome/browser/webdata/keyword_table.cc   sql::Statement s(db_->GetUniqueStatement(query.c_str()));
db_               568 chrome/browser/webdata/keyword_table.cc   if (!db_->Execute("CREATE TABLE keywords_temp ("
db_               589 chrome/browser/webdata/keyword_table.cc   if (!db_->Execute(sql.c_str()))
db_               596 chrome/browser/webdata/keyword_table.cc   sql::Statement s(db_->GetUniqueStatement(sql.c_str()));
db_               624 chrome/browser/webdata/keyword_table.cc         sql::Statement u(db_->GetUniqueStatement(
db_               633 chrome/browser/webdata/keyword_table.cc       sql::Statement u(db_->GetUniqueStatement(
db_               645 chrome/browser/webdata/keyword_table.cc   if (!db_->Execute(sql.c_str()))
db_               648 chrome/browser/webdata/keyword_table.cc   return db_->Execute(sql.c_str());
db_                35 chrome/browser/webdata/keyword_table_unittest.cc     db_.reset(new WebDatabase);
db_                36 chrome/browser/webdata/keyword_table_unittest.cc     db_->AddTable(table_.get());
db_                37 chrome/browser/webdata/keyword_table_unittest.cc     ASSERT_EQ(sql::INIT_OK, db_->Init(file_));
db_               101 chrome/browser/webdata/keyword_table_unittest.cc     statement->Assign(table_->db_->GetUniqueStatement(sql));
db_               108 chrome/browser/webdata/keyword_table_unittest.cc   scoped_ptr<WebDatabase> db_;
db_                33 chrome/browser/webdata/logins_table.cc   if (db_->DoesTableExist("logins")) {
db_                36 chrome/browser/webdata/logins_table.cc     ignore_result(db_->Execute("DROP TABLE logins"));
db_                40 chrome/browser/webdata/logins_table.cc   if (!db_->DoesTableExist("ie7_logins")) {
db_                41 chrome/browser/webdata/logins_table.cc     if (!db_->Execute("CREATE TABLE ie7_logins ("
db_                50 chrome/browser/webdata/logins_table.cc     if (!db_->Execute("CREATE INDEX ie7_logins_hash ON "
db_                14 chrome/browser/webdata/logins_table_win.cc   sql::Statement s(db_->GetUniqueStatement(
db_                28 chrome/browser/webdata/logins_table_win.cc   sql::Statement s(db_->GetUniqueStatement(
db_                38 chrome/browser/webdata/logins_table_win.cc   sql::Statement s(db_->GetUniqueStatement(
db_                48 chrome/browser/webdata/web_apps_table.cc   if (!db_->DoesTableExist("web_app_icons")) {
db_                49 chrome/browser/webdata/web_apps_table.cc     if (!db_->Execute("CREATE TABLE web_app_icons ("
db_                62 chrome/browser/webdata/web_apps_table.cc   if (!db_->DoesTableExist("web_apps")) {
db_                63 chrome/browser/webdata/web_apps_table.cc     if (!db_->Execute("CREATE TABLE web_apps ("
db_                69 chrome/browser/webdata/web_apps_table.cc     if (!db_->Execute("CREATE INDEX web_apps_url_index ON web_apps (url)")) {
db_                80 chrome/browser/webdata/web_apps_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_                95 chrome/browser/webdata/web_apps_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               118 chrome/browser/webdata/web_apps_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               127 chrome/browser/webdata/web_apps_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               135 chrome/browser/webdata/web_apps_table.cc   sql::Statement delete_s(db_->GetUniqueStatement(
db_               142 chrome/browser/webdata/web_apps_table.cc   sql::Statement delete_s2(db_->GetUniqueStatement(
db_                28 chrome/browser/webdata/web_apps_table_unittest.cc     db_.reset(new WebDatabase);
db_                29 chrome/browser/webdata/web_apps_table_unittest.cc     db_->AddTable(table_.get());
db_                30 chrome/browser/webdata/web_apps_table_unittest.cc     ASSERT_EQ(sql::INIT_OK, db_->Init(file_));
db_                36 chrome/browser/webdata/web_apps_table_unittest.cc   scoped_ptr<WebDatabase> db_;
db_                45 chrome/browser/webdata/web_intents_table.cc   if (!db_->DoesTableExist("web_intents")) {
db_                46 chrome/browser/webdata/web_intents_table.cc     if (!db_->Execute("CREATE TABLE web_intents ("
db_                56 chrome/browser/webdata/web_intents_table.cc     if (!db_->Execute("CREATE INDEX IF NOT EXISTS web_intents_index"
db_                59 chrome/browser/webdata/web_intents_table.cc     if (!db_->Execute("CREATE INDEX IF NOT EXISTS web_intents_index"
db_                64 chrome/browser/webdata/web_intents_table.cc   if (!db_->DoesTableExist("web_intents_defaults")) {
db_                65 chrome/browser/webdata/web_intents_table.cc     if (!db_->Execute("CREATE TABLE web_intents_defaults ("
db_                76 chrome/browser/webdata/web_intents_table.cc     if (!db_->Execute("CREATE INDEX IF NOT EXISTS web_intents_default_index"
db_                80 chrome/browser/webdata/web_intents_table.cc     if (!db_->Execute("CREATE INDEX IF NOT EXISTS web_intents_default_index"
db_               107 chrome/browser/webdata/web_intents_table.cc   if (!db_->DoesTableExist("web_intents"))
db_               110 chrome/browser/webdata/web_intents_table.cc   if (!db_->Execute("ALTER TABLE web_intents RENAME TO old_web_intents"))
db_               113 chrome/browser/webdata/web_intents_table.cc   if (!db_->Execute("ALTER TABLE web_intents_defaults"
db_               120 chrome/browser/webdata/web_intents_table.cc   int error = db_->ExecuteAndReturnErrorCode(
db_               129 chrome/browser/webdata/web_intents_table.cc         << db_->GetErrorMessage();
db_               133 chrome/browser/webdata/web_intents_table.cc   error = db_->ExecuteAndReturnErrorCode(
db_               142 chrome/browser/webdata/web_intents_table.cc         << db_->GetErrorMessage();
db_               145 chrome/browser/webdata/web_intents_table.cc   if (!db_->Execute("DROP table old_web_intents")) {
db_               150 chrome/browser/webdata/web_intents_table.cc   if (!db_->Execute("DROP table old_web_intents_defaults")) {
db_               469 components/autofill/core/browser/webdata/autofill_table.cc     s.Assign(db_->GetUniqueStatement(
db_               481 components/autofill/core/browser/webdata/autofill_table.cc     s.Assign(db_->GetUniqueStatement(
db_               501 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement("SELECT COUNT(*) FROM autofill"));
db_               518 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               588 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_delete(db_->GetUniqueStatement(
db_               592 components/autofill/core/browser/webdata/autofill_table.cc   sql::Transaction transaction(db_);
db_               598 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s_update(db_->GetUniqueStatement(
db_               623 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement select_for_delete(db_->GetUniqueStatement(
db_               637 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement delete_data_statement(db_->GetUniqueStatement(
db_               669 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               688 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               710 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
db_               732 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(sql.c_str()));
db_               749 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_exists(db_->GetUniqueStatement(
db_               758 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
db_               768 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
db_               792 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               803 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               813 components/autofill/core/browser/webdata/autofill_table.cc   return AddAutofillProfilePieces(profile, db_);
db_               820 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               833 components/autofill/core/browser/webdata/autofill_table.cc   AddAutofillProfileNamesToProfile(db_, p.get());
db_               836 components/autofill/core/browser/webdata/autofill_table.cc   AddAutofillProfileEmailsToProfile(db_, p.get());
db_               839 components/autofill/core/browser/webdata/autofill_table.cc   AddAutofillProfilePhonesToProfile(db_, p.get());
db_               850 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               883 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               893 components/autofill/core/browser/webdata/autofill_table.cc   DCHECK_GT(db_->GetLastChangeCount(), 0);
db_               898 components/autofill/core/browser/webdata/autofill_table.cc   if (!RemoveAutofillProfilePieces(profile.guid(), db_))
db_               901 components/autofill/core/browser/webdata/autofill_table.cc   return AddAutofillProfilePieces(profile, db_);
db_               908 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s_trash(db_->GetUniqueStatement(
db_               913 components/autofill/core/browser/webdata/autofill_table.cc     DCHECK_GT(db_->GetLastChangeCount(), 0) << "Expected item in trash";
db_               917 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               924 components/autofill/core/browser/webdata/autofill_table.cc   return RemoveAutofillProfilePieces(guid, db_);
db_               928 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s1(db_->GetUniqueStatement(
db_               934 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s2(db_->GetUniqueStatement(
db_               940 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s3(db_->GetUniqueStatement(
db_               946 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s4(db_->GetUniqueStatement(
db_               953 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               963 components/autofill/core/browser/webdata/autofill_table.cc   DCHECK_GT(db_->GetLastChangeCount(), 0);
db_               970 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_               989 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_              1016 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_              1026 components/autofill/core/browser/webdata/autofill_table.cc   DCHECK_GT(db_->GetLastChangeCount(), 0);
db_              1032 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_              1050 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_profiles_get(db_->GetUniqueStatement(
db_              1065 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_profiles(db_->GetUniqueStatement(
db_              1075 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_credit_cards_get(db_->GetUniqueStatement(
db_              1090 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_credit_cards(db_->GetUniqueStatement(
db_              1109 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_profiles_get(db_->GetUniqueStatement(
db_              1128 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s_profile(db_->GetUniqueStatement(
db_              1142 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_credit_cards_get(db_->GetUniqueStatement(
db_              1161 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s_credit_card(db_->GetUniqueStatement(
db_              1175 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_              1188 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_              1196 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_              1206 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_              1214 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_              1224 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("autofill")) {
db_              1225 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("CREATE TABLE autofill ("
db_              1233 components/autofill/core/browser/webdata/autofill_table.cc         !db_->Execute("CREATE INDEX autofill_name ON autofill (name)") ||
db_              1234 components/autofill/core/browser/webdata/autofill_table.cc         !db_->Execute("CREATE INDEX autofill_name_value_lower ON "
db_              1244 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("credit_cards")) {
db_              1245 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("CREATE TABLE credit_cards ( "
db_              1262 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("autofill_profiles")) {
db_              1263 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("CREATE TABLE autofill_profiles ( "
db_              1283 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("autofill_profile_names")) {
db_              1284 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("CREATE TABLE autofill_profile_names ( "
db_              1297 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("autofill_profile_emails")) {
db_              1298 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("CREATE TABLE autofill_profile_emails ( "
db_              1309 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("autofill_profile_phones")) {
db_              1310 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("CREATE TABLE autofill_profile_phones ( "
db_              1321 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("autofill_profiles_trash")) {
db_              1322 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("CREATE TABLE autofill_profiles_trash ( "
db_              1332 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("autofill") &&
db_              1333 components/autofill/core/browser/webdata/autofill_table.cc       (!db_->Execute("CREATE TABLE autofill ("
db_              1339 components/autofill/core/browser/webdata/autofill_table.cc        !db_->Execute("CREATE INDEX autofill_name ON autofill (name)") ||
db_              1340 components/autofill/core/browser/webdata/autofill_table.cc        !db_->Execute("CREATE INDEX autofill_name_value_lower ON"
db_              1342 components/autofill/core/browser/webdata/autofill_table.cc        !db_->Execute("CREATE TABLE autofill_dates ("
db_              1345 components/autofill/core/browser/webdata/autofill_table.cc        !db_->Execute("CREATE INDEX autofill_dates_pair_id ON"
db_              1350 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_              1361 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->Execute("DELETE FROM autofill WHERE TRIM(value) = \"\""))
db_              1366 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
db_              1406 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("autofill_profiles") &&
db_              1407 components/autofill/core/browser/webdata/autofill_table.cc       (!db_->Execute("CREATE TABLE autofill_profiles ( "
db_              1423 components/autofill/core/browser/webdata/autofill_table.cc        !db_->Execute("CREATE INDEX autofill_profiles_label_index"
db_              1427 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("credit_cards") &&
db_              1428 components/autofill/core/browser/webdata/autofill_table.cc       (!db_->Execute("CREATE TABLE credit_cards ( "
db_              1439 components/autofill/core/browser/webdata/autofill_table.cc        !db_->Execute("CREATE INDEX credit_cards_label_index"
db_              1443 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesColumnExist("credit_cards", "card_number_encrypted")) {
db_              1444 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("ALTER TABLE credit_cards ADD COLUMN "
db_              1450 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesColumnExist("credit_cards", "verification_code_encrypted")) {
db_              1451 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("ALTER TABLE credit_cards ADD COLUMN "
db_              1486 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->Execute(query.c_str()))
db_              1491 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->Execute(query.c_str()))
db_              1495 components/autofill/core/browser/webdata/autofill_table.cc   if (db_->DoesColumnExist("credit_cards", "label") &&
db_              1496 components/autofill/core/browser/webdata/autofill_table.cc       db_->DoesColumnExist("credit_cards", "name_on_card") &&
db_              1497 components/autofill/core/browser/webdata/autofill_table.cc       db_->DoesColumnExist("credit_cards", "type") &&
db_              1498 components/autofill/core/browser/webdata/autofill_table.cc       db_->DoesColumnExist("credit_cards", "expiration_month") &&
db_              1499 components/autofill/core/browser/webdata/autofill_table.cc       db_->DoesColumnExist("credit_cards", "expiration_year") &&
db_              1500 components/autofill/core/browser/webdata/autofill_table.cc       db_->DoesColumnExist("credit_cards", "billing_address") &&
db_              1501 components/autofill/core/browser/webdata/autofill_table.cc       db_->DoesColumnExist("credit_cards", "shipping_address") &&
db_              1502 components/autofill/core/browser/webdata/autofill_table.cc       db_->DoesColumnExist("autofill_profiles", "label")) {
db_              1507 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute(query.c_str()))
db_              1511 components/autofill/core/browser/webdata/autofill_table.cc   if (db_->DoesColumnExist("autofill_profiles", "label")) {
db_              1515 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute(query.c_str()))
db_              1529 components/autofill/core/browser/webdata/autofill_table.cc   if (!(db_->DoesColumnExist("credit_cards", "unique_id") &&
db_              1530 components/autofill/core/browser/webdata/autofill_table.cc         db_->DoesColumnExist("credit_cards", "billing_address") &&
db_              1531 components/autofill/core/browser/webdata/autofill_table.cc         db_->DoesColumnExist("autofill_profiles", "unique_id"))) {
db_              1539 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(stmt.c_str()));
db_              1551 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(stmt.c_str()));
db_              1562 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->Execute("CREATE TABLE credit_cards_temp ( "
db_              1578 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->Execute(
db_              1587 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->Execute("DROP TABLE credit_cards"))
db_              1590 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->Execute("ALTER TABLE credit_cards_temp RENAME TO credit_cards"))
db_              1595 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetCachedStatement(
db_              1610 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesColumnExist("autofill_profiles", "date_modified")) {
db_              1611 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("ALTER TABLE autofill_profiles ADD COLUMN "
db_              1616 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
db_              1625 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesColumnExist("credit_cards", "date_modified")) {
db_              1626 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("ALTER TABLE credit_cards ADD COLUMN "
db_              1631 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
db_              1646 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesColumnExist("autofill_profiles", "guid")) {
db_              1647 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("ALTER TABLE autofill_profiles ADD COLUMN "
db_              1654 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement("SELECT unique_id "
db_              1659 components/autofill/core/browser/webdata/autofill_table.cc           db_->GetUniqueStatement("UPDATE autofill_profiles "
db_              1674 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesColumnExist("credit_cards", "guid")) {
db_              1675 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("ALTER TABLE credit_cards ADD COLUMN "
db_              1682 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement("SELECT unique_id "
db_              1687 components/autofill/core/browser/webdata/autofill_table.cc           db_->GetUniqueStatement("UPDATE credit_cards "
db_              1703 components/autofill/core/browser/webdata/autofill_table.cc   if (db_->DoesColumnExist("autofill_profiles", "unique_id")) {
db_              1704 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("CREATE TABLE autofill_profiles_temp ( "
db_              1723 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute(
db_              1732 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("DROP TABLE autofill_profiles"))
db_              1735 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute(
db_              1741 components/autofill/core/browser/webdata/autofill_table.cc   if (db_->DoesColumnExist("credit_cards", "unique_id")) {
db_              1742 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("CREATE TABLE credit_cards_temp ( "
db_              1753 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute(
db_              1761 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("DROP TABLE credit_cards"))
db_              1764 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("ALTER TABLE credit_cards_temp RENAME TO credit_cards"))
db_              1776 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("autofill_profile_names") &&
db_              1777 components/autofill/core/browser/webdata/autofill_table.cc       !db_->Execute("CREATE TABLE autofill_profile_names ( "
db_              1784 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("autofill_profile_emails") &&
db_              1785 components/autofill/core/browser/webdata/autofill_table.cc       !db_->Execute("CREATE TABLE autofill_profile_emails ( "
db_              1790 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("autofill_profile_phones") &&
db_              1791 components/autofill/core/browser/webdata/autofill_table.cc       !db_->Execute("CREATE TABLE autofill_profile_phones ( "
db_              1797 components/autofill/core/browser/webdata/autofill_table.cc   if (db_->DoesColumnExist("autofill_profiles", "first_name")) {
db_              1799 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->DoesTableExist("autofill_profiles_temp")) {
db_              1800 components/autofill/core/browser/webdata/autofill_table.cc       if (!db_->Execute("CREATE TABLE autofill_profiles_temp ( "
db_              1814 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
db_              1841 components/autofill/core/browser/webdata/autofill_table.cc       sql::Statement s_insert(db_->GetUniqueStatement(
db_              1861 components/autofill/core/browser/webdata/autofill_table.cc       if (!AddAutofillProfilePieces(profile, db_))
db_              1867 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("DROP TABLE autofill_profiles"))
db_              1870 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute(
db_              1877 components/autofill/core/browser/webdata/autofill_table.cc   if (db_->DoesColumnExist("credit_cards", "label")) {
db_              1878 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("CREATE TABLE credit_cards_temp ( "
db_              1888 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute(
db_              1896 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("DROP TABLE credit_cards"))
db_              1899 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("ALTER TABLE credit_cards_temp RENAME TO credit_cards"))
db_              1911 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesColumnExist("autofill_profiles", "country_code")) {
db_              1912 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("ALTER TABLE autofill_profiles ADD COLUMN "
db_              1918 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement("SELECT guid, country "
db_              1923 components/autofill/core/browser/webdata/autofill_table.cc           db_->GetUniqueStatement("UPDATE autofill_profiles "
db_              1945 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_              1954 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesTableExist("autofill_profiles_trash") &&
db_              1955 components/autofill/core/browser/webdata/autofill_table.cc       !db_->Execute("CREATE TABLE autofill_profiles_trash (guid VARCHAR)"))
db_              1958 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_              1971 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
db_              2001 components/autofill/core/browser/webdata/autofill_table.cc     AddAutofillProfileNamesToProfile(db_, profile.get());
db_              2004 components/autofill/core/browser/webdata/autofill_table.cc     AddAutofillProfileEmailsToProfile(db_, profile.get());
db_              2007 components/autofill/core/browser/webdata/autofill_table.cc     AddAutofillProfilePhonesToProfile(db_, profile.get());
db_              2049 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
db_              2069 components/autofill/core/browser/webdata/autofill_table.cc     if (!AddAutofillProfilePieces(*iter, db_))
db_              2077 components/autofill/core/browser/webdata/autofill_table.cc   sql::Transaction transaction(db_);
db_              2082 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesColumnExist("autofill_profiles", "origin") &&
db_              2083 components/autofill/core/browser/webdata/autofill_table.cc       !db_->Execute("ALTER TABLE autofill_profiles "
db_              2089 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->DoesColumnExist("credit_cards", "origin") &&
db_              2090 components/autofill/core/browser/webdata/autofill_table.cc       !db_->Execute("ALTER TABLE credit_cards "
db_              2099 components/autofill/core/browser/webdata/autofill_table.cc   sql::Transaction transaction(db_);
db_              2107 components/autofill/core/browser/webdata/autofill_table.cc   if (db_->DoesColumnExist("autofill_profiles", "address_line_1")) {
db_              2115 components/autofill/core/browser/webdata/autofill_table.cc     if (db_->DoesTableExist("autofill_profiles_temp") ||
db_              2116 components/autofill/core/browser/webdata/autofill_table.cc         !db_->Execute("CREATE TABLE autofill_profiles_temp ( "
db_              2133 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("INSERT INTO autofill_profiles_temp "
db_              2139 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
db_              2149 components/autofill/core/browser/webdata/autofill_table.cc       sql::Statement s_update(db_->GetUniqueStatement(
db_              2161 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("DROP TABLE autofill_profiles") ||
db_              2162 components/autofill/core/browser/webdata/autofill_table.cc         !db_->Execute("ALTER TABLE autofill_profiles_temp "
db_              2172 components/autofill/core/browser/webdata/autofill_table.cc   if (db_->DoesColumnExist("autofill_profile_phones", "type")) {
db_              2176 components/autofill/core/browser/webdata/autofill_table.cc     if (db_->DoesTableExist("autofill_profile_phones_temp") ||
db_              2177 components/autofill/core/browser/webdata/autofill_table.cc         !db_->Execute("CREATE TABLE autofill_profile_phones_temp ( "
db_              2184 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("INSERT INTO autofill_profile_phones_temp "
db_              2191 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("DROP TABLE autofill_profile_phones"))
db_              2193 components/autofill/core/browser/webdata/autofill_table.cc     if (!db_->Execute("ALTER TABLE autofill_profile_phones_temp "
db_              2203 components/autofill/core/browser/webdata/autofill_table.cc   sql::Transaction transaction(db_);
db_              2207 components/autofill/core/browser/webdata/autofill_table.cc   if (db_->DoesTableExist("autofill_temp") ||
db_              2208 components/autofill/core/browser/webdata/autofill_table.cc       !db_->Execute("CREATE TABLE autofill_temp ("
db_              2220 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_              2226 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s_insert(db_->GetUniqueStatement(
db_              2245 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->Execute("DROP TABLE autofill") ||
db_              2246 components/autofill/core/browser/webdata/autofill_table.cc       !db_->Execute("DROP TABLE autofill_dates") ||
db_              2247 components/autofill/core/browser/webdata/autofill_table.cc       !db_->Execute("ALTER TABLE autofill_temp "
db_              2253 components/autofill/core/browser/webdata/autofill_table.cc   if (!db_->Execute("CREATE INDEX autofill_name ON autofill (name)") ||
db_              2254 components/autofill/core/browser/webdata/autofill_table.cc       !db_->Execute("CREATE INDEX autofill_name_value_lower ON "
db_               129 components/autofill/core/browser/webdata/autofill_table_unittest.cc     db_.reset(new WebDatabase);
db_               130 components/autofill/core/browser/webdata/autofill_table_unittest.cc     db_->AddTable(table_.get());
db_               131 components/autofill/core/browser/webdata/autofill_table_unittest.cc     ASSERT_EQ(sql::INIT_OK, db_->Init(file_));
db_               137 components/autofill/core/browser/webdata/autofill_table_unittest.cc   scoped_ptr<WebDatabase> db_;
db_               177 components/autofill/core/browser/webdata/autofill_table_unittest.cc                                      ASCIIToUTF16("Clark Kent"), db_.get()));
db_               182 components/autofill/core/browser/webdata/autofill_table_unittest.cc                                      ASCIIToUTF16("clark kent"), db_.get()));
db_               185 components/autofill/core/browser/webdata/autofill_table_unittest.cc                                      ASCIIToUTF16("Green"), db_.get()));
db_               244 components/autofill/core/browser/webdata/autofill_table_unittest.cc                                      ASCIIToUTF16("Clark Kent"), db_.get()));
db_               336 components/autofill/core/browser/webdata/autofill_table_unittest.cc                                      db_.get()));
db_               351 components/autofill/core/browser/webdata/autofill_table_unittest.cc                                      db_.get()));
db_               383 components/autofill/core/browser/webdata/autofill_table_unittest.cc                                      db_.get()));
db_               385 components/autofill/core/browser/webdata/autofill_table_unittest.cc                                      db_.get()));
db_               491 components/autofill/core/browser/webdata/autofill_table_unittest.cc   EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get()));
db_               498 components/autofill/core/browser/webdata/autofill_table_unittest.cc   EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get()));
db_               519 components/autofill/core/browser/webdata/autofill_table_unittest.cc   EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get()));
db_               526 components/autofill/core/browser/webdata/autofill_table_unittest.cc   EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get()));
db_               547 components/autofill/core/browser/webdata/autofill_table_unittest.cc   EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get()));
db_               557 components/autofill/core/browser/webdata/autofill_table_unittest.cc   EXPECT_EQ(0, GetAutofillEntryCount(field.name, field.value, db_.get()));
db_               578 components/autofill/core/browser/webdata/autofill_table_unittest.cc   EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get()));
db_               588 components/autofill/core/browser/webdata/autofill_table_unittest.cc   EXPECT_EQ(4, GetAutofillEntryCount(field.name, field.value, db_.get()));
db_               615 components/autofill/core/browser/webdata/autofill_table_unittest.cc   EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get()));
db_               625 components/autofill/core/browser/webdata/autofill_table_unittest.cc   EXPECT_EQ(2, GetAutofillEntryCount(field.name, field.value, db_.get()));
db_               662 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_home(db_->GetSQLConnection()->GetUniqueStatement(
db_               688 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_billing(db_->GetSQLConnection()->GetUniqueStatement(
db_               705 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_billing_updated(db_->GetSQLConnection()->GetUniqueStatement(
db_               741 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_               977 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_work(db_->GetSQLConnection()->GetUniqueStatement(
db_              1004 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_target(db_->GetSQLConnection()->GetUniqueStatement(
db_              1024 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_target_updated(db_->GetSQLConnection()->GetUniqueStatement(
db_              1061 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1072 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_original(db_->GetSQLConnection()->GetUniqueStatement(
db_              1088 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_updated(db_->GetSQLConnection()->GetUniqueStatement(
db_              1098 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1112 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_unchanged(db_->GetSQLConnection()->GetUniqueStatement(
db_              1132 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1143 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_original(db_->GetSQLConnection()->GetUniqueStatement(
db_              1159 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_updated(db_->GetSQLConnection()->GetUniqueStatement(
db_              1169 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1183 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_unchanged(db_->GetSQLConnection()->GetUniqueStatement(
db_              1211 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1222 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_original(db_->GetSQLConnection()->GetUniqueStatement(
db_              1238 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_updated(db_->GetSQLConnection()->GetUniqueStatement(
db_              1258 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1269 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_original(db_->GetSQLConnection()->GetUniqueStatement(
db_              1285 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_updated(db_->GetSQLConnection()->GetUniqueStatement(
db_              1295 components/autofill/core/browser/webdata/autofill_table_unittest.cc   ASSERT_TRUE(db_->GetSQLConnection()->Execute(
db_              1331 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1348 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1367 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1379 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1394 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1401 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1409 components/autofill/core/browser/webdata/autofill_table_unittest.cc   ASSERT_TRUE(db_->GetSQLConnection()->Execute(
db_              1433 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1446 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1465 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_              1478 components/autofill/core/browser/webdata/autofill_table_unittest.cc       db_->GetSQLConnection()->GetUniqueStatement(
db_                50 components/dom_distiller/core/dom_distiller_database.cc     db_.reset(db);
db_                78 components/dom_distiller/core/dom_distiller_database.cc   leveldb::Status status = db_->Write(options, &updates);
db_                91 components/dom_distiller/core/dom_distiller_database.cc   scoped_ptr<leveldb::Iterator> db_iterator(db_->NewIterator(options));
db_               168 components/dom_distiller/core/dom_distiller_database.cc   DCHECK(!db_);
db_               170 components/dom_distiller/core/dom_distiller_database.cc   db_.reset(database.release());
db_               175 components/dom_distiller/core/dom_distiller_database.cc                  base::Unretained(db_.get()),
db_               190 components/dom_distiller/core/dom_distiller_database.cc                  base::Unretained(db_.get()),
db_               208 components/dom_distiller/core/dom_distiller_database.cc                  base::Unretained(db_.get()),
db_               219 components/dom_distiller/core/dom_distiller_database.cc   if (!task_runner_->DeleteSoon(FROM_HERE, db_.release())) {
db_                90 components/dom_distiller/core/dom_distiller_database.h     scoped_ptr<leveldb::DB> db_;
db_               117 components/dom_distiller/core/dom_distiller_database.h   scoped_ptr<Database> db_;
db_                91 components/dom_distiller/core/dom_distiller_database_unittest.cc     db_.reset(new DomDistillerDatabase(main_loop_->message_loop_proxy()));
db_                95 components/dom_distiller/core/dom_distiller_database_unittest.cc     db_.reset();
db_               100 components/dom_distiller/core/dom_distiller_database_unittest.cc   scoped_ptr<DomDistillerDatabase> db_;
db_               115 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->InitWithDatabase(
db_               132 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->InitWithDatabase(
db_               166 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->InitWithDatabase(
db_               174 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->LoadEntries(
db_               188 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->InitWithDatabase(
db_               195 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->LoadEntries(
db_               219 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->InitWithDatabase(
db_               232 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->UpdateEntries(
db_               250 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->InitWithDatabase(
db_               257 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->UpdateEntries(
db_               283 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->InitWithDatabase(
db_               296 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->UpdateEntries(
db_               314 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->InitWithDatabase(
db_               321 components/dom_distiller/core/dom_distiller_database_unittest.cc   db_->UpdateEntries(
db_                12 components/dom_distiller/core/fake_db.cc FakeDB::FakeDB(EntryMap* db) : db_(db) {}
db_                29 components/dom_distiller/core/fake_db.cc     (*db_)[it->entry_id()] = *it;
db_                34 components/dom_distiller/core/fake_db.cc     (*db_).erase(it->entry_id());
db_                41 components/dom_distiller/core/fake_db.cc   for (EntryMap::iterator it = db_->begin(); it != db_->end(); ++it) {
db_                52 components/dom_distiller/core/fake_db.h   EntryMap* db_;
db_                18 components/nacl/loader/nacl_validation_query.cc     : db_(db),
db_                28 components/nacl/loader/nacl_validation_query.cc   NaClValidationQuery* query = new NaClValidationQuery(db_, profile_key_);
db_                38 components/nacl/loader/nacl_validation_query.cc   return db_->ResolveFileToken(file_token, fd, path);
db_                45 components/nacl/loader/nacl_validation_query.cc       db_(db),
db_                94 components/nacl/loader/nacl_validation_query.cc   return db_->QueryKnownToValidate(std::string(buffer_, buffer_length_));
db_               101 components/nacl/loader/nacl_validation_query.cc   db_->SetKnownToValidate(std::string(buffer_, buffer_length_));
db_                31 components/nacl/loader/nacl_validation_query.h   NaClValidationDB* db_;
db_                76 components/nacl/loader/nacl_validation_query.h   NaClValidationDB* db_;
db_                60 components/password_manager/core/browser/login_database.cc   db_.set_page_size(2048);
db_                61 components/password_manager/core/browser/login_database.cc   db_.set_cache_size(32);
db_                62 components/password_manager/core/browser/login_database.cc   db_.set_exclusive_locking();
db_                63 components/password_manager/core/browser/login_database.cc   db_.set_restrict_to_user();
db_                65 components/password_manager/core/browser/login_database.cc   if (!db_.Open(db_path)) {
db_                70 components/password_manager/core/browser/login_database.cc   sql::Transaction transaction(&db_);
db_                74 components/password_manager/core/browser/login_database.cc   if (!meta_table_.Init(&db_, kCurrentVersionNumber,
db_                76 components/password_manager/core/browser/login_database.cc     db_.Close();
db_                81 components/password_manager/core/browser/login_database.cc     db_.Close();
db_                88 components/password_manager/core/browser/login_database.cc     db_.Close();
db_                98 components/password_manager/core/browser/login_database.cc     db_.Close();
db_               103 components/password_manager/core/browser/login_database.cc     db_.Close();
db_               113 components/password_manager/core/browser/login_database.cc       if (!db_.Execute("ALTER TABLE logins "
db_               115 components/password_manager/core/browser/login_database.cc           !db_.Execute("ALTER TABLE logins "
db_               122 components/password_manager/core/browser/login_database.cc       if (!db_.Execute("ALTER TABLE logins ADD COLUMN times_used INTEGER")) {
db_               130 components/password_manager/core/browser/login_database.cc       if (!db_.DoesColumnExist("logins", "form_data") &&
db_               131 components/password_manager/core/browser/login_database.cc           !db_.Execute("ALTER TABLE logins ADD COLUMN form_data BLOB")) {
db_               137 components/password_manager/core/browser/login_database.cc       if (!db_.Execute(
db_               153 components/password_manager/core/browser/login_database.cc   if (!db_.DoesTableExist("logins")) {
db_               154 components/password_manager/core/browser/login_database.cc     if (!db_.Execute("CREATE TABLE logins ("
db_               180 components/password_manager/core/browser/login_database.cc     if (!db_.Execute("CREATE INDEX logins_signon ON "
db_               190 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(
db_               216 components/password_manager/core/browser/login_database.cc   sql::Statement usage_statement(db_.GetCachedStatement(
db_               246 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
db_               292 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
db_               332 components/password_manager/core/browser/login_database.cc     *items_changed = db_.GetLastChangeCount();
db_               339 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
db_               359 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
db_               448 components/password_manager/core/browser/login_database.cc     s.Assign(db_.GetUniqueStatement(extended_sql_query.c_str()));
db_               468 components/password_manager/core/browser/login_database.cc     s.Assign(db_.GetCachedStatement(SQL_FROM_HERE, sql_query.c_str()));
db_               513 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
db_               553 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
db_               577 components/password_manager/core/browser/login_database.cc   DCHECK(db_.is_open());
db_               579 components/password_manager/core/browser/login_database.cc   db_.Close();
db_               134 components/password_manager/core/browser/login_database.h   mutable sql::Connection db_;
db_                30 components/password_manager/core/browser/login_database_unittest.cc     ASSERT_TRUE(db_.Init(file_));
db_                34 components/password_manager/core/browser/login_database_unittest.cc     return db_.SerializeVector(vec);
db_                38 components/password_manager/core/browser/login_database_unittest.cc     return db_.DeserializeVector(pickle);
db_                52 components/password_manager/core/browser/login_database_unittest.cc   LoginDatabase db_;
db_                59 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_                81 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.AddLogin(form));
db_                82 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_                89 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form, &result));
db_               100 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               110 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form3, &result));
db_               121 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form4, &result));
db_               125 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.AddLogin(form4));
db_               126 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               133 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form4, &result));
db_               139 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.RemoveLogin(form));
db_               140 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               146 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form, &result));
db_               155 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form5, &result));
db_               168 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.UpdateLogin(form6, &rows_changed));
db_               171 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form5, &result));
db_               176 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               191 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.RemoveLogin(form4));
db_               192 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               201 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               219 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.AddLogin(form));
db_               220 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               226 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form, &result));
db_               238 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               251 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               269 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.AddLogin(form));
db_               270 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               276 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form, &result));
db_               289 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               301 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               319 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.AddLogin(form));
db_               320 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               326 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form, &result));
db_               338 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               359 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.AddLogin(form));
db_               360 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               373 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form3, &result));
db_               395 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               413 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.AddLogin(form));
db_               414 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               424 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.AddLogin(form_dash));
db_               425 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               432 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form, &result));
db_               439 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               446 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               453 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               460 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               467 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               474 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               481 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               488 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               493 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               498 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               503 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               508 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form2, &result));
db_               538 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               545 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(AddTimestampedLogin(&db_, "1", "foo1", base::Time()));
db_               547 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(AddTimestampedLogin(&db_, "2", "foo2", now - one_day));
db_               548 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(AddTimestampedLogin(&db_, "3", "foo3", now));
db_               549 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(AddTimestampedLogin(&db_, "4", "foo4", now + one_day));
db_               552 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               557 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLoginsCreatedBetween(now, base::Time(), &result));
db_               562 components/password_manager/core/browser/login_database_unittest.cc   db_.RemoveLoginsCreatedBetween(now, base::Time());
db_               565 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               570 components/password_manager/core/browser/login_database_unittest.cc   db_.RemoveLoginsCreatedBetween(base::Time(), base::Time());
db_               573 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               581 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetBlacklistLogins(&result));
db_               596 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.AddLogin(form));
db_               599 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               603 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(form, &result));
db_               608 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetBlacklistLogins(&result));
db_               633 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result));
db_               649 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.AddLogin(incomplete_form));
db_               661 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(encountered_form, &result));
db_               693 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.UpdateLogin(completed_form, NULL));
db_               696 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetLogins(encountered_form, &result));
db_               722 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.AddLogin(incomplete_form));
db_               732 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.AddLogin(complete_form));
db_               736 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result.get()));
db_               742 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.UpdateLogin(complete_form, NULL));
db_               745 components/password_manager/core/browser/login_database_unittest.cc   EXPECT_TRUE(db_.GetAutofillableLogins(&result.get()));
db_                40 components/precache/core/precache_database.cc   DCHECK(!db_);  // Init must only be called once.
db_                42 components/precache/core/precache_database.cc   db_.reset(new sql::Connection());
db_                43 components/precache/core/precache_database.cc   db_->set_histogram_tag("Precache");
db_                45 components/precache/core/precache_database.cc   if (!db_->Open(db_path)) {
db_                51 components/precache/core/precache_database.cc   if (!precache_url_table_.Init(db_.get())) {
db_                55 components/precache/core/precache_database.cc     db_->RazeAndClose();
db_               168 components/precache/core/precache_database.cc   DCHECK(db_);
db_               170 components/precache/core/precache_database.cc   return db_->is_open();
db_               182 components/precache/core/precache_database.cc     sql::Transaction transaction(db_.get());
db_                82 components/precache/core/precache_database.h   scoped_ptr<sql::Connection> db_;
db_                26 components/precache/core/precache_url_table.cc PrecacheURLTable::PrecacheURLTable() : db_(NULL) {}
db_                31 components/precache/core/precache_url_table.cc   DCHECK(!db_);  // Init must only be called once.
db_                33 components/precache/core/precache_url_table.cc   db_ = db;
db_                39 components/precache/core/precache_url_table.cc   Statement statement(db_->GetCachedStatement(
db_                49 components/precache/core/precache_url_table.cc   Statement statement(db_->GetCachedStatement(
db_                57 components/precache/core/precache_url_table.cc   Statement statement(db_->GetCachedStatement(
db_                65 components/precache/core/precache_url_table.cc   Statement statement(db_->GetCachedStatement(
db_                75 components/precache/core/precache_url_table.cc   Statement statement(db_->GetCachedStatement(
db_                85 components/precache/core/precache_url_table.cc   return db_->Execute(
db_                54 components/precache/core/precache_url_table.h   sql::Connection* db_;
db_                27 components/precache/core/precache_url_table_unittest.cc     db_.reset(new sql::Connection());
db_                28 components/precache/core/precache_url_table_unittest.cc     ASSERT_TRUE(db_->OpenInMemory());
db_                29 components/precache/core/precache_url_table_unittest.cc     precache_url_table_->Init(db_.get());
db_                33 components/precache/core/precache_url_table_unittest.cc   scoped_ptr<sql::Connection> db_;
db_                36 components/signin/core/browser/webdata/token_service_table.cc   if (!db_->DoesTableExist("token_service")) {
db_                37 components/signin/core/browser/webdata/token_service_table.cc     if (!db_->Execute("CREATE TABLE token_service ("
db_                57 components/signin/core/browser/webdata/token_service_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_                64 components/signin/core/browser/webdata/token_service_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_                81 components/signin/core/browser/webdata/token_service_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_                93 components/signin/core/browser/webdata/token_service_table.cc   sql::Statement s(db_->GetUniqueStatement(
db_                26 components/signin/core/browser/webdata/token_service_table_unittest.cc     db_.reset(new WebDatabase);
db_                27 components/signin/core/browser/webdata/token_service_table_unittest.cc     db_->AddTable(table_.get());
db_                28 components/signin/core/browser/webdata/token_service_table_unittest.cc     ASSERT_EQ(sql::INIT_OK, db_->Init(file_));
db_                34 components/signin/core/browser/webdata/token_service_table_unittest.cc   scoped_ptr<WebDatabase> db_;
db_                29 components/webdata/common/web_data_service_backend.cc   DCHECK(!db_.get());
db_                45 components/webdata/common/web_data_service_backend.cc   db_.reset(new WebDatabase());
db_                49 components/webdata/common/web_data_service_backend.cc     db_->AddTable(*it);
db_                52 components/webdata/common/web_data_service_backend.cc   init_status_ = db_->Init(db_path_);
db_                55 components/webdata/common/web_data_service_backend.cc     db_.reset(NULL);
db_                59 components/webdata/common/web_data_service_backend.cc   db_->BeginTransaction();
db_                64 components/webdata/common/web_data_service_backend.cc   if (db_ && init_status_ == sql::INIT_OK)
db_                65 components/webdata/common/web_data_service_backend.cc     db_->CommitTransaction();
db_                66 components/webdata/common/web_data_service_backend.cc   db_.reset(NULL);
db_                84 components/webdata/common/web_data_service_backend.cc   if (db_ && init_status_ == sql::INIT_OK) {
db_                85 components/webdata/common/web_data_service_backend.cc     WebDatabase::State state = task.Run(db_.get());
db_               104 components/webdata/common/web_data_service_backend.cc   if (db_ && init_status_ == sql::INIT_OK) {
db_               105 components/webdata/common/web_data_service_backend.cc     return task.Run(db_.get());
db_               115 components/webdata/common/web_data_service_backend.cc   DCHECK(db_);
db_               117 components/webdata/common/web_data_service_backend.cc   db_->CommitTransaction();
db_               118 components/webdata/common/web_data_service_backend.cc   db_->BeginTransaction();
db_                85 components/webdata/common/web_data_service_backend.h   WebDatabase* database() { return db_.get(); }
db_               110 components/webdata/common/web_data_service_backend.h   scoped_ptr<WebDatabase> db_;
db_                60 components/webdata/common/web_database.cc   db_.BeginTransaction();
db_                64 components/webdata/common/web_database.cc   db_.CommitTransaction();
db_                68 components/webdata/common/web_database.cc   return &db_;
db_                72 components/webdata/common/web_database.cc   db_.set_histogram_tag("Web");
db_                77 components/webdata/common/web_database.cc   db_.set_page_size(2048);
db_                81 components/webdata/common/web_database.cc   db_.set_cache_size(32);
db_                85 components/webdata/common/web_database.cc   db_.set_exclusive_locking();
db_                87 components/webdata/common/web_database.cc   if (!db_.Open(db_name))
db_                91 components/webdata/common/web_database.cc   sql::Transaction transaction(&db_);
db_                96 components/webdata/common/web_database.cc   if (!meta_table_.Init(&db_, kCurrentVersionNumber, kCompatibleVersionNumber))
db_               105 components/webdata/common/web_database.cc     it->second->Init(&db_, &meta_table_);
db_                62 components/webdata/common/web_database.h   sql::Connection db_;
db_                 7 components/webdata/common/web_database_table.cc WebDatabaseTable::WebDatabaseTable() : db_(NULL), meta_table_(NULL) {}
db_                11 components/webdata/common/web_database_table.cc   db_ = db;
db_                60 components/webdata/common/web_database_table.h   sql::Connection* db_;
db_               169 content/browser/dom_storage/dom_storage_area_unittest.cc         area->backing_.get())->db_.get();
db_               192 content/browser/dom_storage/dom_storage_area_unittest.cc         area->backing_.get())->db_.get();
db_               294 content/browser/dom_storage/dom_storage_area_unittest.cc   static_cast<LocalStorageDatabaseAdapter*>(area->backing_.get())->db_.reset(
db_               321 content/browser/dom_storage/dom_storage_area_unittest.cc       area->backing_.get())->db_->file_path();
db_               386 content/browser/dom_storage/dom_storage_area_unittest.cc           area->backing_.get())->db_.get();
db_               394 content/browser/dom_storage/dom_storage_area_unittest.cc       area->backing_.get())->db_.get();
db_               407 content/browser/dom_storage/dom_storage_area_unittest.cc       area->backing_.get())->db_.get();
db_               415 content/browser/dom_storage/dom_storage_area_unittest.cc       area->backing_.get())->db_.get();
db_               424 content/browser/dom_storage/dom_storage_area_unittest.cc       area->backing_.get())->db_.get();
db_                60 content/browser/dom_storage/dom_storage_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE,
db_                83 content/browser/dom_storage/dom_storage_database.cc   sql::Transaction transaction(db_.get());
db_                88 content/browser/dom_storage/dom_storage_database.cc     if (!db_->Execute("DELETE FROM ItemTable"))
db_               101 content/browser/dom_storage/dom_storage_database.cc       statement.Assign(db_->GetCachedStatement(SQL_FROM_HERE,
db_               106 content/browser/dom_storage/dom_storage_database.cc       statement.Assign(db_->GetCachedStatement(SQL_FROM_HERE,
db_               119 content/browser/dom_storage/dom_storage_database.cc     sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE,
db_               151 content/browser/dom_storage/dom_storage_database.cc   db_.reset(new sql::Connection());
db_               152 content/browser/dom_storage/dom_storage_database.cc   db_->set_histogram_tag("DOMStorageDatabase");
db_               156 content/browser/dom_storage/dom_storage_database.cc     if (!db_->OpenInMemory()) {
db_               162 content/browser/dom_storage/dom_storage_database.cc     if (!db_->Open(file_path_)) {
db_               165 content/browser/dom_storage/dom_storage_database.cc                  << " error: " << db_->GetErrorMessage();
db_               175 content/browser/dom_storage/dom_storage_database.cc   ignore_result(db_->Execute("PRAGMA encoding=\"UTF-16\""));
db_               209 content/browser/dom_storage/dom_storage_database.cc   if (db_->ExecuteAndReturnErrorCode("PRAGMA auto_vacuum") != SQLITE_OK)
db_               213 content/browser/dom_storage/dom_storage_database.cc   if (!db_->DoesTableExist("ItemTable") ||
db_               214 content/browser/dom_storage/dom_storage_database.cc       !db_->DoesColumnExist("ItemTable", "key") ||
db_               215 content/browser/dom_storage/dom_storage_database.cc       !db_->DoesColumnExist("ItemTable", "value"))
db_               220 content/browser/dom_storage/dom_storage_database.cc       db_->GetUniqueStatement("SELECT key,value from ItemTable LIMIT 1"));
db_               237 content/browser/dom_storage/dom_storage_database.cc   return db_->Execute(
db_               267 content/browser/dom_storage/dom_storage_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE,
db_               281 content/browser/dom_storage/dom_storage_database.cc   sql::Transaction migration(db_.get());
db_               283 content/browser/dom_storage/dom_storage_database.cc       db_->Execute("DROP TABLE ItemTable") &&
db_               290 content/browser/dom_storage/dom_storage_database.cc   db_.reset(NULL);
db_               104 content/browser/dom_storage/dom_storage_database.h   bool IsOpen() const { return db_.get() ? db_->is_open() : false; }
db_               111 content/browser/dom_storage/dom_storage_database.h   scoped_ptr<sql::Connection> db_;
db_               201 content/browser/dom_storage/dom_storage_database_unittest.cc   db.db_.reset(new sql::Connection());
db_               202 content/browser/dom_storage/dom_storage_database_unittest.cc   ASSERT_TRUE(db.db_->OpenInMemory());
db_               204 content/browser/dom_storage/dom_storage_database_unittest.cc   CreateInvalidValueColumnTable(db.db_.get());
db_               207 content/browser/dom_storage/dom_storage_database_unittest.cc   CreateInvalidKeyColumnTable(db.db_.get());
db_               210 content/browser/dom_storage/dom_storage_database_unittest.cc   CreateV1Table(db.db_.get());
db_               213 content/browser/dom_storage/dom_storage_database_unittest.cc   CreateV2Table(db.db_.get());
db_               228 content/browser/dom_storage/dom_storage_database_unittest.cc   db.db_.reset(new sql::Connection());
db_               229 content/browser/dom_storage/dom_storage_database_unittest.cc   ASSERT_TRUE(db.db_->Open(file_name));
db_               230 content/browser/dom_storage/dom_storage_database_unittest.cc   CreateV1Table(db.db_.get());
db_               276 content/browser/dom_storage/dom_storage_database_unittest.cc   db.db_.reset(new sql::Connection());
db_               277 content/browser/dom_storage/dom_storage_database_unittest.cc   ASSERT_TRUE(db.db_->OpenInMemory());
db_               278 content/browser/dom_storage/dom_storage_database_unittest.cc   CreateV1Table(db.db_.get());
db_               279 content/browser/dom_storage/dom_storage_database_unittest.cc   InsertDataV1(db.db_.get(), kCannedKey, kCannedValue.string());
db_                14 content/browser/dom_storage/local_storage_database_adapter.cc     : db_(new DOMStorageDatabase(path)) {
db_                20 content/browser/dom_storage/local_storage_database_adapter.cc   db_->ReadAllValues(result);
db_                25 content/browser/dom_storage/local_storage_database_adapter.cc   return db_->CommitChanges(clear_all_first, changes);
db_                29 content/browser/dom_storage/local_storage_database_adapter.cc   sql::Connection::Delete(db_->file_path());
db_                33 content/browser/dom_storage/local_storage_database_adapter.cc   db_.reset(new DOMStorageDatabase(db_->file_path()));
db_                37 content/browser/dom_storage/local_storage_database_adapter.cc     : db_(new DOMStorageDatabase()) {
db_                43 content/browser/dom_storage/local_storage_database_adapter.h   scoped_ptr<DOMStorageDatabase> db_;
db_                77 content/browser/dom_storage/session_storage_database.cc       session_storage_database_->db_.reset();
db_               120 content/browser/dom_storage/session_storage_database.cc   options.snapshot = db_->GetSnapshot();
db_               127 content/browser/dom_storage/session_storage_database.cc   db_->ReleaseSnapshot(options.snapshot);
db_               176 content/browser/dom_storage/session_storage_database.cc   leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch);
db_               220 content/browser/dom_storage/session_storage_database.cc   leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch);
db_               234 content/browser/dom_storage/session_storage_database.cc   leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch);
db_               256 content/browser/dom_storage/session_storage_database.cc   leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch);
db_               270 content/browser/dom_storage/session_storage_database.cc   options.snapshot = db_->GetSnapshot();
db_               273 content/browser/dom_storage/session_storage_database.cc   scoped_ptr<leveldb::Iterator> it(db_->NewIterator(options));
db_               278 content/browser/dom_storage/session_storage_database.cc     db_->ReleaseSnapshot(options.snapshot);
db_               283 content/browser/dom_storage/session_storage_database.cc     db_->ReleaseSnapshot(options.snapshot);
db_               318 content/browser/dom_storage/session_storage_database.cc   db_->ReleaseSnapshot(options.snapshot);
db_               368 content/browser/dom_storage/session_storage_database.cc   db_.reset(db);
db_               387 content/browser/dom_storage/session_storage_database.cc   return db_.get() != NULL;
db_               422 content/browser/dom_storage/session_storage_database.cc   leveldb::Status s = db_->Get(leveldb::ReadOptions(), namespace_prefix,
db_               430 content/browser/dom_storage/session_storage_database.cc   s = db_->Get(leveldb::ReadOptions(), namespace_start_key, &dummy);
db_               444 content/browser/dom_storage/session_storage_database.cc   scoped_ptr<leveldb::Iterator> it(db_->NewIterator(leveldb::ReadOptions()));
db_               497 content/browser/dom_storage/session_storage_database.cc   scoped_ptr<leveldb::Iterator> it(db_->NewIterator(leveldb::ReadOptions()));
db_               520 content/browser/dom_storage/session_storage_database.cc   leveldb::Status s = db_->Get(options, namespace_key, map_id);
db_               534 content/browser/dom_storage/session_storage_database.cc   leveldb::Status s = db_->Get(leveldb::ReadOptions(), next_map_id_key, map_id);
db_               556 content/browser/dom_storage/session_storage_database.cc   scoped_ptr<leveldb::Iterator> it(db_->NewIterator(options));
db_               614 content/browser/dom_storage/session_storage_database.cc   leveldb::Status s = db_->Get(leveldb::ReadOptions(),
db_               191 content/browser/dom_storage/session_storage_database.h   scoped_ptr<leveldb::DB> db_;
db_                15 content/browser/dom_storage/session_storage_database_adapter.cc     : db_(db),
db_                23 content/browser/dom_storage/session_storage_database_adapter.cc   db_->ReadAreaValues(permanent_namespace_id_, origin_, result);
db_                28 content/browser/dom_storage/session_storage_database_adapter.cc   return db_->CommitAreaChanges(permanent_namespace_id_, origin_,
db_                26 content/browser/dom_storage/session_storage_database_adapter.h   scoped_refptr<SessionStorageDatabase> db_;
db_                64 content/browser/dom_storage/session_storage_database_unittest.cc   scoped_refptr<SessionStorageDatabase> db_;
db_               106 content/browser/dom_storage/session_storage_database_unittest.cc   db_ = new SessionStorageDatabase(temp_dir_.path());
db_               107 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->LazyOpen(true));
db_               184 content/browser/dom_storage/session_storage_database_unittest.cc   leveldb::DB* leveldb = db_->db_.get();
db_               300 content/browser/dom_storage/session_storage_database_unittest.cc       db_->db_->NewIterator(leveldb::ReadOptions()));
db_               322 content/browser/dom_storage/session_storage_database_unittest.cc   db_->ReadAreaValues(namespace_id, origin, &values);
db_               344 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->ReadNamespacesAndOrigins(&namespaces_and_origins));
db_               358 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->ReadNamespacesAndOrigins(&namespaces_and_origins));
db_               371 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->GetMapForArea(namespace_id, origin.spec(),
db_               380 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->GetMapRefCount(map_id, &ref_count));
db_               401 content/browser/dom_storage/session_storage_database_unittest.cc     EXPECT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, changes));
db_               413 content/browser/dom_storage/session_storage_database_unittest.cc     EXPECT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, changes));
db_               424 content/browser/dom_storage/session_storage_database_unittest.cc     EXPECT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, true, changes));
db_               436 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, data1));
db_               442 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin2, false, data2));
db_               455 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, data11));
db_               459 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin2, false, data12));
db_               463 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CommitAreaChanges(kNamespace2, kOrigin1, false, data21));
db_               467 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CommitAreaChanges(kNamespace2, kOrigin2, false, data22));
db_               481 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, data1));
db_               485 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin2, false, data2));
db_               487 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CloneNamespace(kNamespace1, kNamespaceClone));
db_               507 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, data1));
db_               508 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CloneNamespace(kNamespace1, kNamespaceClone));
db_               518 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CommitAreaChanges(kNamespaceClone, kOrigin1, false,
db_               539 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, data1));
db_               543 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin2, false, data2));
db_               546 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CloneNamespace(kNamespace1, kNamespaceClone));
db_               548 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CloneNamespace(kNamespace1, another_clone));
db_               552 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CloneNamespace(another_clone, clone_of_clone));
db_               588 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, data1));
db_               589 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CloneNamespace(kNamespace1, kNamespaceClone));
db_               592 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->DeleteArea(kNamespaceClone, kOrigin1));
db_               603 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CommitAreaChanges(kNamespaceClone, kOrigin1, false,
db_               618 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, data1));
db_               622 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin2, false, data2));
db_               623 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->DeleteNamespace(kNamespace1));
db_               634 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, data1));
db_               638 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin2, false, data2));
db_               641 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CloneNamespace(kNamespace1, kNamespaceClone));
db_               642 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->DeleteNamespace(kNamespace1));
db_               659 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, data1));
db_               663 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin2, false, data2));
db_               665 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->DeleteArea(kNamespace1, kOrigin2));
db_               679 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, data1));
db_               683 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin2, false, data2));
db_               686 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CloneNamespace(kNamespace1, kNamespaceClone));
db_               687 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->DeleteArea(kNamespace1, kOrigin1));
db_               705 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, changes));
db_               708 content/browser/dom_storage/session_storage_database_unittest.cc   db_->ReadAreaValues(kNamespace1, kOrigin1, &values);
db_               721 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges("foobar", kOrigin1, false, data1));
db_               722 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges("foobarbaz", kOrigin1, false, data1));
db_               725 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->DeleteNamespace("foobar"));
db_               735 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, data1));
db_               739 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CloneNamespace(kNamespace1, kNamespaceClone));
db_               743 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->DeleteNamespace(kNamespace1));
db_               762 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, data1));
db_               763 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin2, false, data1));
db_               769 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace2, kOrigin2, false, data1));
db_               773 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CloneNamespace(kNamespace1, kNamespaceClone));
db_               776 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->DeleteArea(kNamespace1, kOrigin2));
db_               787 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin1, false, data1));
db_               790 content/browser/dom_storage/session_storage_database_unittest.cc   ASSERT_TRUE(db_->CommitAreaChanges(kNamespace1, kOrigin2, false, data2));
db_               792 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->DeleteArea(kNamespace1, kOrigin1));
db_               793 content/browser/dom_storage/session_storage_database_unittest.cc   EXPECT_TRUE(db_->DeleteArea(kNamespace1, kOrigin2));
db_               434 content/browser/indexed_db/indexed_db_backing_store.cc       db_(db.Pass()),
db_               440 content/browser/indexed_db/indexed_db_backing_store.cc   db_.reset();
db_               819 content/browser/indexed_db/indexed_db_backing_store.cc   if (!SetUpMetadata(backing_store->db_.get(),
db_               835 content/browser/indexed_db/indexed_db_backing_store.cc   scoped_ptr<LevelDBIterator> it = db_->CreateIterator();
db_               857 content/browser/indexed_db/indexed_db_backing_store.cc   leveldb::Status s = GetInt(db_.get(), key, &metadata->id, found);
db_               865 content/browser/indexed_db/indexed_db_backing_store.cc   s = GetString(db_.get(),
db_               879 content/browser/indexed_db/indexed_db_backing_store.cc   s = GetVarInt(db_.get(),
db_               897 content/browser/indexed_db/indexed_db_backing_store.cc       db_.get(), metadata->id, &metadata->max_object_store_id);
db_               934 content/browser/indexed_db/indexed_db_backing_store.cc       new LevelDBTransaction(db_.get());
db_               988 content/browser/indexed_db/indexed_db_backing_store.cc       LevelDBDirectTransaction::Create(db_.get());
db_              1002 content/browser/indexed_db/indexed_db_backing_store.cc   scoped_ptr<LevelDBIterator> it = db_->CreateIterator();
db_              1016 content/browser/indexed_db/indexed_db_backing_store.cc   db_->Compact(start_key, stop_key);
db_              1053 content/browser/indexed_db/indexed_db_backing_store.cc   scoped_ptr<LevelDBIterator> it = db_->CreateIterator();
db_              1223 content/browser/indexed_db/indexed_db_backing_store.cc void IndexedDBBackingStore::Compact() { db_->CompactAll(); }
db_              1639 content/browser/indexed_db/indexed_db_backing_store.cc   scoped_ptr<LevelDBIterator> it = db_->CreateIterator();
db_              2790 content/browser/indexed_db/indexed_db_backing_store.cc   transaction_ = new LevelDBTransaction(backing_store_->db_.get());
db_               390 content/browser/indexed_db/indexed_db_backing_store.h   scoped_ptr<LevelDBDatabase> db_;
db_                24 content/browser/indexed_db/indexed_db_transaction_unittest.cc     db_ = IndexedDBDatabase::Create(base::ASCIIToUTF16("db"),
db_                35 content/browser/indexed_db/indexed_db_transaction_unittest.cc   scoped_refptr<IndexedDBDatabase> db_;
db_                60 content/browser/indexed_db/indexed_db_transaction_unittest.cc       db_,
db_                62 content/browser/indexed_db/indexed_db_transaction_unittest.cc   db_->TransactionCreated(transaction);
db_                97 content/browser/indexed_db/indexed_db_transaction_unittest.cc       db_,
db_                99 content/browser/indexed_db/indexed_db_transaction_unittest.cc   db_->TransactionCreated(transaction);
db_               144 content/browser/indexed_db/indexed_db_transaction_unittest.cc       db_,
db_               146 content/browser/indexed_db/indexed_db_transaction_unittest.cc   db_->TransactionCreated(transaction);
db_                79 content/browser/indexed_db/leveldb/leveldb_database.cc     : db_(db->db_.get()), snapshot_(db_->GetSnapshot()) {}
db_                81 content/browser/indexed_db/leveldb/leveldb_database.cc LevelDBSnapshot::~LevelDBSnapshot() { db_->ReleaseSnapshot(snapshot_); }
db_                87 content/browser/indexed_db/leveldb/leveldb_database.cc   db_.reset();
db_               287 content/browser/indexed_db/leveldb/leveldb_database.cc   (*result)->db_ = make_scoped_ptr(db);
db_               311 content/browser/indexed_db/leveldb/leveldb_database.cc   result->db_ = make_scoped_ptr(db);
db_               324 content/browser/indexed_db/leveldb/leveldb_database.cc       db_->Put(write_options, MakeSlice(key), MakeSlice(*value));
db_               334 content/browser/indexed_db/leveldb/leveldb_database.cc   const leveldb::Status s = db_->Delete(write_options, MakeSlice(key));
db_               350 content/browser/indexed_db/leveldb/leveldb_database.cc   const leveldb::Status s = db_->Get(read_options, MakeSlice(key), value);
db_               367 content/browser/indexed_db/leveldb/leveldb_database.cc       db_->Write(write_options, write_batch.write_batch_.get());
db_               447 content/browser/indexed_db/leveldb/leveldb_database.cc   scoped_ptr<leveldb::Iterator> i(db_->NewIterator(read_options));
db_               459 content/browser/indexed_db/leveldb/leveldb_database.cc   db_->CompactRange(&start_slice, &stop_slice);
db_               462 content/browser/indexed_db/leveldb/leveldb_database.cc void LevelDBDatabase::CompactAll() { db_->CompactRange(NULL, NULL); }
db_                40 content/browser/indexed_db/leveldb/leveldb_database.h   leveldb::DB* db_;
db_               100 content/browser/indexed_db/leveldb/leveldb_database.h   scoped_ptr<leveldb::DB> db_;
db_                17 content/browser/indexed_db/leveldb/leveldb_transaction.cc     : db_(db),
db_                82 content/browser/indexed_db/leveldb/leveldb_transaction.cc   leveldb::Status s = db_->Get(key, value, found, &snapshot_);
db_               106 content/browser/indexed_db/leveldb/leveldb_transaction.cc   leveldb::Status s = db_->Write(*write_batch);
db_               189 content/browser/indexed_db/leveldb/leveldb_transaction.cc       db_iterator_(transaction_->db_->CreateIterator(&transaction_->snapshot_)),
db_               430 content/browser/indexed_db/leveldb/leveldb_transaction.cc     : db_(db), write_batch_(LevelDBWriteBatch::Create()), finished_(false) {}
db_               448 content/browser/indexed_db/leveldb/leveldb_transaction.cc   leveldb::Status s = db_->Get(key, value, found);
db_               461 content/browser/indexed_db/leveldb/leveldb_transaction.cc   leveldb::Status s = db_->Write(*write_batch_);
db_               129 content/browser/indexed_db/leveldb/leveldb_transaction.h   LevelDBDatabase* db_;
db_               155 content/browser/indexed_db/leveldb/leveldb_transaction.h   LevelDBDatabase* db_;
db_               130 content/browser/media/webrtc_identity_store_backend.cc     DCHECK(!db_.get());
db_               170 content/browser/media/webrtc_identity_store_backend.cc   scoped_ptr<sql::Connection> db_;
db_               367 content/browser/media/webrtc_identity_store_backend.cc   DCHECK(!db_.get());
db_               377 content/browser/media/webrtc_identity_store_backend.cc   db_.reset(new sql::Connection());
db_               379 content/browser/media/webrtc_identity_store_backend.cc   db_->set_error_callback(base::Bind(&SqlLiteStorage::OnDatabaseError, this));
db_               381 content/browser/media/webrtc_identity_store_backend.cc   if (!db_->Open(path_)) {
db_               383 content/browser/media/webrtc_identity_store_backend.cc     db_.reset();
db_               387 content/browser/media/webrtc_identity_store_backend.cc   if (!InitDB(db_.get())) {
db_               389 content/browser/media/webrtc_identity_store_backend.cc     db_.reset();
db_               393 content/browser/media/webrtc_identity_store_backend.cc   db_->Preload();
db_               399 content/browser/media/webrtc_identity_store_backend.cc   sql::Statement stmt(db_->GetUniqueStatement(
db_               422 content/browser/media/webrtc_identity_store_backend.cc   db_.reset();
db_               430 content/browser/media/webrtc_identity_store_backend.cc   if (!db_.get())
db_               447 content/browser/media/webrtc_identity_store_backend.cc   if (!db_.get())
db_               456 content/browser/media/webrtc_identity_store_backend.cc   if (!db_.get())
db_               462 content/browser/media/webrtc_identity_store_backend.cc   sql::Statement del_stmt(db_->GetCachedStatement(
db_               471 content/browser/media/webrtc_identity_store_backend.cc   sql::Transaction transaction(db_.get());
db_               487 content/browser/media/webrtc_identity_store_backend.cc   db_->RazeAndClose();
db_               525 content/browser/media/webrtc_identity_store_backend.cc   if (!db_.get() || pending_operations_.empty())
db_               528 content/browser/media/webrtc_identity_store_backend.cc   sql::Statement add_stmt(db_->GetCachedStatement(
db_               537 content/browser/media/webrtc_identity_store_backend.cc   sql::Statement del_stmt(db_->GetCachedStatement(
db_               543 content/browser/media/webrtc_identity_store_backend.cc   sql::Transaction transaction(db_.get());
db_               125 content/browser/net/sqlite_persistent_cookie_store.cc     DCHECK(!db_.get()) << "Close should have already been called.";
db_               217 content/browser/net/sqlite_persistent_cookie_store.cc   scoped_ptr<sql::Connection> db_;
db_               412 content/browser/net/sqlite_persistent_cookie_store.cc   DCHECK(!db_.get());
db_               559 content/browser/net/sqlite_persistent_cookie_store.cc     return db_ != NULL;
db_               573 content/browser/net/sqlite_persistent_cookie_store.cc   db_.reset(new sql::Connection);
db_               574 content/browser/net/sqlite_persistent_cookie_store.cc   db_->set_histogram_tag("Cookie");
db_               577 content/browser/net/sqlite_persistent_cookie_store.cc   db_->set_error_callback(
db_               581 content/browser/net/sqlite_persistent_cookie_store.cc   if (!db_->Open(path_)) {
db_               584 content/browser/net/sqlite_persistent_cookie_store.cc       db_->Raze();
db_               586 content/browser/net/sqlite_persistent_cookie_store.cc     db_.reset();
db_               590 content/browser/net/sqlite_persistent_cookie_store.cc   if (!EnsureDatabaseVersion() || !InitTable(db_.get())) {
db_               593 content/browser/net/sqlite_persistent_cookie_store.cc       db_->Raze();
db_               595 content/browser/net/sqlite_persistent_cookie_store.cc     db_.reset();
db_               608 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Statement smt(db_->GetUniqueStatement(
db_               613 content/browser/net/sqlite_persistent_cookie_store.cc       db_->Raze();
db_               615 content/browser/net/sqlite_persistent_cookie_store.cc     db_.reset();
db_               665 content/browser/net/sqlite_persistent_cookie_store.cc   if (!db_) {
db_               697 content/browser/net/sqlite_persistent_cookie_store.cc     smt.Assign(db_->GetCachedStatement(
db_               703 content/browser/net/sqlite_persistent_cookie_store.cc     smt.Assign(db_->GetCachedStatement(
db_               713 content/browser/net/sqlite_persistent_cookie_store.cc     db_.reset();
db_               762 content/browser/net/sqlite_persistent_cookie_store.cc       db_.get(), kCurrentVersionNumber, kCompatibleVersionNumber)) {
db_               773 content/browser/net/sqlite_persistent_cookie_store.cc     sql::Transaction transaction(db_.get());
db_               776 content/browser/net/sqlite_persistent_cookie_store.cc     if (!db_->Execute("ALTER TABLE cookies ADD COLUMN last_access_utc "
db_               778 content/browser/net/sqlite_persistent_cookie_store.cc         !db_->Execute("UPDATE cookies SET last_access_utc = creation_utc")) {
db_               796 content/browser/net/sqlite_persistent_cookie_store.cc     sql::Transaction transaction(db_.get());
db_               799 content/browser/net/sqlite_persistent_cookie_store.cc     ignore_result(db_->Execute(
db_               805 content/browser/net/sqlite_persistent_cookie_store.cc     ignore_result(db_->Execute(
db_               811 content/browser/net/sqlite_persistent_cookie_store.cc     ignore_result(db_->Execute(
db_               825 content/browser/net/sqlite_persistent_cookie_store.cc     sql::Transaction transaction(db_.get());
db_               828 content/browser/net/sqlite_persistent_cookie_store.cc     if (!db_->Execute("ALTER TABLE cookies "
db_               830 content/browser/net/sqlite_persistent_cookie_store.cc         !db_->Execute("ALTER TABLE cookies "
db_               846 content/browser/net/sqlite_persistent_cookie_store.cc     sql::Transaction transaction(db_.get());
db_               853 content/browser/net/sqlite_persistent_cookie_store.cc     if (!db_->Execute(stmt.c_str())) {
db_               868 content/browser/net/sqlite_persistent_cookie_store.cc     sql::Transaction transaction(db_.get());
db_               872 content/browser/net/sqlite_persistent_cookie_store.cc     if (!db_->Execute("ALTER TABLE cookies "
db_               892 content/browser/net/sqlite_persistent_cookie_store.cc     db_.reset(new sql::Connection);
db_               894 content/browser/net/sqlite_persistent_cookie_store.cc         !db_->Open(path_) ||
db_               896 content/browser/net/sqlite_persistent_cookie_store.cc             db_.get(), kCurrentVersionNumber, kCompatibleVersionNumber)) {
db_               900 content/browser/net/sqlite_persistent_cookie_store.cc       db_.reset();
db_               966 content/browser/net/sqlite_persistent_cookie_store.cc   if (!db_.get() || ops.empty())
db_               969 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Statement add_smt(db_->GetCachedStatement(SQL_FROM_HERE,
db_               977 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Statement update_access_smt(db_->GetCachedStatement(SQL_FROM_HERE,
db_               982 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Statement del_smt(db_->GetCachedStatement(SQL_FROM_HERE,
db_               987 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Transaction transaction(db_.get());
db_              1093 content/browser/net/sqlite_persistent_cookie_store.cc   db_.reset();
db_              1099 content/browser/net/sqlite_persistent_cookie_store.cc   if (!db_)
db_              1105 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Statement del_smt(db_->GetCachedStatement(
db_              1112 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Transaction transaction(db_.get());
db_              1166 content/browser/net/sqlite_persistent_cookie_store.cc   if (db_) {
db_              1169 content/browser/net/sqlite_persistent_cookie_store.cc     bool success = db_->RazeAndClose();
db_              1172 content/browser/net/sqlite_persistent_cookie_store.cc     db_.reset();
db_              1183 content/browser/net/sqlite_persistent_cookie_store.cc   if (!db_->Execute("DELETE FROM cookies WHERE persistent == 0"))
db_                30 extensions/browser/value_store/leveldb_value_store.cc       : db_(db), snapshot_(db->GetSnapshot()) {}
db_                33 extensions/browser/value_store/leveldb_value_store.cc     db_->ReleaseSnapshot(snapshot_);
db_                41 extensions/browser/value_store/leveldb_value_store.cc   leveldb::DB* db_;
db_                64 extensions/browser/value_store/leveldb_value_store.cc   if (db_ && IsEmpty())
db_               118 extensions/browser/value_store/leveldb_value_store.cc   ScopedSnapshot snapshot(db_.get());
db_               146 extensions/browser/value_store/leveldb_value_store.cc   ScopedSnapshot snapshot(db_.get());
db_               148 extensions/browser/value_store/leveldb_value_store.cc   scoped_ptr<leveldb::Iterator> it(db_->NewIterator(options));
db_               244 extensions/browser/value_store/leveldb_value_store.cc   leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch);
db_               324 extensions/browser/value_store/leveldb_value_store.cc   if (db_)
db_               338 extensions/browser/value_store/leveldb_value_store.cc   db_.reset(db);
db_               350 extensions/browser/value_store/leveldb_value_store.cc   leveldb::Status s = db_->Get(options, key, &value_as_json);
db_               402 extensions/browser/value_store/leveldb_value_store.cc   leveldb::Status status = db_->Write(leveldb::WriteOptions(), batch);
db_               409 extensions/browser/value_store/leveldb_value_store.cc   scoped_ptr<leveldb::Iterator> it(db_->NewIterator(leveldb::ReadOptions()));
db_               421 extensions/browser/value_store/leveldb_value_store.cc   db_.reset();  // release any lock on the directory
db_                94 extensions/browser/value_store/leveldb_value_store.h   scoped_ptr<leveldb::DB> db_;
db_               138 google_apis/gcm/engine/gcm_store_impl.cc   scoped_ptr<leveldb::DB> db_;
db_               150 google_apis/gcm/engine/gcm_store_impl.cc   if (db_.get()) {
db_               172 google_apis/gcm/engine/gcm_store_impl.cc   db_.reset(db);
db_               222 google_apis/gcm/engine/gcm_store_impl.cc   db_.reset();
db_               227 google_apis/gcm/engine/gcm_store_impl.cc   db_.reset();
db_               243 google_apis/gcm/engine/gcm_store_impl.cc   if (!db_.get()) {
db_               257 google_apis/gcm/engine/gcm_store_impl.cc       db_->Put(write_options,
db_               261 google_apis/gcm/engine/gcm_store_impl.cc     s = db_->Put(
db_               277 google_apis/gcm/engine/gcm_store_impl.cc   if (!db_.get()) {
db_               287 google_apis/gcm/engine/gcm_store_impl.cc   const leveldb::Status status = db_->Put(write_options,
db_               300 google_apis/gcm/engine/gcm_store_impl.cc   if (!db_.get()) {
db_               308 google_apis/gcm/engine/gcm_store_impl.cc   leveldb::Status status = db_->Delete(write_options, MakeSlice(app_id));
db_               320 google_apis/gcm/engine/gcm_store_impl.cc   if (!db_.get()) {
db_               330 google_apis/gcm/engine/gcm_store_impl.cc   const leveldb::Status s = db_->Put(write_options,
db_               344 google_apis/gcm/engine/gcm_store_impl.cc   if (!db_.get()) {
db_               358 google_apis/gcm/engine/gcm_store_impl.cc     s = db_->Delete(write_options, MakeSlice(key));
db_               374 google_apis/gcm/engine/gcm_store_impl.cc   if (!db_.get()) {
db_               385 google_apis/gcm/engine/gcm_store_impl.cc   const leveldb::Status s = db_->Put(write_options,
db_               400 google_apis/gcm/engine/gcm_store_impl.cc   if (!db_.get()) {
db_               421 google_apis/gcm/engine/gcm_store_impl.cc     s = db_->Get(read_options,
db_               436 google_apis/gcm/engine/gcm_store_impl.cc     s = db_->Delete(write_options, MakeSlice(key));
db_               462 google_apis/gcm/engine/gcm_store_impl.cc       db_->Put(write_options,
db_               478 google_apis/gcm/engine/gcm_store_impl.cc   leveldb::Status s = db_->Get(read_options, MakeSlice(kDeviceAIDKey), &result);
db_               485 google_apis/gcm/engine/gcm_store_impl.cc     s = db_->Get(read_options, MakeSlice(kDeviceTokenKey), &result);
db_               511 google_apis/gcm/engine/gcm_store_impl.cc   scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(read_options));
db_               538 google_apis/gcm/engine/gcm_store_impl.cc   scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(read_options));
db_               560 google_apis/gcm/engine/gcm_store_impl.cc   scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(read_options));
db_               593 google_apis/gcm/engine/gcm_store_impl.cc   leveldb::Status s = db_->Get(read_options,
db_                37 sql/connection.cc       : db_(db) {
db_                40 sql/connection.cc     sqlite3_busy_timeout(db_, 0);
db_                45 sql/connection.cc     return sqlite3_busy_timeout(db_,
db_                50 sql/connection.cc   sqlite3* db_;
db_                62 sql/connection.cc       : db_(db) {
db_                63 sql/connection.cc     sqlite3_exec(db_, "PRAGMA writable_schema=1", NULL, NULL, NULL);
db_                66 sql/connection.cc     sqlite3_exec(db_, "PRAGMA writable_schema=0", NULL, NULL, NULL);
db_                70 sql/connection.cc   sqlite3* db_;
db_               214 sql/connection.cc     : db_(NULL),
db_               283 sql/connection.cc   if (db_) {
db_               292 sql/connection.cc     int rc = sqlite3_close(db_);
db_               298 sql/connection.cc   db_ = NULL;
db_               316 sql/connection.cc   if (!db_) {
db_               329 sql/connection.cc   int rc = GetSqlite3File(db_, &file);
db_               351 sql/connection.cc   if (!db_)
db_               384 sql/connection.cc   if (!db_) {
db_               442 sql/connection.cc   ScopedWritableSchema writable_schema(db_);
db_               445 sql/connection.cc   int rc = BackupDatabase(null_db.db_, db_, kMain);
db_               461 sql/connection.cc     rc = GetSqlite3File(db_, &file);
db_               474 sql/connection.cc     rc = BackupDatabase(null_db.db_, db_, kMain);
db_               493 sql/connection.cc   if (!db_) {
db_               498 sql/connection.cc   ScopedBusyTimeout busy_timeout(db_);
db_               504 sql/connection.cc   if (!db_) {
db_               525 sql/connection.cc   if (!db_) {
db_               655 sql/connection.cc   if (!db_) {
db_               659 sql/connection.cc   return sqlite3_exec(db_, sql, NULL, NULL, NULL);
db_               663 sql/connection.cc   if (!db_) {
db_               682 sql/connection.cc   if (!db_) {
db_               687 sql/connection.cc   ScopedBusyTimeout busy_timeout(db_);
db_               721 sql/connection.cc   if (!db_)
db_               725 sql/connection.cc   int rc = sqlite3_prepare_v2(db_, sql, -1, &stmt, NULL);
db_               740 sql/connection.cc   if (!db_)
db_               744 sql/connection.cc   int rc = sqlite3_prepare_v2(db_, sql, -1, &stmt, NULL);
db_               778 sql/connection.cc   if (!db_) {
db_               784 sql/connection.cc   if (sqlite3_prepare_v2(db_, sql, -1, &stmt, NULL) != SQLITE_OK)
db_               824 sql/connection.cc   if (!db_) {
db_               828 sql/connection.cc   return sqlite3_last_insert_rowid(db_);
db_               832 sql/connection.cc   if (!db_) {
db_               836 sql/connection.cc   return sqlite3_changes(db_);
db_               840 sql/connection.cc   if (!db_)
db_               842 sql/connection.cc   return sqlite3_errcode(db_);
db_               846 sql/connection.cc   if (!db_)
db_               850 sql/connection.cc   if (SQLITE_OK != sqlite3_file_control(db_, NULL, SQLITE_LAST_ERRNO, &err))
db_               857 sql/connection.cc   if (!db_)
db_               859 sql/connection.cc   return sqlite3_errmsg(db_);
db_               866 sql/connection.cc   if (db_) {
db_               883 sql/connection.cc   int err = sqlite3_open(file_name.c_str(), &db_);
db_               887 sql/connection.cc     err = sqlite3_extended_errcode(db_);
db_               931 sql/connection.cc   sqlite3_db_config(db_, SQLITE_DBCONFIG_LOOKASIDE, NULL, 0, 0);
db_               938 sql/connection.cc   err = sqlite3_extended_result_codes(db_, 1);
db_               954 sql/connection.cc   err = sqlite3IcuInit(db_);
db_               182 sql/connection.h   bool is_open() const { return !!db_; }
db_               552 sql/connection.h   sqlite3* db_;
db_                96 sql/connection_unittest.cc     ASSERT_TRUE(db_.Open(db_path_));
db_               100 sql/connection_unittest.cc     db_.Close();
db_               103 sql/connection_unittest.cc   sql::Connection& db() { return db_; }
db_               109 sql/connection_unittest.cc     db_.RazeAndClose();
db_               113 sql/connection_unittest.cc   sql::Connection db_;
db_                55 sql/meta_table.cc MetaTable::MetaTable() : db_(NULL) {
db_               116 sql/meta_table.cc   DCHECK(!db_ && db);
db_               117 sql/meta_table.cc   db_ = db;
db_               125 sql/meta_table.cc   sql::Transaction transaction(db_);
db_               130 sql/meta_table.cc     if (!db_->Execute("CREATE TABLE meta"
db_               140 sql/meta_table.cc     db_->AddTaggedHistogram("Sqlite.Version", GetVersionNumber());
db_               146 sql/meta_table.cc   db_ = NULL;
db_               218 sql/meta_table.cc   DCHECK(db_);
db_               219 sql/meta_table.cc   Statement s(db_->GetUniqueStatement("DELETE FROM meta WHERE key=?"));
db_               225 sql/meta_table.cc   DCHECK(db_ && statement);
db_               226 sql/meta_table.cc   statement->Assign(db_->GetCachedStatement(SQL_FROM_HERE,
db_               232 sql/meta_table.cc   DCHECK(db_ && statement);
db_               233 sql/meta_table.cc   statement->Assign(db_->GetCachedStatement(SQL_FROM_HERE,
db_                94 sql/meta_table.h   Connection* db_;
db_                19 sql/meta_table_unittest.cc     ASSERT_TRUE(db_.Open(temp_dir_.path().AppendASCII("SQLMetaTableTest.db")));
db_                23 sql/meta_table_unittest.cc     db_.Close();
db_                26 sql/meta_table_unittest.cc   sql::Connection& db() { return db_; }
db_                30 sql/meta_table_unittest.cc   sql::Connection db_;
db_               126 sql/recovery.cc   CHECK(r->db_);
db_               138 sql/recovery.cc     : db_(connection),
db_               141 sql/recovery.cc   if (db_->page_size_)
db_               142 sql/recovery.cc     recover_db_.set_page_size(db_->page_size_);
db_               157 sql/recovery.cc   DCHECK(!db_->has_error_callback());
db_               167 sql/recovery.cc   db_->RollbackAllTransactions();
db_               177 sql/recovery.cc   ignore_result(db_->Execute("PRAGMA writable_schema=1"));
db_               178 sql/recovery.cc   ignore_result(db_->Execute("PRAGMA locking_mode=NORMAL"));
db_               179 sql/recovery.cc   ignore_result(db_->Execute("SELECT COUNT(*) FROM sqlite_master"));
db_               200 sql/recovery.cc   int rc = recoverVtableInit(recover_db_.db_);
db_               229 sql/recovery.cc   CHECK(db_);
db_               264 sql/recovery.cc   sqlite3_backup* backup = sqlite3_backup_init(db_->db_, kMain,
db_               265 sql/recovery.cc                                                recover_db_.db_, kMain);
db_               270 sql/recovery.cc     int err = sqlite3_extended_errcode(db_->db_);
db_               273 sql/recovery.cc                << sqlite3_errmsg(db_->db_);
db_               292 sql/recovery.cc                << sqlite3_errmsg(db_->db_);
db_               324 sql/recovery.cc   if (!db_)
db_               329 sql/recovery.cc     db_->RazeAndClose();
db_               331 sql/recovery.cc     db_->Poison();
db_               333 sql/recovery.cc   db_ = NULL;
db_               173 sql/recovery.h   Connection* db_;         // Original database connection.
db_                67 sql/recovery_unittest.cc     ASSERT_TRUE(db_.Open(db_path()));
db_                71 sql/recovery_unittest.cc     db_.Close();
db_                74 sql/recovery_unittest.cc   sql::Connection& db() { return db_; }
db_                81 sql/recovery_unittest.cc     db_.Close();
db_                82 sql/recovery_unittest.cc     return db_.Open(db_path());
db_                87 sql/recovery_unittest.cc   sql::Connection db_;
db_                32 sql/sqlite_features_unittest.cc     ASSERT_TRUE(db_.Open(temp_dir_.path().AppendASCII("SQLStatementTest.db")));
db_                36 sql/sqlite_features_unittest.cc     db_.set_error_callback(base::Bind(&CaptureErrorCallback,
db_                44 sql/sqlite_features_unittest.cc     db_.Close();
db_                47 sql/sqlite_features_unittest.cc   sql::Connection& db() { return db_; }
db_                51 sql/sqlite_features_unittest.cc   sql::Connection db_;
db_                23 sql/statement_unittest.cc     ASSERT_TRUE(db_.Open(temp_dir_.path().AppendASCII("SQLStatementTest.db")));
db_                27 sql/statement_unittest.cc     db_.Close();
db_                30 sql/statement_unittest.cc   sql::Connection& db() { return db_; }
db_                34 sql/statement_unittest.cc   sql::Connection db_;
db_                18 sql/test/error_callback_support.cc     : db_(db) {
db_                20 sql/test/error_callback_support.cc   EXPECT_FALSE(db_->has_error_callback());
db_                21 sql/test/error_callback_support.cc   db_->set_error_callback(cb);
db_                25 sql/test/error_callback_support.cc   db_->reset_error_callback();
db_                29 sql/test/error_callback_support.h   sql::Connection* db_;
db_                17 sql/transaction_unittest.cc     ASSERT_TRUE(db_.Open(
db_                24 sql/transaction_unittest.cc     db_.Close();
db_                27 sql/transaction_unittest.cc   sql::Connection& db() { return db_; }
db_                38 sql/transaction_unittest.cc   sql::Connection db_;
db_               155 sync/syncable/directory_backing_store.cc   : db_(new sql::Connection()),
db_               158 sync/syncable/directory_backing_store.cc   db_->set_histogram_tag("SyncDirectory");
db_               159 sync/syncable/directory_backing_store.cc   db_->set_page_size(4096);
db_               160 sync/syncable/directory_backing_store.cc   db_->set_cache_size(32);
db_               165 sync/syncable/directory_backing_store.cc   : db_(db),
db_               183 sync/syncable/directory_backing_store.cc       statement.Assign(db_->GetCachedStatement(
db_               187 sync/syncable/directory_backing_store.cc       statement.Assign(db_->GetCachedStatement(
db_               205 sync/syncable/directory_backing_store.cc   DCHECK(db_->is_open());
db_               216 sync/syncable/directory_backing_store.cc   sql::Transaction transaction(db_.get());
db_               244 sync/syncable/directory_backing_store.cc     sql::Statement s1(db_->GetCachedStatement(
db_               256 sync/syncable/directory_backing_store.cc     DCHECK_EQ(db_->GetLastChangeCount(), 1);
db_               258 sync/syncable/directory_backing_store.cc     sql::Statement s2(db_->GetCachedStatement(
db_               283 sync/syncable/directory_backing_store.cc       DCHECK_EQ(db_->GetLastChangeCount(), 1);
db_               292 sync/syncable/directory_backing_store.cc   sql::Transaction transaction(db_.get());
db_               448 sync/syncable/directory_backing_store.cc   sql::Statement s(db_->GetUniqueStatement(
db_               482 sync/syncable/directory_backing_store.cc   if (!db_->Execute(query.c_str()))
db_               489 sync/syncable/directory_backing_store.cc   if (!db_->Execute("ALTER TABLE temp_metas RENAME TO metas"))
db_               498 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               509 sync/syncable/directory_backing_store.cc   if (!db_->Execute("ALTER TABLE temp_share_info RENAME TO share_info"))
db_               524 sync/syncable/directory_backing_store.cc   sql::Statement s(db_->GetUniqueStatement(select.c_str()));
db_               546 sync/syncable/directory_backing_store.cc   sql::Statement s(db_->GetUniqueStatement(select.c_str()));
db_               561 sync/syncable/directory_backing_store.cc         db_->GetUniqueStatement(
db_               579 sync/syncable/directory_backing_store.cc         db_->GetUniqueStatement(
db_               599 sync/syncable/directory_backing_store.cc         db_->GetUniqueStatement(
db_               622 sync/syncable/directory_backing_store.cc   if (!db_->Execute("DELETE FROM metas "
db_               628 sync/syncable/directory_backing_store.cc   if (!db_->Execute("DELETE FROM metas "
db_               639 sync/syncable/directory_backing_store.cc   return db_->Execute(query.c_str());
db_               690 sync/syncable/directory_backing_store.cc   sql::Statement query(db_->GetUniqueStatement(query_sql.c_str()));
db_               691 sync/syncable/directory_backing_store.cc   sql::Statement update(db_->GetUniqueStatement(update_sql.c_str()));
db_               712 sync/syncable/directory_backing_store.cc   sql::Statement s(db_->GetCachedStatement(
db_               720 sync/syncable/directory_backing_store.cc   if (!db_->DoesTableExist("share_version"))
db_               723 sync/syncable/directory_backing_store.cc   sql::Statement statement(db_->GetUniqueStatement(
db_               746 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               749 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               754 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               802 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               805 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               827 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               846 sync/syncable/directory_backing_store.cc     sql::Statement fetch(db_->GetUniqueStatement(
db_               858 sync/syncable/directory_backing_store.cc     sql::Statement update(db_->GetUniqueStatement(
db_               875 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               882 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               899 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               914 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               919 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               925 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               930 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               936 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_               958 sync/syncable/directory_backing_store.cc   if (!db_->Execute("ALTER TABLE models RENAME TO temp_models"))
db_               963 sync/syncable/directory_backing_store.cc   sql::Statement query(db_->GetUniqueStatement(
db_               967 sync/syncable/directory_backing_store.cc   sql::Statement update(db_->GetUniqueStatement(
db_              1032 sync/syncable/directory_backing_store.cc   sql::Statement update_timestamps(db_->GetUniqueStatement(
db_              1047 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_              1059 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_              1068 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_              1071 sync/syncable/directory_backing_store.cc   sql::Statement update(db_->GetUniqueStatement(
db_              1082 sync/syncable/directory_backing_store.cc   if(!db_->Execute(
db_              1086 sync/syncable/directory_backing_store.cc   sql::Statement get_positions(db_->GetUniqueStatement(
db_              1089 sync/syncable/directory_backing_store.cc   sql::Statement put_ordinals(db_->GetUniqueStatement(
db_              1112 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_              1115 sync/syncable/directory_backing_store.cc   sql::Statement update(db_->GetUniqueStatement(
db_              1125 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_              1128 sync/syncable/directory_backing_store.cc   sql::Statement update(db_->GetUniqueStatement(
db_              1141 sync/syncable/directory_backing_store.cc   if (!db_->Execute(query.c_str()))
db_              1149 sync/syncable/directory_backing_store.cc   if (!db_->Execute("ALTER TABLE models RENAME TO temp_models"))
db_              1153 sync/syncable/directory_backing_store.cc   if (!db_->Execute("INSERT INTO models SELECT "
db_              1168 sync/syncable/directory_backing_store.cc   if (!db_->Execute("ALTER TABLE metas ADD COLUMN "
db_              1172 sync/syncable/directory_backing_store.cc   if (!db_->Execute("ALTER TABLE metas ADD COLUMN "
db_              1176 sync/syncable/directory_backing_store.cc   if (!db_->Execute("ALTER TABLE metas ADD COLUMN "
db_              1183 sync/syncable/directory_backing_store.cc   sql::Statement get_cache_guid(db_->GetUniqueStatement(
db_              1192 sync/syncable/directory_backing_store.cc   sql::Statement get(db_->GetUniqueStatement(
db_              1206 sync/syncable/directory_backing_store.cc   sql::Statement put(db_->GetCachedStatement(
db_              1291 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_              1303 sync/syncable/directory_backing_store.cc   if (!db_->Execute("ALTER TABLE models ADD COLUMN context blob"))
db_              1313 sync/syncable/directory_backing_store.cc   if (!db_->Execute(
db_              1320 sync/syncable/directory_backing_store.cc     sql::Statement s(db_->GetUniqueStatement(
db_              1335 sync/syncable/directory_backing_store.cc     sql::Statement s(db_->GetUniqueStatement(
db_              1372 sync/syncable/directory_backing_store.cc     sql::Statement s(db_->GetUniqueStatement(
db_              1390 sync/syncable/directory_backing_store.cc   if (!db_->Execute(query.c_str()))
db_              1399 sync/syncable/directory_backing_store.cc   return db_->Execute(query.c_str());
db_              1404 sync/syncable/directory_backing_store.cc   return db_->Execute(
db_              1416 sync/syncable/directory_backing_store.cc   return db_->Execute(
db_              1428 sync/syncable/directory_backing_store.cc   return db_->Execute(
db_              1442 sync/syncable/directory_backing_store.cc   return db_->Execute(
db_              1471 sync/syncable/directory_backing_store.cc   return db_->Execute(query.c_str());
db_              1488 sync/syncable/directory_backing_store.cc   return db_->Execute(query.c_str());
db_              1553 sync/syncable/directory_backing_store.cc   save_statement->Assign(db_->GetUniqueStatement(
db_               177 sync/syncable/directory_backing_store.h   scoped_ptr<sql::Connection> db_;
db_              3035 sync/syncable/directory_backing_store_unittest.cc             GetMetaProtoTimes(dbs->db_.get()));
db_              3043 sync/syncable/directory_backing_store_unittest.cc             GetMetaProtoTimes(dbs->db_.get()));
db_                20 sync/syncable/in_memory_directory_backing_store.cc   if (!db_->is_open()) {
db_                21 sync/syncable/in_memory_directory_backing_store.cc     if (!db_->OpenInMemory())
db_                29 sync/syncable/in_memory_directory_backing_store.cc     if (!db_->Execute("UPDATE share_info "
db_                31 sync/syncable/on_disk_directory_backing_store.cc   db_->set_exclusive_locking();
db_                32 sync/syncable/on_disk_directory_backing_store.cc   db_->set_page_size(4096);
db_                42 sync/syncable/on_disk_directory_backing_store.cc   if (!db_->is_open()) {
db_                43 sync/syncable/on_disk_directory_backing_store.cc     if (!db_->Open(backing_filepath_))
db_                83 sync/syncable/on_disk_directory_backing_store.cc   db_.reset(new sql::Connection);
db_                87 sync/syncable/on_disk_directory_backing_store.cc   db_->set_exclusive_locking();
db_                88 sync/syncable/on_disk_directory_backing_store.cc   db_->set_page_size(4096);
db_                89 sync/syncable/on_disk_directory_backing_store.cc   db_->set_histogram_tag("SyncDirectory");
db_                21 sync/test/test_directory_backing_store.cc   ignore_result(db_.release());
db_                28 sync/test/test_directory_backing_store.cc   DCHECK(db_->is_open());
db_              1831 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc         pool_.reset(new DescriptorPool(&db_));
db_              1890 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc         EXPECT_TRUE(db_.Add(proto));
db_              1906 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   SimpleDescriptorDatabase db_;        // used if in FALLBACK_DATABASE mode.
db_              2089 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc       ASSERT_TRUE(db_.Add(undeclared_dep_proto));
db_              4498 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc         db_(&source_tree_),
db_              4499 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc         pool_(&db_, &collector_) {}
db_              4512 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   compiler::SourceTreeDescriptorDatabase db_;
db_              4609 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc         db_(&source_tree_),
db_              4610 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc         pool_(&db_, &collector_) {}
db_              4615 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   compiler::SourceTreeDescriptorDatabase db_;
db_               253 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetUniqueStatement(kSql));
db_               317 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               339 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               361 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               384 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               402 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               406 webkit/browser/appcache/appcache_database.cc   return statement.Run() && db_->GetLastChangeCount();
db_               418 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               435 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               450 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               469 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               505 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               522 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               538 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               560 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               582 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               603 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               617 webkit/browser/appcache/appcache_database.cc   sql::Transaction transaction(db_.get());
db_               636 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               650 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               655 webkit/browser/appcache/appcache_database.cc   return statement.Run() && db_->GetLastChangeCount();
db_               671 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               692 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               719 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               733 webkit/browser/appcache/appcache_database.cc   sql::Transaction transaction(db_.get());
db_               752 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               768 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               788 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               800 webkit/browser/appcache/appcache_database.cc   sql::Transaction transaction(db_.get());
db_               819 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               835 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               865 webkit/browser/appcache/appcache_database.cc   sql::Transaction transaction(db_.get());
db_               869 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(statement_id, sql));
db_               886 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetUniqueStatement(sql));
db_               905 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               989 webkit/browser/appcache/appcache_database.cc   if (db_)
db_              1004 webkit/browser/appcache/appcache_database.cc   db_.reset(new sql::Connection);
db_              1007 webkit/browser/appcache/appcache_database.cc   db_->set_histogram_tag("AppCache");
db_              1011 webkit/browser/appcache/appcache_database.cc     opened = db_->OpenInMemory();
db_              1015 webkit/browser/appcache/appcache_database.cc     opened = db_->Open(db_file_path_);
db_              1017 webkit/browser/appcache/appcache_database.cc       db_->Preload();
db_              1020 webkit/browser/appcache/appcache_database.cc   if (!opened || !db_->QuickIntegrityCheck() || !EnsureDatabaseVersion()) {
db_              1038 webkit/browser/appcache/appcache_database.cc   db_->set_error_callback(
db_              1044 webkit/browser/appcache/appcache_database.cc   if (!sql::MetaTable::DoesTableExist(db_.get()))
db_              1047 webkit/browser/appcache/appcache_database.cc   if (!meta_table_->Init(db_.get(), kCurrentVersion, kCompatibleVersion))
db_              1064 webkit/browser/appcache/appcache_database.cc   DCHECK(sql::MetaTable::DoesTableExist(db_.get()));
db_              1066 webkit/browser/appcache/appcache_database.cc     DCHECK(db_->DoesTableExist(kTables[i].table_name));
db_              1069 webkit/browser/appcache/appcache_database.cc     DCHECK(db_->DoesIndexExist(kIndexes[i].index_name));
db_              1077 webkit/browser/appcache/appcache_database.cc   sql::Transaction transaction(db_.get());
db_              1081 webkit/browser/appcache/appcache_database.cc   if (!meta_table_->Init(db_.get(), kCurrentVersion, kCompatibleVersion))
db_              1090 webkit/browser/appcache/appcache_database.cc     if (!CreateTable(db_.get(), kTables[i]))
db_              1095 webkit/browser/appcache/appcache_database.cc     if (!CreateIndex(db_.get(), kIndexes[i]))
db_              1124 webkit/browser/appcache/appcache_database.cc     sql::Transaction transaction(db_.get());
db_              1126 webkit/browser/appcache/appcache_database.cc         !CreateTable(db_.get(), kNamespaceTable_v4)) {
db_              1133 webkit/browser/appcache/appcache_database.cc     if (!db_->Execute(
db_              1141 webkit/browser/appcache/appcache_database.cc     if (!db_->Execute("DROP TABLE FallbackNameSpaces"))
db_              1145 webkit/browser/appcache/appcache_database.cc     if (!CreateIndex(db_.get(), kIndexes[6]) ||
db_              1146 webkit/browser/appcache/appcache_database.cc         !CreateIndex(db_.get(), kIndexes[7]) ||
db_              1147 webkit/browser/appcache/appcache_database.cc         !CreateIndex(db_.get(), kIndexes[8])) {
db_              1161 webkit/browser/appcache/appcache_database.cc     sql::Transaction transaction(db_.get());
db_              1164 webkit/browser/appcache/appcache_database.cc     if (!db_->Execute(
db_              1169 webkit/browser/appcache/appcache_database.cc     if (!db_->Execute(
db_              1187 webkit/browser/appcache/appcache_database.cc   db_.reset();
db_              1219 webkit/browser/appcache/appcache_database.cc   if (!db_->ShouldIgnoreSqliteError(err))
db_              1220 webkit/browser/appcache/appcache_database.cc     DLOG(ERROR) << db_->GetErrorMessage();
db_               167 webkit/browser/appcache/appcache_database.h     return db_.get();
db_               209 webkit/browser/appcache/appcache_database.h   scoped_ptr<sql::Connection> db_;
db_               930 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_FALSE(db.db_->DoesTableExist("FallbackNameSpaces"));
db_               931 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_FALSE(db.db_->DoesIndexExist("FallbackNamesSpacesCacheIndex"));
db_               932 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_FALSE(db.db_->DoesIndexExist("FallbackNameSpacesOriginIndex"));
db_               933 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_FALSE(db.db_->DoesIndexExist("FallbackNameSpacesCacheAndUrlIndex"));
db_               935 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_TRUE(db.db_->DoesTableExist("Namespaces"));
db_               936 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_TRUE(db.db_->DoesIndexExist("NamespacesCacheIndex"));
db_               937 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_TRUE(db.db_->DoesIndexExist("NamespacesOriginIndex"));
db_               938 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_TRUE(db.db_->DoesIndexExist("NamespacesCacheAndUrlIndex"));
db_               939 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_TRUE(db.db_->DoesColumnExist("Namespaces", "is_pattern"));
db_               940 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_TRUE(db.db_->DoesColumnExist("OnlineWhiteLists", "is_pattern"));
db_              1174 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_TRUE(db.db_->DoesColumnExist("Namespaces", "is_pattern"));
db_              1175 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_TRUE(db.db_->DoesColumnExist("OnlineWhiteLists", "is_pattern"));
db_                96 webkit/browser/database/database_tracker.cc       db_(new sql::Connection()),
db_               264 webkit/browser/database/database_tracker.cc     db_->Close();
db_               446 webkit/browser/database/database_tracker.cc     DCHECK(!db_->is_open());
db_               470 webkit/browser/database/database_tracker.cc         (!db_->Open(kTrackerDatabaseFullPath) ||
db_               471 webkit/browser/database/database_tracker.cc          !sql::MetaTable::DoesTableExist(db_.get()))) {
db_               472 webkit/browser/database/database_tracker.cc       db_->Close();
db_               477 webkit/browser/database/database_tracker.cc     db_->set_histogram_tag("DatabaseTracker");
db_               479 webkit/browser/database/database_tracker.cc     databases_table_.reset(new DatabasesTable(db_.get()));
db_               484 webkit/browser/database/database_tracker.cc         (db_->is_open() ||
db_               485 webkit/browser/database/database_tracker.cc          (is_incognito_ ? db_->OpenInMemory() :
db_               486 webkit/browser/database/database_tracker.cc           db_->Open(kTrackerDatabaseFullPath))) &&
db_               491 webkit/browser/database/database_tracker.cc       db_->Close();
db_               498 webkit/browser/database/database_tracker.cc   sql::Transaction transaction(db_.get());
db_               500 webkit/browser/database/database_tracker.cc       !meta_table_->Init(db_.get(), kCurrentVersion, kCompatibleVersion) ||
db_               276 webkit/browser/database/database_tracker.h   scoped_ptr<sql::Connection> db_;
db_                26 webkit/browser/database/databases_table.cc   return db_->DoesTableExist("Databases") ||
db_                27 webkit/browser/database/databases_table.cc       (db_->Execute(
db_                34 webkit/browser/database/databases_table.cc        db_->Execute(
db_                36 webkit/browser/database/databases_table.cc        db_->Execute(
db_                42 webkit/browser/database/databases_table.cc   sql::Statement select_statement(db_->GetCachedStatement(
db_                58 webkit/browser/database/databases_table.cc   sql::Statement select_statement(db_->GetCachedStatement(
db_                76 webkit/browser/database/databases_table.cc   sql::Statement insert_statement(db_->GetCachedStatement(
db_                88 webkit/browser/database/databases_table.cc   sql::Statement update_statement(db_->GetCachedStatement(
db_                96 webkit/browser/database/databases_table.cc   return (update_statement.Run() && db_->GetLastChangeCount());
db_               102 webkit/browser/database/databases_table.cc   sql::Statement delete_statement(db_->GetCachedStatement(
db_               107 webkit/browser/database/databases_table.cc   return (delete_statement.Run() && db_->GetLastChangeCount());
db_               112 webkit/browser/database/databases_table.cc   sql::Statement statement(db_->GetCachedStatement(
db_               124 webkit/browser/database/databases_table.cc   sql::Statement statement(db_->GetCachedStatement(
db_               143 webkit/browser/database/databases_table.cc   sql::Statement delete_statement(db_->GetCachedStatement(
db_               147 webkit/browser/database/databases_table.cc   return (delete_statement.Run() && db_->GetLastChangeCount());
db_                31 webkit/browser/database/databases_table.h   explicit DatabasesTable(sql::Connection* db) : db_(db) { }
db_                49 webkit/browser/database/databases_table.h   sql::Connection* db_;
db_               119 webkit/browser/fileapi/obfuscated_file_util.cc       : db_(db),
db_               128 webkit/browser/fileapi/obfuscated_file_util.cc     if (!db_->GetFileWithPath(root_virtual_path, &file_id))
db_               149 webkit/browser/fileapi/obfuscated_file_util.cc             db_, context_, root_url_, current_file_id_,
db_               188 webkit/browser/fileapi/obfuscated_file_util.cc       if (!db_->ListChildren(entry.file_id, &display_stack_)) {
db_               196 webkit/browser/fileapi/obfuscated_file_util.cc   SandboxDirectoryDatabase* db_;
db_               159 webkit/browser/fileapi/sandbox_directory_database.cc   leveldb::DB* db_;
db_               176 webkit/browser/fileapi/sandbox_directory_database.cc     : dir_db_(dir_db), db_(db), path_(path),
db_               182 webkit/browser/fileapi/sandbox_directory_database.cc   DCHECK(db_);
db_               187 webkit/browser/fileapi/sandbox_directory_database.cc   scoped_ptr<leveldb::Iterator> itr(db_->NewIterator(leveldb::ReadOptions()));
db_               198 webkit/browser/fileapi/sandbox_directory_database.cc   scoped_ptr<leveldb::Iterator> itr(db_->NewIterator(leveldb::ReadOptions()));
db_               432 webkit/browser/fileapi/sandbox_directory_database.cc       db_->Get(leveldb::ReadOptions(), child_key, &child_id_string);
db_               472 webkit/browser/fileapi/sandbox_directory_database.cc   scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(leveldb::ReadOptions()));
db_               496 webkit/browser/fileapi/sandbox_directory_database.cc       db_->Get(leveldb::ReadOptions(), file_key, &file_data_string);
db_               531 webkit/browser/fileapi/sandbox_directory_database.cc       db_->Get(leveldb::ReadOptions(), child_key, &child_id_string);
db_               559 webkit/browser/fileapi/sandbox_directory_database.cc   status = db_->Write(leveldb::WriteOptions(), &batch);
db_               574 webkit/browser/fileapi/sandbox_directory_database.cc   leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch);
db_               608 webkit/browser/fileapi/sandbox_directory_database.cc   leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch);
db_               625 webkit/browser/fileapi/sandbox_directory_database.cc   leveldb::Status status = db_->Put(
db_               661 webkit/browser/fileapi/sandbox_directory_database.cc   leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch);
db_               675 webkit/browser/fileapi/sandbox_directory_database.cc       db_->Get(leveldb::ReadOptions(), LastIntegerKey(), &int_string);
db_               683 webkit/browser/fileapi/sandbox_directory_database.cc     status = db_->Put(leveldb::WriteOptions(), LastIntegerKey(),
db_               719 webkit/browser/fileapi/sandbox_directory_database.cc   if (db_)
db_               734 webkit/browser/fileapi/sandbox_directory_database.cc     db_.reset(db);
db_               774 webkit/browser/fileapi/sandbox_directory_database.cc   DCHECK(!db_.get());
db_               785 webkit/browser/fileapi/sandbox_directory_database.cc   db_.reset();
db_               803 webkit/browser/fileapi/sandbox_directory_database.cc   DatabaseCheckHelper helper(this, db_.get(), filesystem_data_directory_);
db_               833 webkit/browser/fileapi/sandbox_directory_database.cc   scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(leveldb::ReadOptions()));
db_               849 webkit/browser/fileapi/sandbox_directory_database.cc   leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch);
db_               863 webkit/browser/fileapi/sandbox_directory_database.cc       db_->Get(leveldb::ReadOptions(), LastFileIdKey(), &id_string);
db_               935 webkit/browser/fileapi/sandbox_directory_database.cc   db_.reset();
db_               124 webkit/browser/fileapi/sandbox_directory_database.h   scoped_ptr<leveldb::DB> db_;
db_                40 webkit/browser/fileapi/sandbox_directory_database_unittest.cc     return db_.get();
db_                47 webkit/browser/fileapi/sandbox_directory_database_unittest.cc     db_.reset(new SandboxDirectoryDatabase(path(), NULL));
db_                51 webkit/browser/fileapi/sandbox_directory_database_unittest.cc     db_.reset();
db_                60 webkit/browser/fileapi/sandbox_directory_database_unittest.cc     return db_->AddFileInfo(info, &file_id);
db_                69 webkit/browser/fileapi/sandbox_directory_database_unittest.cc     ASSERT_EQ(base::File::FILE_OK, db_->AddFileInfo(info, file_id_out));
db_                82 webkit/browser/fileapi/sandbox_directory_database_unittest.cc     ASSERT_EQ(base::File::FILE_OK, db_->AddFileInfo(info, &file_id));
db_                98 webkit/browser/fileapi/sandbox_directory_database_unittest.cc     db_.reset();
db_               101 webkit/browser/fileapi/sandbox_directory_database_unittest.cc     db_.reset(new SandboxDirectoryDatabase(path(), NULL));
db_               117 webkit/browser/fileapi/sandbox_directory_database_unittest.cc     ASSERT_TRUE(db()->db_->Put(
db_               128 webkit/browser/fileapi/sandbox_directory_database_unittest.cc     ASSERT_TRUE(db()->db_->Delete(
db_               137 webkit/browser/fileapi/sandbox_directory_database_unittest.cc   scoped_ptr<SandboxDirectoryDatabase> db_;
db_                72 webkit/browser/fileapi/sandbox_origin_database.cc   if (db_)
db_                89 webkit/browser/fileapi/sandbox_origin_database.cc     db_.reset(db);
db_               127 webkit/browser/fileapi/sandbox_origin_database.cc   DCHECK(!db_.get());
db_               192 webkit/browser/fileapi/sandbox_origin_database.cc   db_.reset();
db_               227 webkit/browser/fileapi/sandbox_origin_database.cc       db_->Get(leveldb::ReadOptions(), OriginToOriginKey(origin), &path);
db_               246 webkit/browser/fileapi/sandbox_origin_database.cc       db_->Get(leveldb::ReadOptions(), origin_key, &path_string);
db_               256 webkit/browser/fileapi/sandbox_origin_database.cc     status = db_->Write(leveldb::WriteOptions(), &batch);
db_               274 webkit/browser/fileapi/sandbox_origin_database.cc       db_->Delete(leveldb::WriteOptions(), OriginToOriginKey(origin));
db_               288 webkit/browser/fileapi/sandbox_origin_database.cc   scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(leveldb::ReadOptions()));
db_               304 webkit/browser/fileapi/sandbox_origin_database.cc   db_.reset();
db_               317 webkit/browser/fileapi/sandbox_origin_database.cc   DCHECK(db_);
db_               321 webkit/browser/fileapi/sandbox_origin_database.cc       db_->Get(leveldb::ReadOptions(), LastPathKey(), &number_string);
db_               329 webkit/browser/fileapi/sandbox_origin_database.cc   scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(leveldb::ReadOptions()));
db_               338 webkit/browser/fileapi/sandbox_origin_database.cc       db_->Put(leveldb::WriteOptions(), LastPathKey(), std::string("-1"));
db_                70 webkit/browser/fileapi/sandbox_origin_database.h   scoped_ptr<leveldb::DB> db_;
db_               132 webkit/browser/quota/quota_database.cc   if (db_) {
db_               133 webkit/browser/quota/quota_database.cc     db_->CommitTransaction();
db_               139 webkit/browser/quota/quota_database.cc   db_.reset();
db_               153 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               174 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               200 webkit/browser/quota/quota_database.cc     statement.Assign(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               206 webkit/browser/quota/quota_database.cc     statement.Assign(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               233 webkit/browser/quota/quota_database.cc     statement.Assign(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               238 webkit/browser/quota/quota_database.cc     statement.Assign(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               262 webkit/browser/quota/quota_database.cc     sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               283 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               303 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               341 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               368 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               395 webkit/browser/quota/quota_database.cc   if (!db_)
db_               401 webkit/browser/quota/quota_database.cc   db_->CommitTransaction();
db_               402 webkit/browser/quota/quota_database.cc   db_->BeginTransaction();
db_               422 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               434 webkit/browser/quota/quota_database.cc   if (db_)
db_               448 webkit/browser/quota/quota_database.cc   db_.reset(new sql::Connection);
db_               451 webkit/browser/quota/quota_database.cc   db_->set_histogram_tag("Quota");
db_               455 webkit/browser/quota/quota_database.cc     opened = db_->OpenInMemory();
db_               459 webkit/browser/quota/quota_database.cc     opened = db_->Open(db_file_path_);
db_               461 webkit/browser/quota/quota_database.cc       db_->Preload();
db_               467 webkit/browser/quota/quota_database.cc     db_.reset();
db_               473 webkit/browser/quota/quota_database.cc   db_->BeginTransaction();
db_               481 webkit/browser/quota/quota_database.cc   if (!sql::MetaTable::DoesTableExist(db_.get()))
db_               482 webkit/browser/quota/quota_database.cc     return CreateSchema(db_.get(), meta_table_.get(),
db_               487 webkit/browser/quota/quota_database.cc   if (!meta_table_->Init(db_.get(), kCurrentVersion, kCompatibleVersion))
db_               501 webkit/browser/quota/quota_database.cc   DCHECK(sql::MetaTable::DoesTableExist(db_.get()));
db_               503 webkit/browser/quota/quota_database.cc     DCHECK(db_->DoesTableExist(kTables[i].table_name));
db_               559 webkit/browser/quota/quota_database.cc   db_.reset();
db_               598 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               620 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
db_               168 webkit/browser/quota/quota_database.h   scoped_ptr<sql::Connection> db_;
db_                43 webkit/browser/quota/quota_database_unittest.cc     EXPECT_TRUE(db.db_.get());
db_                58 webkit/browser/quota/quota_database_unittest.cc     EXPECT_TRUE(db.db_.get());
db_               339 webkit/browser/quota/quota_database_unittest.cc     AssignQuotaTable(db.db_.get(), begin, end);
db_               362 webkit/browser/quota/quota_database_unittest.cc     AssignOriginInfoTable(db.db_.get(), begin, end);