sql                20 android_webview/browser/aw_form_database_service.cc void DatabaseErrorCallback(sql::InitStatus status) {
sql                14 chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java import java.sql.Types;
sql                27 chrome/browser/android/provider/chrome_browser_provider.h namespace sql {
sql               186 chrome/browser/autocomplete/history_quick_provider_unittest.cc   sql::Connection& db(history_service_->history_backend_->db()->GetDB());
sql               196 chrome/browser/autocomplete/history_quick_provider_unittest.cc     sql::Transaction transaction(&db);
sql               205 chrome/browser/autocomplete/history_quick_provider_unittest.cc     sql::Statement sql_stmt(db.GetUniqueStatement(sql_cmd_line.c_str()));
sql               222 chrome/browser/autocomplete/history_quick_provider_unittest.cc       sql::Statement sql_stmt(db.GetUniqueStatement(sql_cmd_line.c_str()));
sql                96 chrome/browser/diagnostics/sqlite_diagnostics.cc       sql::Connection database;
sql               117 chrome/browser/diagnostics/sqlite_diagnostics.cc       sql::Statement statement(
sql               166 chrome/browser/diagnostics/sqlite_diagnostics.cc     void RecordSqliteError(sql::Connection* connection,
sql               168 chrome/browser/diagnostics/sqlite_diagnostics.cc                            sql::Statement* statement) {
sql                75 chrome/browser/extensions/activity_log/activity_database.cc   sql::Transaction committer(&db_);
sql                87 chrome/browser/extensions/activity_log/activity_database.cc   sql::InitStatus stat = committer.Commit() ? sql::INIT_OK : sql::INIT_FAILURE;
sql                88 chrome/browser/extensions/activity_log/activity_database.cc   if (stat != sql::INIT_OK)
sql               137 chrome/browser/extensions/activity_log/activity_database.cc sql::Connection* ActivityDatabase::GetSqlConnection() {
sql               178 chrome/browser/extensions/activity_log/activity_database.cc void ActivityDatabase::DatabaseErrorCallback(int error, sql::Statement* stmt) {
sql               179 chrome/browser/extensions/activity_log/activity_database.cc   if (sql::IsErrorCatastrophic(error)) {
sql               203 chrome/browser/extensions/activity_log/activity_database.cc bool ActivityDatabase::InitializeTable(sql::Connection* db,
sql                78 chrome/browser/extensions/activity_log/activity_database.h     virtual bool InitDatabase(sql::Connection* db) = 0;
sql                84 chrome/browser/extensions/activity_log/activity_database.h     virtual bool FlushDatabase(sql::Connection* db) = 0;
sql               134 chrome/browser/extensions/activity_log/activity_database.h   static bool InitializeTable(sql::Connection* db,
sql               143 chrome/browser/extensions/activity_log/activity_database.h   void RunOnDatabase(const base::Callback<void(sql::Connection*)>& callback);
sql               173 chrome/browser/extensions/activity_log/activity_database.h   void DatabaseErrorCallback(int error, sql::Statement* stmt);
sql               182 chrome/browser/extensions/activity_log/activity_database.h   sql::Connection* GetSqlConnection();
sql               188 chrome/browser/extensions/activity_log/activity_database.h   sql::Connection db_;
sql                56 chrome/browser/extensions/activity_log/activity_database_unittest.cc   virtual bool InitDatabase(sql::Connection* db) OVERRIDE;
sql                57 chrome/browser/extensions/activity_log/activity_database_unittest.cc   virtual bool FlushDatabase(sql::Connection*) OVERRIDE;
sql                70 chrome/browser/extensions/activity_log/activity_database_unittest.cc bool ActivityDatabaseTestPolicy::InitDatabase(sql::Connection* db) {
sql                78 chrome/browser/extensions/activity_log/activity_database_unittest.cc bool ActivityDatabaseTestPolicy::FlushDatabase(sql::Connection* db) {
sql                86 chrome/browser/extensions/activity_log/activity_database_unittest.cc     sql::Statement statement(db->GetCachedStatement(
sql                87 chrome/browser/extensions/activity_log/activity_database_unittest.cc         sql::StatementID(SQL_FROM_HERE), sql_str.c_str()));
sql               147 chrome/browser/extensions/activity_log/activity_database_unittest.cc   int CountActions(sql::Connection* db, const std::string& api_name_pattern) {
sql               153 chrome/browser/extensions/activity_log/activity_database_unittest.cc     sql::Statement statement(db->GetCachedStatement(
sql               154 chrome/browser/extensions/activity_log/activity_database_unittest.cc         sql::StatementID(SQL_FROM_HERE), sql_str.c_str()));
sql               182 chrome/browser/extensions/activity_log/activity_database_unittest.cc   sql::Connection db;
sql               202 chrome/browser/extensions/activity_log/activity_database_unittest.cc   sql::Connection db;
sql                69 chrome/browser/extensions/activity_log/activity_log_policy.cc sql::Connection* ActivityLogDatabasePolicy::GetDatabaseConnection() const {
sql               165 chrome/browser/extensions/activity_log/activity_log_policy.cc bool ActivityLogPolicy::Util::DropObsoleteTables(sql::Connection* db) {
sql               124 chrome/browser/extensions/activity_log/activity_log_policy.h     static bool DropObsoleteTables(sql::Connection* db);
sql               227 chrome/browser/extensions/activity_log/activity_log_policy.h   sql::Connection* GetDatabaseConnection() const;
sql               175 chrome/browser/extensions/activity_log/counting_policy.cc bool CountingPolicy::InitDatabase(sql::Connection* db) {
sql               231 chrome/browser/extensions/activity_log/counting_policy.cc bool CountingPolicy::FlushDatabase(sql::Connection* db) {
sql               250 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Transaction transaction(db);
sql               360 chrome/browser/extensions/activity_log/counting_policy.cc     sql::Statement locate_statement(db->GetCachedStatement(
sql               361 chrome/browser/extensions/activity_log/counting_policy.cc         sql::StatementID(SQL_FROM_HERE), locate_str.c_str()));
sql               379 chrome/browser/extensions/activity_log/counting_policy.cc       sql::Statement update_statement(db->GetCachedStatement(
sql               380 chrome/browser/extensions/activity_log/counting_policy.cc           sql::StatementID(SQL_FROM_HERE), update_str.c_str()));
sql               388 chrome/browser/extensions/activity_log/counting_policy.cc       sql::Statement insert_statement(db->GetCachedStatement(
sql               389 chrome/browser/extensions/activity_log/counting_policy.cc           sql::StatementID(SQL_FROM_HERE), insert_str.c_str()));
sql               431 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Connection* db = GetDatabaseConnection();
sql               468 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Statement query(db->GetUniqueStatement(query_str.c_str()));
sql               496 chrome/browser/extensions/activity_log/counting_policy.cc     if (query.ColumnType(4) != sql::COLUMN_TYPE_NULL) {
sql               509 chrome/browser/extensions/activity_log/counting_policy.cc     if (query.ColumnType(8) != sql::COLUMN_TYPE_NULL) {
sql               528 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Connection* db = GetDatabaseConnection();
sql               537 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Transaction transaction(db);
sql               543 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Statement statement(db->GetCachedStatement(
sql               544 chrome/browser/extensions/activity_log/counting_policy.cc       sql::StatementID(SQL_FROM_HERE), statement_str.c_str()));
sql               563 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Connection* db = GetDatabaseConnection();
sql               578 chrome/browser/extensions/activity_log/counting_policy.cc     sql::Statement statement;
sql               580 chrome/browser/extensions/activity_log/counting_policy.cc         sql::StatementID(SQL_FROM_HERE), sql_str.c_str()));
sql               602 chrome/browser/extensions/activity_log/counting_policy.cc     sql::Statement statement;
sql               604 chrome/browser/extensions/activity_log/counting_policy.cc         sql::StatementID(SQL_FROM_HERE), sql_str.c_str()));
sql               618 chrome/browser/extensions/activity_log/counting_policy.cc         sql::StatementID(SQL_FROM_HERE), sql_str.c_str()));
sql               638 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Connection* db = GetDatabaseConnection();
sql               649 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Statement statement(
sql               650 chrome/browser/extensions/activity_log/counting_policy.cc       db->GetCachedStatement(sql::StatementID(SQL_FROM_HERE), sql_str.c_str()));
sql               669 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Connection* db = GetDatabaseConnection();
sql               680 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Statement statement(db->GetCachedStatement(
sql               681 chrome/browser/extensions/activity_log/counting_policy.cc       sql::StatementID(SQL_FROM_HERE),
sql               690 chrome/browser/extensions/activity_log/counting_policy.cc   statement.Assign(db->GetCachedStatement(sql::StatementID(SQL_FROM_HERE),
sql               699 chrome/browser/extensions/activity_log/counting_policy.cc   statement.Assign(db->GetCachedStatement(sql::StatementID(SQL_FROM_HERE),
sql               707 chrome/browser/extensions/activity_log/counting_policy.cc   statement.Assign(db->GetCachedStatement(sql::StatementID(SQL_FROM_HERE),
sql               763 chrome/browser/extensions/activity_log/counting_policy.cc bool CountingPolicy::CleanOlderThan(sql::Connection* db,
sql               767 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Statement cleaner(db->GetCachedStatement(sql::StatementID(SQL_FROM_HERE),
sql               777 chrome/browser/extensions/activity_log/counting_policy.cc bool CountingPolicy::CleanStringTables(sql::Connection* db) {
sql               778 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Statement cleaner1(db->GetCachedStatement(
sql               779 chrome/browser/extensions/activity_log/counting_policy.cc       sql::StatementID(SQL_FROM_HERE), kStringTableCleanup));
sql               785 chrome/browser/extensions/activity_log/counting_policy.cc   sql::Statement cleaner2(db->GetCachedStatement(
sql               786 chrome/browser/extensions/activity_log/counting_policy.cc       sql::StatementID(SQL_FROM_HERE), kUrlTableCleanup));
sql                68 chrome/browser/extensions/activity_log/counting_policy.h   virtual bool InitDatabase(sql::Connection* db) OVERRIDE;
sql                69 chrome/browser/extensions/activity_log/counting_policy.h   virtual bool FlushDatabase(sql::Connection* db) OVERRIDE;
sql               113 chrome/browser/extensions/activity_log/counting_policy.h   bool CleanOlderThan(sql::Connection* db, const base::Time& cutoff);
sql               117 chrome/browser/extensions/activity_log/counting_policy.h   bool CleanStringTables(sql::Connection* db);
sql               131 chrome/browser/extensions/activity_log/counting_policy_unittest.cc     sql::Connection* db = policy->GetDatabaseConnection();
sql               132 chrome/browser/extensions/activity_log/counting_policy_unittest.cc     sql::Statement statement1(db->GetCachedStatement(
sql               133 chrome/browser/extensions/activity_log/counting_policy_unittest.cc         sql::StatementID(SQL_FROM_HERE), "SELECT COUNT(*) FROM string_ids"));
sql               137 chrome/browser/extensions/activity_log/counting_policy_unittest.cc     sql::Statement statement2(db->GetCachedStatement(
sql               138 chrome/browser/extensions/activity_log/counting_policy_unittest.cc         sql::StatementID(SQL_FROM_HERE), "SELECT COUNT(*) FROM url_ids"));
sql                24 chrome/browser/extensions/activity_log/database_string_table.cc bool DatabaseStringTable::Initialize(sql::Connection* connection) {
sql                37 chrome/browser/extensions/activity_log/database_string_table.cc bool DatabaseStringTable::StringToInt(sql::Connection* connection,
sql                54 chrome/browser/extensions/activity_log/database_string_table.cc   sql::Statement update(connection->GetUniqueStatement(
sql                71 chrome/browser/extensions/activity_log/database_string_table.cc   sql::Statement query(connection->GetUniqueStatement(
sql                83 chrome/browser/extensions/activity_log/database_string_table.cc bool DatabaseStringTable::IntToString(sql::Connection* connection,
sql                97 chrome/browser/extensions/activity_log/database_string_table.cc   sql::Statement query(connection->GetUniqueStatement(
sql                14 chrome/browser/extensions/activity_log/database_string_table.h namespace sql {
sql                39 chrome/browser/extensions/activity_log/database_string_table.h   bool Initialize(sql::Connection* connection);
sql                45 chrome/browser/extensions/activity_log/database_string_table.h   bool StringToInt(sql::Connection* connection,
sql                53 chrome/browser/extensions/activity_log/database_string_table.h   bool IntToString(sql::Connection* connection, int64 id, std::string* value);
sql                29 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   sql::Connection db_;
sql                47 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   sql::Statement query(
sql               142 chrome/browser/extensions/activity_log/database_string_table_unittest.cc   sql::Transaction transaction(&db_);
sql                55 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc bool FullStreamUIPolicy::InitDatabase(sql::Connection* db) {
sql                67 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc bool FullStreamUIPolicy::FlushDatabase(sql::Connection* db) {
sql                71 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc   sql::Transaction transaction(db);
sql                79 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc   sql::Statement statement(db->GetCachedStatement(
sql                80 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc       sql::StatementID(SQL_FROM_HERE), sql_str.c_str()));
sql               133 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc   sql::Connection* db = GetDatabaseConnection();
sql               168 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc   sql::Statement query(db->GetUniqueStatement(query_str.c_str()));
sql               196 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc     if (query.ColumnType(4) != sql::COLUMN_TYPE_NULL) {
sql               209 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc     if (query.ColumnType(8) != sql::COLUMN_TYPE_NULL) {
sql               227 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc   sql::Connection* db = GetDatabaseConnection();
sql               236 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc   sql::Transaction transaction(db);
sql               242 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc   sql::Statement statement(db->GetCachedStatement(
sql               243 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc       sql::StatementID(SQL_FROM_HERE), statement_str.c_str()));
sql               260 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc   sql::Connection* db = GetDatabaseConnection();
sql               271 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc     sql::Statement statement;
sql               276 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc         sql::StatementID(SQL_FROM_HERE), sql_str.c_str()));
sql               292 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc     sql::Statement statement;
sql               297 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc         sql::StatementID(SQL_FROM_HERE), sql_str.c_str()));
sql               310 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc         sql::StatementID(SQL_FROM_HERE), sql_str.c_str()));
sql               326 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc   sql::Connection* db = GetDatabaseConnection();
sql               337 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc   sql::Statement statement;
sql               339 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc       db->GetCachedStatement(sql::StatementID(SQL_FROM_HERE), sql_str.c_str()));
sql               349 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc   sql::Connection* db = GetDatabaseConnection();
sql               360 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc   sql::Statement statement(db->GetCachedStatement(
sql               361 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc       sql::StatementID(SQL_FROM_HERE), sql_str.c_str()));
sql               368 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc   statement.Assign(db->GetCachedStatement(sql::StatementID(SQL_FROM_HERE),
sql                68 chrome/browser/extensions/activity_log/fullstream_ui_policy.h   virtual bool InitDatabase(sql::Connection* db) OVERRIDE;
sql                69 chrome/browser/extensions/activity_log/fullstream_ui_policy.h   virtual bool FlushDatabase(sql::Connection* db) OVERRIDE;
sql                22 chrome/browser/history/android/android_cache_database.cc sql::InitStatus AndroidCacheDatabase::InitAndroidCacheDatabase(
sql                25 chrome/browser/history/android/android_cache_database.cc     return sql::INIT_FAILURE;
sql                28 chrome/browser/history/android/android_cache_database.cc     return sql::INIT_FAILURE;
sql                31 chrome/browser/history/android/android_cache_database.cc     return sql::INIT_FAILURE;
sql                34 chrome/browser/history/android/android_cache_database.cc     return sql::INIT_FAILURE;
sql                36 chrome/browser/history/android/android_cache_database.cc   return sql::INIT_OK;
sql                42 chrome/browser/history/android/android_cache_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql                59 chrome/browser/history/android/android_cache_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql                84 chrome/browser/history/android/android_cache_database.cc   std::string sql("UPDATE android_cache_db.bookmark_cache "
sql                86 chrome/browser/history/android/android_cache_database.cc   sql.append(oss.str());
sql                87 chrome/browser/history/android/android_cache_database.cc   sql.append(")");
sql                88 chrome/browser/history/android/android_cache_database.cc   if (!GetDB().Execute(sql.c_str())) {
sql                97 chrome/browser/history/android/android_cache_database.cc   sql::Statement update_statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               113 chrome/browser/history/android/android_cache_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               130 chrome/browser/history/android/android_cache_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               144 chrome/browser/history/android/android_cache_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               166 chrome/browser/history/android/android_cache_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               177 chrome/browser/history/android/android_cache_database.cc   sql::Connection::Delete(db_name_);
sql               180 chrome/browser/history/android/android_cache_database.cc   sql::Connection connection;
sql               203 chrome/browser/history/android/android_cache_database.cc   std::string sql;
sql               204 chrome/browser/history/android/android_cache_database.cc   sql.append("CREATE TABLE ");
sql               205 chrome/browser/history/android/android_cache_database.cc   sql.append(name);
sql               206 chrome/browser/history/android/android_cache_database.cc   sql.append("("
sql               214 chrome/browser/history/android/android_cache_database.cc   if (!GetDB().Execute(sql.c_str())) {
sql               219 chrome/browser/history/android/android_cache_database.cc   sql.assign("CREATE INDEX ");
sql               220 chrome/browser/history/android/android_cache_database.cc   sql.append("android_cache_db.bookmark_cache_url_id_idx ON "
sql               222 chrome/browser/history/android/android_cache_database.cc   if (!GetDB().Execute(sql.c_str())) {
sql               233 chrome/browser/history/android/android_cache_database.cc   std::string sql;
sql               234 chrome/browser/history/android/android_cache_database.cc   sql.append("CREATE TABLE ");
sql               235 chrome/browser/history/android/android_cache_database.cc   sql.append(name);
sql               236 chrome/browser/history/android/android_cache_database.cc   sql.append("("
sql               241 chrome/browser/history/android/android_cache_database.cc   if (!GetDB().Execute(sql.c_str())) {
sql               246 chrome/browser/history/android/android_cache_database.cc   sql.assign("CREATE INDEX "
sql               249 chrome/browser/history/android/android_cache_database.cc   if (!GetDB().Execute(sql.c_str())) {
sql               274 chrome/browser/history/android/android_cache_database.cc   std::string sql("ATTACH ? AS android_cache_db");
sql               275 chrome/browser/history/android/android_cache_database.cc   sql::Statement attach(GetDB().GetUniqueStatement(sql.c_str()));
sql                28 chrome/browser/history/android/android_cache_database.h   sql::InitStatus InitAndroidCacheDatabase(const base::FilePath& db_name);
sql                69 chrome/browser/history/android/android_cache_database.h   virtual sql::Connection& GetDB() = 0;
sql                33 chrome/browser/history/android/android_cache_database_unittest.cc     ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql                34 chrome/browser/history/android/android_cache_database_unittest.cc     ASSERT_EQ(sql::INIT_OK,
sql                51 chrome/browser/history/android/android_cache_database_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db.Init(history_db_name));
sql                57 chrome/browser/history/android/android_cache_database_unittest.cc   ASSERT_EQ(sql::INIT_OK,
sql               135 chrome/browser/history/android/android_history_types.cc AndroidStatement::AndroidStatement(sql::Statement* statement, int favicon_index)
sql                15 chrome/browser/history/android/android_history_types.h namespace sql {
sql               310 chrome/browser/history/android/android_history_types.h   AndroidStatement(sql::Statement* statement, int favicon_index);
sql               313 chrome/browser/history/android/android_history_types.h   sql::Statement* statement() {
sql               324 chrome/browser/history/android/android_history_types.h   scoped_ptr<sql::Statement> statement_;
sql                64 chrome/browser/history/android/android_provider_backend.cc                    sql::Statement* statement,
sql               536 chrome/browser/history/android/android_provider_backend.cc   std::string sql;
sql               537 chrome/browser/history/android/android_provider_backend.cc   sql.append("SELECT ");
sql               538 chrome/browser/history/android/android_provider_backend.cc   AppendSearchResultColumn(projections, &sql);
sql               539 chrome/browser/history/android/android_provider_backend.cc   sql.append(" FROM android_cache_db.search_terms ");
sql               542 chrome/browser/history/android/android_provider_backend.cc     sql.append(" WHERE ");
sql               543 chrome/browser/history/android/android_provider_backend.cc     sql.append(selection);
sql               547 chrome/browser/history/android/android_provider_backend.cc     sql.append(" ORDER BY ");
sql               548 chrome/browser/history/android/android_provider_backend.cc     sql.append(sort_order);
sql               551 chrome/browser/history/android/android_provider_backend.cc   scoped_ptr<sql::Statement> statement(new sql::Statement(
sql               552 chrome/browser/history/android/android_provider_backend.cc       db_->GetUniqueStatement(sql.c_str())));
sql               559 chrome/browser/history/android/android_provider_backend.cc   sql::Statement* result = statement.release();
sql               713 chrome/browser/history/android/android_provider_backend.cc   if (sql::INIT_OK != history_db_->InitAndroidCacheDatabase(
sql               749 chrome/browser/history/android/android_provider_backend.cc   std::string sql(kURLUpdateClause);
sql               750 chrome/browser/history/android/android_provider_backend.cc   sql.append("WHERE urls.id NOT IN (SELECT url_id FROM android_urls)");
sql               751 chrome/browser/history/android/android_provider_backend.cc   sql::Statement urls_statement(db_->GetCachedStatement(SQL_FROM_HERE,
sql               752 chrome/browser/history/android/android_provider_backend.cc                                                         sql.c_str()));
sql               769 chrome/browser/history/android/android_provider_backend.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE,
sql               781 chrome/browser/history/android/android_provider_backend.cc     if (statement.ColumnType(2) != sql::COLUMN_TYPE_NULL)
sql               859 chrome/browser/history/android/android_provider_backend.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE,
sql               910 chrome/browser/history/android/android_provider_backend.cc   std::string sql("SELECT url_id, urls_url, bookmark FROM (");
sql               911 chrome/browser/history/android/android_provider_backend.cc   sql.append(kVirtualHistoryAndBookmarkTable);
sql               912 chrome/browser/history/android/android_provider_backend.cc   sql.append(" )");
sql               915 chrome/browser/history/android/android_provider_backend.cc     sql.append(" WHERE ");
sql               916 chrome/browser/history/android/android_provider_backend.cc     sql.append(selection);
sql               919 chrome/browser/history/android/android_provider_backend.cc   sql::Statement statement(db_->GetUniqueStatement(sql.c_str()));
sql               940 chrome/browser/history/android/android_provider_backend.cc   std::string sql("SELECT search "
sql               943 chrome/browser/history/android/android_provider_backend.cc     sql.append(" WHERE ");
sql               944 chrome/browser/history/android/android_provider_backend.cc     sql.append(selection);
sql               946 chrome/browser/history/android/android_provider_backend.cc   sql::Statement statement(db_->GetUniqueStatement(sql.c_str()));
sql              1107 chrome/browser/history/android/android_provider_backend.cc   std::string sql;
sql              1108 chrome/browser/history/android/android_provider_backend.cc   sql.append("SELECT ");
sql              1109 chrome/browser/history/android/android_provider_backend.cc   int replaced_index = AppendBookmarkResultColumn(projections, &sql);
sql              1110 chrome/browser/history/android/android_provider_backend.cc   sql.append(" FROM (");
sql              1111 chrome/browser/history/android/android_provider_backend.cc   sql.append(kVirtualHistoryAndBookmarkTable);
sql              1112 chrome/browser/history/android/android_provider_backend.cc   sql.append(")");
sql              1115 chrome/browser/history/android/android_provider_backend.cc     sql.append(" WHERE ");
sql              1116 chrome/browser/history/android/android_provider_backend.cc     sql.append(selection);
sql              1120 chrome/browser/history/android/android_provider_backend.cc     sql.append(" ORDER BY ");
sql              1121 chrome/browser/history/android/android_provider_backend.cc     sql.append(sort_order);
sql              1124 chrome/browser/history/android/android_provider_backend.cc   scoped_ptr<sql::Statement> statement(new sql::Statement(
sql              1125 chrome/browser/history/android/android_provider_backend.cc       db_->GetUniqueStatement(sql.c_str())));
sql              1132 chrome/browser/history/android/android_provider_backend.cc   sql::Statement* result = statement.release();
sql               348 chrome/browser/history/android/android_provider_backend.h   sql::Connection* db_;
sql                62 chrome/browser/history/android/android_provider_backend_unittest.cc   virtual void NotifyProfileError(sql::InitStatus init_status) OVERRIDE {}
sql               161 chrome/browser/history/android/android_provider_backend_unittest.cc     sql::Statement statement(backend->db_->GetCachedStatement(SQL_FROM_HERE,
sql               176 chrome/browser/history/android/android_provider_backend_unittest.cc     sql::Statement statement(backend->db_->GetCachedStatement(SQL_FROM_HERE,
sql               272 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql               273 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql               421 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql               422 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql               510 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql               511 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql               618 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql               619 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql               715 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql               716 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql               805 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql               806 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql               984 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql               985 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql              1064 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              1065 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql              1125 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              1126 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql              1190 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              1191 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql              1268 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              1269 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql              1302 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              1303 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql              1406 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              1407 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql              1512 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              1513 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql              1566 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              1567 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql              1619 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              1620 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql              1669 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              1670 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql              1706 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              1707 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, thumbnail_db_.Init(thumbnail_db_name_));
sql              1821 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              1895 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              1957 chrome/browser/history/android/android_provider_backend_unittest.cc     ASSERT_EQ(sql::INIT_OK, history_db.Init(history_db_name_));
sql              1958 chrome/browser/history/android/android_provider_backend_unittest.cc     ASSERT_EQ(sql::INIT_OK, thumbnail_db.Init(thumbnail_db_name_));
sql              1974 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql              2028 chrome/browser/history/android/android_provider_backend_unittest.cc     ASSERT_EQ(sql::INIT_OK, history_db.Init(history_db_name_));
sql              2029 chrome/browser/history/android/android_provider_backend_unittest.cc     ASSERT_EQ(sql::INIT_OK, thumbnail_db.Init(thumbnail_db_name_));
sql              2038 chrome/browser/history/android/android_provider_backend_unittest.cc   ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
sql                20 chrome/browser/history/android/android_urls_database.cc     std::string sql;
sql                21 chrome/browser/history/android/android_urls_database.cc     sql.append("CREATE TABLE ");
sql                22 chrome/browser/history/android/android_urls_database.cc     sql.append(name);
sql                23 chrome/browser/history/android/android_urls_database.cc     sql.append("("
sql                28 chrome/browser/history/android/android_urls_database.cc     if (!GetDB().Execute(sql.c_str())) {
sql                55 chrome/browser/history/android/android_urls_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql                69 chrome/browser/history/android/android_urls_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql                89 chrome/browser/history/android/android_urls_database.cc   std::string sql;
sql                90 chrome/browser/history/android/android_urls_database.cc   sql.append("DELETE FROM android_urls ");
sql               103 chrome/browser/history/android/android_urls_database.cc     sql.append(" WHERE url_id in ( ");
sql               104 chrome/browser/history/android/android_urls_database.cc     sql.append(oss.str());
sql               105 chrome/browser/history/android/android_urls_database.cc     sql.append(" )");
sql               108 chrome/browser/history/android/android_urls_database.cc   if (!GetDB().Execute(sql.c_str())) {
sql               123 chrome/browser/history/android/android_urls_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql                65 chrome/browser/history/android/android_urls_database.h   virtual sql::Connection& GetDB() = 0;
sql                48 chrome/browser/history/android/android_urls_database_unittest.cc   ASSERT_EQ(sql::INIT_OK, db.Init(history_db_name_));
sql                52 chrome/browser/history/android/android_urls_database_unittest.cc   sql::Statement statement(db.GetDB().GetUniqueStatement(
sql                23 chrome/browser/history/android/sqlite_cursor.cc SQLiteCursor::JavaColumnType ToJavaColumnType(sql::ColType type) {
sql                25 chrome/browser/history/android/sqlite_cursor.cc     case sql::COLUMN_TYPE_INTEGER:
sql                27 chrome/browser/history/android/sqlite_cursor.cc     case sql::COLUMN_TYPE_FLOAT:
sql                29 chrome/browser/history/android/sqlite_cursor.cc     case sql::COLUMN_TYPE_TEXT:
sql                31 chrome/browser/history/android/sqlite_cursor.cc     case sql::COLUMN_TYPE_BLOB:
sql                33 chrome/browser/history/android/sqlite_cursor.cc     case sql::COLUMN_TYPE_NULL:
sql                37 chrome/browser/history/android/urls_sql_handler_unittest.cc     ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name));
sql                37 chrome/browser/history/android/visit_sql_handler_unittest.cc     ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name));
sql                54 chrome/browser/history/archived_database.cc   sql::Transaction transaction(&db_);
sql                71 chrome/browser/history/archived_database.cc   if (EnsureCurrentVersion() != sql::INIT_OK)
sql                89 chrome/browser/history/archived_database.cc sql::Connection& ArchivedDatabase::GetDB() {
sql               100 chrome/browser/history/archived_database.cc sql::InitStatus ArchivedDatabase::EnsureCurrentVersion() {
sql               104 chrome/browser/history/archived_database.cc     return sql::INIT_TOO_NEW;
sql               117 chrome/browser/history/archived_database.cc       return sql::INIT_FAILURE;
sql               136 chrome/browser/history/archived_database.cc       return sql::INIT_FAILURE;
sql               149 chrome/browser/history/archived_database.cc   return sql::INIT_OK;
sql                54 chrome/browser/history/archived_database.h   virtual sql::Connection& GetDB() OVERRIDE;
sql                63 chrome/browser/history/archived_database.h   sql::InitStatus EnsureCurrentVersion();
sql                66 chrome/browser/history/archived_database.h   sql::Connection db_;
sql                67 chrome/browser/history/archived_database.h   sql::MetaTable meta_table_;
sql                73 chrome/browser/history/download_database.cc void BindFilePath(sql::Statement& statement, const base::FilePath& path,
sql                77 chrome/browser/history/download_database.cc base::FilePath ColumnFilePath(sql::Statement& statement, int col) {
sql                84 chrome/browser/history/download_database.cc void BindFilePath(sql::Statement& statement, const base::FilePath& path,
sql                88 chrome/browser/history/download_database.cc base::FilePath ColumnFilePath(sql::Statement& statement, int col) {
sql               217 chrome/browser/history/download_database.cc   sql::Statement statement(GetDB().GetUniqueStatement(
sql               238 chrome/browser/history/download_database.cc   sql::Statement statement_populate(GetDB().GetUniqueStatement(
sql               300 chrome/browser/history/download_database.cc   sql::Statement select_max_id(GetDB().GetUniqueStatement(
sql               329 chrome/browser/history/download_database.cc   sql::Statement statement_main(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               391 chrome/browser/history/download_database.cc   sql::Statement statement_chain(GetDB().GetCachedStatement(
sql               464 chrome/browser/history/download_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               493 chrome/browser/history/download_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               519 chrome/browser/history/download_database.cc     sql::Statement statement_insert(GetDB().GetCachedStatement(
sql               558 chrome/browser/history/download_database.cc     sql::Statement count_urls(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               573 chrome/browser/history/download_database.cc   sql::Statement statement_insert_chain(
sql               596 chrome/browser/history/download_database.cc   sql::Statement downloads_statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               608 chrome/browser/history/download_database.cc   sql::Statement urlchain_statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               620 chrome/browser/history/download_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql                16 chrome/browser/history/download_database.h namespace sql {
sql                53 chrome/browser/history/download_database.h   virtual sql::Connection& GetDB() = 0;
sql               131 chrome/browser/history/expire_history_backend_unittest.cc     if (main_db_->Init(history_name) != sql::INIT_OK)
sql               141 chrome/browser/history/expire_history_backend_unittest.cc     if (thumb_db_->Init(thumb_name) != sql::INIT_OK)
sql               197 chrome/browser/history/history_backend.cc   sql::Connection::Delete(GetAndroidCacheFileName());
sql               574 chrome/browser/history/history_backend.cc   sql::InitStatus status = db_->Init(history_name);
sql               576 chrome/browser/history/history_backend.cc     case sql::INIT_OK:
sql               578 chrome/browser/history/history_backend.cc     case sql::INIT_FAILURE: {
sql               610 chrome/browser/history/history_backend.cc   if (thumbnail_db_->Init(thumbnail_name) != sql::INIT_OK) {
sql               625 chrome/browser/history/history_backend.cc     sql::Connection::Delete(archived_name);
sql              1630 chrome/browser/history/history_backend.cc     if (sql::Connection::Delete(current_file))
sql              2667 chrome/browser/history/history_backend.cc void HistoryBackend::DatabaseErrorCallback(int error, sql::Statement* stmt) {
sql              2668 chrome/browser/history/history_backend.cc   if (!scheduled_kill_db_ && sql::IsErrorCatastrophic(error)) {
sql              2792 chrome/browser/history/history_backend.cc     sql::Connection::Delete(archived_file_name);
sql              2822 chrome/browser/history/history_backend.cc     sql::Connection::Delete(GetFaviconsFileName());
sql              2825 chrome/browser/history/history_backend.cc     sql::Connection::Delete(GetThumbnailFileName());
sql                74 chrome/browser/history/history_backend.h     virtual void NotifyProfileError(sql::InitStatus init_status) = 0;
sql               436 chrome/browser/history/history_backend.h   void DatabaseErrorCallback(int error, sql::Statement* stmt);
sql                80 chrome/browser/history/history_backend_unittest.cc   virtual void NotifyProfileError(sql::InitStatus init_status) OVERRIDE {}
sql              1221 chrome/browser/history/history_backend_unittest.cc   sql::Connection db;
sql              1223 chrome/browser/history/history_backend_unittest.cc   sql::Statement s(db.GetUniqueStatement(
sql              2572 chrome/browser/history/history_backend_unittest.cc   sql::Connection db;
sql              2574 chrome/browser/history/history_backend_unittest.cc   sql::Statement s(db.GetUniqueStatement(
sql              2589 chrome/browser/history/history_backend_unittest.cc   sql::Connection archived_db;
sql              2591 chrome/browser/history/history_backend_unittest.cc   sql::Statement s1(archived_db.GetUniqueStatement(
sql                43 chrome/browser/history/history_database.cc sql::InitStatus HistoryDatabase::Init(const base::FilePath& history_name) {
sql                66 chrome/browser/history/history_database.cc     return sql::INIT_FAILURE;
sql                70 chrome/browser/history/history_database.cc   sql::Transaction committer(&db_);
sql                72 chrome/browser/history/history_database.cc     return sql::INIT_FAILURE;
sql                86 chrome/browser/history/history_database.cc     return sql::INIT_FAILURE;
sql                90 chrome/browser/history/history_database.cc     return sql::INIT_FAILURE;
sql                98 chrome/browser/history/history_database.cc   sql::InitStatus version_status = EnsureCurrentVersion();
sql                99 chrome/browser/history/history_database.cc   if (version_status != sql::INIT_OK)
sql               102 chrome/browser/history/history_database.cc   return committer.Commit() ? sql::INIT_OK : sql::INIT_FAILURE;
sql               114 chrome/browser/history/history_database.cc   sql::Statement url_count(db_.GetUniqueStatement("SELECT count(*) FROM urls"));
sql               119 chrome/browser/history/history_database.cc   sql::Statement visit_count(db_.GetUniqueStatement(
sql               126 chrome/browser/history/history_database.cc   sql::Statement weekly_visit_sql(db_.GetUniqueStatement(
sql               135 chrome/browser/history/history_database.cc   sql::Statement monthly_visit_sql(db_.GetUniqueStatement(
sql               154 chrome/browser/history/history_database.cc     sql::Statement url_sql(db_.GetUniqueStatement(
sql               245 chrome/browser/history/history_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
sql               255 chrome/browser/history/history_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
sql               260 chrome/browser/history/history_database.cc     if (s.ColumnType(0) == sql::COLUMN_TYPE_NULL)
sql               289 chrome/browser/history/history_database.cc sql::Connection& HistoryDatabase::GetDB() {
sql               295 chrome/browser/history/history_database.cc sql::InitStatus HistoryDatabase::EnsureCurrentVersion() {
sql               299 chrome/browser/history/history_database.cc     return sql::INIT_TOO_NEW;
sql               315 chrome/browser/history/history_database.cc       return sql::INIT_FAILURE;
sql               362 chrome/browser/history/history_database.cc       return sql::INIT_FAILURE;
sql               383 chrome/browser/history/history_database.cc       return sql::INIT_FAILURE;
sql               393 chrome/browser/history/history_database.cc       return sql::INIT_FAILURE;
sql               402 chrome/browser/history/history_database.cc       return sql::INIT_FAILURE;
sql               411 chrome/browser/history/history_database.cc       return sql::INIT_FAILURE;
sql               420 chrome/browser/history/history_database.cc       return sql::INIT_FAILURE;
sql               429 chrome/browser/history/history_database.cc       return sql::INIT_FAILURE;
sql               440 chrome/browser/history/history_database.cc   return sql::INIT_OK;
sql                74 chrome/browser/history/history_database.h       const sql::Connection::ErrorCallback& error_callback) {
sql                81 chrome/browser/history/history_database.h   sql::InitStatus Init(const base::FilePath& history_name);
sql               177 chrome/browser/history/history_database.h   virtual sql::Connection& GetDB() OVERRIDE;
sql               187 chrome/browser/history/history_database.h   sql::InitStatus EnsureCurrentVersion();
sql               197 chrome/browser/history/history_database.h   sql::Connection::ErrorCallback error_callback_;
sql               198 chrome/browser/history/history_database.h   sql::Connection db_;
sql               199 chrome/browser/history/history_database.h   sql::MetaTable meta_table_;
sql                23 chrome/browser/history/history_database_unittest.cc   sql::Connection::Delete(db_file);
sql                37 chrome/browser/history/history_database_unittest.cc     ASSERT_EQ(sql::INIT_OK, history_db.Init(db_file));
sql               137 chrome/browser/history/history_service.cc   virtual void NotifyProfileError(sql::InitStatus init_status) OVERRIDE {
sql              1054 chrome/browser/history/history_service.cc void HistoryService::NotifyProfileError(sql::InitStatus init_status) {
sql              1058 chrome/browser/history/history_service.cc       (init_status == sql::INIT_FAILURE) ?
sql               805 chrome/browser/history/history_service.h   void NotifyProfileError(sql::InitStatus init_status);
sql                93 chrome/browser/history/history_unittest.cc   virtual void NotifyProfileError(sql::InitStatus init_status) OVERRIDE {}
sql               270 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               276 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql               300 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               306 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql               312 chrome/browser/history/history_unittest.cc       sql::Statement statement(db.GetUniqueStatement(
sql               338 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               342 chrome/browser/history/history_unittest.cc     sql::Statement s(db.GetUniqueStatement(
sql               381 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               387 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql               396 chrome/browser/history/history_unittest.cc       sql::Statement statement(db.GetUniqueStatement(
sql               426 chrome/browser/history/history_unittest.cc       sql::Statement statement(db.GetUniqueStatement(
sql               448 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               450 chrome/browser/history/history_unittest.cc     sql::Statement s(db.GetUniqueStatement(
sql               472 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               478 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql               484 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql               496 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               499 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql               519 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql               534 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               540 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql               546 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql               559 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               562 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql               584 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql               599 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               605 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql               611 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql               635 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               637 chrome/browser/history/history_unittest.cc     sql::Statement statement(db.GetUniqueStatement(
sql               642 chrome/browser/history/history_unittest.cc     sql::Statement statement1(db.GetUniqueStatement(
sql               654 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               656 chrome/browser/history/history_unittest.cc     sql::Statement statement(db.GetUniqueStatement(
sql               661 chrome/browser/history/history_unittest.cc     sql::Statement statement1(db.GetUniqueStatement(
sql               699 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               701 chrome/browser/history/history_unittest.cc     sql::Statement statement(db.GetUniqueStatement(
sql               713 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               716 chrome/browser/history/history_unittest.cc       sql::Statement statement(db.GetUniqueStatement(
sql               736 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               738 chrome/browser/history/history_unittest.cc     sql::Statement statement(db.GetUniqueStatement(
sql               743 chrome/browser/history/history_unittest.cc     sql::Statement statement1(db.GetUniqueStatement(
sql               766 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql               768 chrome/browser/history/history_unittest.cc     sql::Statement statement(db.GetUniqueStatement(
sql               773 chrome/browser/history/history_unittest.cc     sql::Statement statement1(db.GetUniqueStatement(
sql              1780 chrome/browser/history/history_unittest.cc     sql::Connection db;
sql              1785 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql              1798 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql              1811 chrome/browser/history/history_unittest.cc       sql::Statement s(db.GetUniqueStatement(
sql                21 chrome/browser/history/history_unittest_base.cc   std::string sql;
sql                22 chrome/browser/history/history_unittest_base.cc   ASSERT_TRUE(base::ReadFileToString(sql_path, &sql));
sql                31 chrome/browser/history/history_unittest_base.cc   sql = ReplaceStringPlaceholders(sql, sql_time, NULL);
sql                33 chrome/browser/history/history_unittest_base.cc   sql::Connection connection;
sql                35 chrome/browser/history/history_unittest_base.cc   ASSERT_TRUE(connection.Execute(sql.c_str()));
sql                71 chrome/browser/history/in_memory_database.cc   sql::Statement attach(GetDB().GetUniqueStatement("ATTACH ? AS history"));
sql                95 chrome/browser/history/in_memory_database.cc     sql::Statement visit_count(db_.GetUniqueStatement(
sql               147 chrome/browser/history/in_memory_database.cc sql::Connection& InMemoryDatabase::GetDB() {
sql                37 chrome/browser/history/in_memory_database.h   virtual sql::Connection& GetDB() OVERRIDE;
sql                44 chrome/browser/history/in_memory_database.h   sql::Connection db_;
sql                97 chrome/browser/history/in_memory_url_index_unittest.cc   sql::Connection& GetDB();
sql               137 chrome/browser/history/in_memory_url_index_unittest.cc sql::Connection& InMemoryURLIndexTest::GetDB() {
sql               213 chrome/browser/history/in_memory_url_index_unittest.cc   sql::Connection& db(GetDB());
sql               216 chrome/browser/history/in_memory_url_index_unittest.cc     sql::Transaction transaction(&db);
sql               225 chrome/browser/history/in_memory_url_index_unittest.cc           sql::Statement sql_stmt(db.GetUniqueStatement(sql_cmd_line));
sql               235 chrome/browser/history/in_memory_url_index_unittest.cc   sql::Statement statement(db.GetUniqueStatement(
sql               241 chrome/browser/history/in_memory_url_index_unittest.cc     sql::Transaction transaction(&db);
sql               261 chrome/browser/history/in_memory_url_index_unittest.cc     sql::Transaction transaction(&db);
sql               428 chrome/browser/history/in_memory_url_index_unittest.cc   sql::Statement statement(GetDB().GetUniqueStatement("SELECT * FROM urls;"));
sql                32 chrome/browser/history/shortcuts_database.cc     sql::Statement* s) {
sql                51 chrome/browser/history/shortcuts_database.cc                     sql::Connection& db) {
sql                52 chrome/browser/history/shortcuts_database.cc   sql::Statement s(db.GetUniqueStatement(
sql               140 chrome/browser/history/shortcuts_database.cc   sql::Statement s(db_.GetCachedStatement(
sql               151 chrome/browser/history/shortcuts_database.cc   sql::Statement s(db_.GetCachedStatement(
sql               189 chrome/browser/history/shortcuts_database.cc   sql::Statement s(db_.GetCachedStatement(
sql               237 chrome/browser/history/shortcuts_database.cc     sql::Transaction transaction(&db_);
sql               258 chrome/browser/history/shortcuts_database.cc   if (!sql::MetaTable::DoesTableExist(&db_)) {
sql               260 chrome/browser/history/shortcuts_database.cc     sql::Transaction transaction(&db_);
sql               127 chrome/browser/history/shortcuts_database.h   sql::Connection db_;
sql               130 chrome/browser/history/shortcuts_database.h   sql::MetaTable meta_table_;
sql                63 chrome/browser/history/shortcuts_database_unittest.cc   sql::Connection connection;
sql               110 chrome/browser/history/shortcuts_database_unittest.cc   sql::Statement
sql               116 chrome/browser/history/shortcuts_database_unittest.cc   sql::Statement s(db_->db_.GetUniqueStatement(
sql               236 chrome/browser/history/shortcuts_database_unittest.cc   ASSERT_TRUE(sql::test::CreateDatabaseFromSQL(db_path, sql_path));
sql               250 chrome/browser/history/shortcuts_database_unittest.cc   sql::Connection connection;
sql               252 chrome/browser/history/shortcuts_database_unittest.cc   sql::Statement statement(connection.GetUniqueStatement(
sql               281 chrome/browser/history/shortcuts_database_unittest.cc   ASSERT_TRUE(sql::test::CreateDatabaseFromSQL(db_path, sql_path));
sql               291 chrome/browser/history/shortcuts_database_unittest.cc   sql::Connection connection;
sql               293 chrome/browser/history/shortcuts_database_unittest.cc   sql::Statement statement(connection.GetUniqueStatement(
sql                91 chrome/browser/history/thumbnail_database.cc void FillIconMapping(const sql::Statement& statement,
sql               127 chrome/browser/history/thumbnail_database.cc void ReportCorrupt(sql::Connection* db, size_t startup_kb) {
sql               164 chrome/browser/history/thumbnail_database.cc void ReportError(sql::Connection* db, int error) {
sql               182 chrome/browser/history/thumbnail_database.cc       sql::Statement statement(db->GetUniqueStatement(kVersionSql));
sql               209 chrome/browser/history/thumbnail_database.cc     sql::Statement statement(db->GetUniqueStatement(kSchemaSql));
sql               229 chrome/browser/history/thumbnail_database.cc void GenerateDiagnostics(sql::Connection* db,
sql               281 chrome/browser/history/thumbnail_database.cc bool InitTables(sql::Connection* db) {
sql               322 chrome/browser/history/thumbnail_database.cc bool InitIndices(sql::Connection* db) {
sql               393 chrome/browser/history/thumbnail_database.cc void RecoverDatabaseOrRaze(sql::Connection* db, const base::FilePath& db_path) {
sql               409 chrome/browser/history/thumbnail_database.cc   scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(db, db_path);
sql               432 chrome/browser/history/thumbnail_database.cc     sql::Recovery::Rollback(recovery.Pass());
sql               444 chrome/browser/history/thumbnail_database.cc     sql::Recovery::Unrecoverable(recovery.Pass());
sql               452 chrome/browser/history/thumbnail_database.cc     sql::Recovery::Unrecoverable(recovery.Pass());
sql               458 chrome/browser/history/thumbnail_database.cc   sql::MetaTable recover_meta_table;
sql               461 chrome/browser/history/thumbnail_database.cc     sql::Recovery::Rollback(recovery.Pass());
sql               478 chrome/browser/history/thumbnail_database.cc     sql::Recovery::Rollback(recovery.Pass());
sql               484 chrome/browser/history/thumbnail_database.cc     sql::Recovery::Rollback(recovery.Pass());
sql               490 chrome/browser/history/thumbnail_database.cc     sql::Recovery::Rollback(recovery.Pass());
sql               496 chrome/browser/history/thumbnail_database.cc     sql::Recovery::Rollback(recovery.Pass());
sql               511 chrome/browser/history/thumbnail_database.cc   if (!sql::Recovery::Recovered(recovery.Pass())) {
sql               542 chrome/browser/history/thumbnail_database.cc void DatabaseErrorCallback(sql::Connection* db,
sql               546 chrome/browser/history/thumbnail_database.cc                            sql::Statement* stmt) {
sql               569 chrome/browser/history/thumbnail_database.cc   if (!sql::Connection::ShouldIgnoreSqliteError(extended_error))
sql               598 chrome/browser/history/thumbnail_database.cc sql::InitStatus ThumbnailDatabase::Init(const base::FilePath& db_name) {
sql               606 chrome/browser/history/thumbnail_database.cc   sql::InitStatus status = sql::INIT_FAILURE;
sql               609 chrome/browser/history/thumbnail_database.cc     if (status == sql::INIT_OK)
sql               619 chrome/browser/history/thumbnail_database.cc   sql::Statement favicon_count(
sql               652 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               675 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               709 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               739 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               763 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               781 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               789 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               796 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               808 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               827 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               846 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               870 chrome/browser/history/thumbnail_database.cc   sql::Statement statement;
sql               913 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               940 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, kSql));
sql               952 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               961 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               969 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               977 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql               987 chrome/browser/history/thumbnail_database.cc   sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
sql              1025 chrome/browser/history/thumbnail_database.cc   sql::Transaction transaction(&db_);
sql              1045 chrome/browser/history/thumbnail_database.cc     sql::Statement statement(db_.GetUniqueStatement(kIconMappingSql));
sql              1128 chrome/browser/history/thumbnail_database.cc sql::InitStatus ThumbnailDatabase::OpenDatabase(sql::Connection* db,
sql              1149 chrome/browser/history/thumbnail_database.cc     return sql::INIT_FAILURE;
sql              1151 chrome/browser/history/thumbnail_database.cc   return sql::INIT_OK;
sql              1154 chrome/browser/history/thumbnail_database.cc sql::InitStatus ThumbnailDatabase::InitImpl(const base::FilePath& db_name) {
sql              1155 chrome/browser/history/thumbnail_database.cc   sql::InitStatus status = OpenDatabase(&db_, db_name);
sql              1156 chrome/browser/history/thumbnail_database.cc   if (status != sql::INIT_OK)
sql              1161 chrome/browser/history/thumbnail_database.cc   sql::MetaTable::RazeIfDeprecated(&db_, kDeprecatedVersionNumber);
sql              1169 chrome/browser/history/thumbnail_database.cc   sql::Transaction transaction(&db_);
sql              1171 chrome/browser/history/thumbnail_database.cc     return sql::INIT_FAILURE;
sql              1200 chrome/browser/history/thumbnail_database.cc     return sql::INIT_FAILURE;
sql              1207 chrome/browser/history/thumbnail_database.cc     return sql::INIT_TOO_NEW;
sql              1217 chrome/browser/history/thumbnail_database.cc     return sql::INIT_FAILURE;
sql              1225 chrome/browser/history/thumbnail_database.cc     return sql::INIT_FAILURE;
sql              1245 chrome/browser/history/thumbnail_database.cc     return sql::INIT_FAILURE;
sql              1258 chrome/browser/history/thumbnail_database.cc     return sql::INIT_FAILURE;
sql              1261 chrome/browser/history/thumbnail_database.cc   return sql::INIT_OK;
sql              1264 chrome/browser/history/thumbnail_database.cc sql::InitStatus ThumbnailDatabase::CantUpgradeToVersion(int cur_version) {
sql              1268 chrome/browser/history/thumbnail_database.cc   return sql::INIT_FAILURE;
sql                40 chrome/browser/history/thumbnail_database.h   sql::InitStatus Init(const base::FilePath& db_name);
sql               218 chrome/browser/history/thumbnail_database.h     sql::Statement statement_;
sql               245 chrome/browser/history/thumbnail_database.h   static sql::InitStatus OpenDatabase(sql::Connection* db,
sql               251 chrome/browser/history/thumbnail_database.h   sql::InitStatus InitImpl(const base::FilePath& db_name);
sql               254 chrome/browser/history/thumbnail_database.h   sql::InitStatus CantUpgradeToVersion(int cur_version);
sql               265 chrome/browser/history/thumbnail_database.h   sql::Connection db_;
sql               266 chrome/browser/history/thumbnail_database.h   sql::MetaTable meta_table_;
sql                59 chrome/browser/history/thumbnail_database_unittest.cc   return sql::test::CreateDatabaseFromSQL(db_path, sql_path);
sql                67 chrome/browser/history/thumbnail_database_unittest.cc void VerifyTablesAndColumns(sql::Connection* db) {
sql                69 chrome/browser/history/thumbnail_database_unittest.cc   EXPECT_EQ(4u, sql::test::CountSQLTables(db));
sql                73 chrome/browser/history/thumbnail_database_unittest.cc   EXPECT_EQ(5u, sql::test::CountSQLIndices(db));
sql                76 chrome/browser/history/thumbnail_database_unittest.cc   EXPECT_EQ(2u, sql::test::CountTableColumns(db, "meta"));
sql                79 chrome/browser/history/thumbnail_database_unittest.cc   EXPECT_EQ(3u, sql::test::CountTableColumns(db, "favicons"));
sql                82 chrome/browser/history/thumbnail_database_unittest.cc   EXPECT_EQ(6u, sql::test::CountTableColumns(db, "favicon_bitmaps"));
sql                85 chrome/browser/history/thumbnail_database_unittest.cc   EXPECT_EQ(3u, sql::test::CountTableColumns(db, "icon_mapping"));
sql                88 chrome/browser/history/thumbnail_database_unittest.cc void VerifyDatabaseEmpty(sql::Connection* db) {
sql                90 chrome/browser/history/thumbnail_database_unittest.cc   EXPECT_TRUE(sql::test::CountTableRows(db, "favicons", &rows));
sql                92 chrome/browser/history/thumbnail_database_unittest.cc   EXPECT_TRUE(sql::test::CountTableRows(db, "favicon_bitmaps", &rows));
sql                94 chrome/browser/history/thumbnail_database_unittest.cc   EXPECT_TRUE(sql::test::CountTableRows(db, "icon_mapping", &rows));
sql               177 chrome/browser/history/thumbnail_database_unittest.cc     EXPECT_EQ(sql::INIT_OK, db->Init(file_name_));
sql               197 chrome/browser/history/thumbnail_database_unittest.cc   ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               222 chrome/browser/history/thumbnail_database_unittest.cc   ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               251 chrome/browser/history/thumbnail_database_unittest.cc   ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               283 chrome/browser/history/thumbnail_database_unittest.cc   ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               312 chrome/browser/history/thumbnail_database_unittest.cc   ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               370 chrome/browser/history/thumbnail_database_unittest.cc   ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               394 chrome/browser/history/thumbnail_database_unittest.cc   ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               462 chrome/browser/history/thumbnail_database_unittest.cc   ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               526 chrome/browser/history/thumbnail_database_unittest.cc   ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               577 chrome/browser/history/thumbnail_database_unittest.cc   ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               715 chrome/browser/history/thumbnail_database_unittest.cc   if (!sql::Recovery::FullRecoverySupported())
sql               722 chrome/browser/history/thumbnail_database_unittest.cc     sql::Connection raw_db;
sql               730 chrome/browser/history/thumbnail_database_unittest.cc     ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               743 chrome/browser/history/thumbnail_database_unittest.cc     sql::Connection raw_db;
sql               745 chrome/browser/history/thumbnail_database_unittest.cc     ASSERT_EQ("ok", sql::test::IntegrityCheck(&raw_db));
sql               751 chrome/browser/history/thumbnail_database_unittest.cc       sql::test::CorruptTableOrIndex(file_name_, kIndexName, kDeleteSql));
sql               755 chrome/browser/history/thumbnail_database_unittest.cc     sql::Connection raw_db;
sql               757 chrome/browser/history/thumbnail_database_unittest.cc     ASSERT_NE("ok", sql::test::IntegrityCheck(&raw_db));
sql               762 chrome/browser/history/thumbnail_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               765 chrome/browser/history/thumbnail_database_unittest.cc     ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               778 chrome/browser/history/thumbnail_database_unittest.cc     sql::Connection raw_db;
sql               780 chrome/browser/history/thumbnail_database_unittest.cc     ASSERT_EQ("ok", sql::test::IntegrityCheck(&raw_db));
sql               789 chrome/browser/history/thumbnail_database_unittest.cc     ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               801 chrome/browser/history/thumbnail_database_unittest.cc   EXPECT_TRUE(sql::test::CorruptSizeInHeader(file_name_));
sql               805 chrome/browser/history/thumbnail_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               807 chrome/browser/history/thumbnail_database_unittest.cc     sql::Connection raw_db;
sql               815 chrome/browser/history/thumbnail_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               818 chrome/browser/history/thumbnail_database_unittest.cc     ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               831 chrome/browser/history/thumbnail_database_unittest.cc   if (!sql::Recovery::FullRecoverySupported())
sql               841 chrome/browser/history/thumbnail_database_unittest.cc   EXPECT_TRUE(sql::test::CorruptSizeInHeader(file_name_));
sql               845 chrome/browser/history/thumbnail_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               847 chrome/browser/history/thumbnail_database_unittest.cc     sql::Connection raw_db;
sql               855 chrome/browser/history/thumbnail_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               858 chrome/browser/history/thumbnail_database_unittest.cc     ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               865 chrome/browser/history/thumbnail_database_unittest.cc     sql::Connection raw_db;
sql               867 chrome/browser/history/thumbnail_database_unittest.cc     ASSERT_EQ("ok", sql::test::IntegrityCheck(&raw_db));
sql               879 chrome/browser/history/thumbnail_database_unittest.cc   if (!sql::Recovery::FullRecoverySupported())
sql               889 chrome/browser/history/thumbnail_database_unittest.cc   EXPECT_TRUE(sql::test::CorruptSizeInHeader(file_name_));
sql               893 chrome/browser/history/thumbnail_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               895 chrome/browser/history/thumbnail_database_unittest.cc     sql::Connection raw_db;
sql               903 chrome/browser/history/thumbnail_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               906 chrome/browser/history/thumbnail_database_unittest.cc     ASSERT_EQ(sql::INIT_OK, db.Init(file_name_));
sql               913 chrome/browser/history/thumbnail_database_unittest.cc     sql::Connection raw_db;
sql               915 chrome/browser/history/thumbnail_database_unittest.cc     ASSERT_EQ("ok", sql::test::IntegrityCheck(&raw_db));
sql               940 chrome/browser/history/thumbnail_database_unittest.cc     ASSERT_TRUE(sql::test::CreateDatabaseFromSQL(db_path, name));
sql               946 chrome/browser/history/thumbnail_database_unittest.cc     ASSERT_EQ(sql::INIT_OK, db.Init(db_path));
sql               134 chrome/browser/history/top_sites_backend.cc   sql::Connection::Delete(db_path_);
sql                63 chrome/browser/history/top_sites_database.cc bool InitTables(sql::Connection* db) {
sql               144 chrome/browser/history/top_sites_database.cc void FixThumbnailsTable(sql::Connection* db) {
sql               170 chrome/browser/history/top_sites_database.cc   sql::Statement select_statement(db->GetUniqueStatement(kByRankSql));
sql               174 chrome/browser/history/top_sites_database.cc   sql::Statement update_statement(db->GetUniqueStatement(kAdjustRankSql));
sql               196 chrome/browser/history/top_sites_database.cc void RecoverDatabaseOrRaze(sql::Connection* db, const base::FilePath& db_path) {
sql               209 chrome/browser/history/top_sites_database.cc   scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(db, db_path);
sql               222 chrome/browser/history/top_sites_database.cc     sql::Recovery::Rollback(recovery.Pass());
sql               231 chrome/browser/history/top_sites_database.cc     sql::Recovery::Unrecoverable(recovery.Pass());
sql               241 chrome/browser/history/top_sites_database.cc     sql::Recovery::Rollback(recovery.Pass());
sql               246 chrome/browser/history/top_sites_database.cc   sql::MetaTable recover_meta_table;
sql               249 chrome/browser/history/top_sites_database.cc     sql::Recovery::Rollback(recovery.Pass());
sql               265 chrome/browser/history/top_sites_database.cc     sql::Recovery::Rollback(recovery.Pass());
sql               273 chrome/browser/history/top_sites_database.cc     sql::Recovery::Rollback(recovery.Pass());
sql               281 chrome/browser/history/top_sites_database.cc   if (!sql::Recovery::Recovered(recovery.Pass())) {
sql               310 chrome/browser/history/top_sites_database.cc void DatabaseErrorCallback(sql::Connection* db,
sql               313 chrome/browser/history/top_sites_database.cc                            sql::Statement* stmt) {
sql               340 chrome/browser/history/top_sites_database.cc   if (!sql::Connection::ShouldIgnoreSqliteError(extended_error))
sql               385 chrome/browser/history/top_sites_database.cc   const bool does_meta_exist = sql::MetaTable::DoesTableExist(db_.get());
sql               393 chrome/browser/history/top_sites_database.cc   sql::MetaTable::RazeIfDeprecated(db_.get(), kDeprecatedVersionNumber);
sql               397 chrome/browser/history/top_sites_database.cc   sql::Transaction transaction(db_.get());
sql               439 chrome/browser/history/top_sites_database.cc   sql::Statement statement(db_->GetCachedStatement(
sql               484 chrome/browser/history/top_sites_database.cc   sql::Transaction transaction(db_.get());
sql               500 chrome/browser/history/top_sites_database.cc   sql::Statement statement(db_->GetCachedStatement(
sql               528 chrome/browser/history/top_sites_database.cc   sql::Statement statement(db_->GetCachedStatement(
sql               567 chrome/browser/history/top_sites_database.cc   sql::Transaction transaction(db_.get());
sql               593 chrome/browser/history/top_sites_database.cc       sql::Statement shift_statement(db_->GetCachedStatement(
sql               604 chrome/browser/history/top_sites_database.cc       sql::Statement shift_statement(db_->GetCachedStatement(
sql               618 chrome/browser/history/top_sites_database.cc       sql::Statement shift_statement(db_->GetCachedStatement(
sql               629 chrome/browser/history/top_sites_database.cc       sql::Statement shift_statement(db_->GetCachedStatement(
sql               642 chrome/browser/history/top_sites_database.cc   sql::Statement set_statement(db_->GetCachedStatement(
sql               655 chrome/browser/history/top_sites_database.cc   sql::Statement statement(db_->GetCachedStatement(
sql               675 chrome/browser/history/top_sites_database.cc   sql::Statement select_statement(db_->GetCachedStatement(
sql               692 chrome/browser/history/top_sites_database.cc   sql::Transaction transaction(db_.get());
sql               696 chrome/browser/history/top_sites_database.cc     sql::Statement shift_statement(db_->GetCachedStatement(
sql               707 chrome/browser/history/top_sites_database.cc   sql::Statement delete_statement(
sql               718 chrome/browser/history/top_sites_database.cc sql::Connection* TopSitesDatabase::CreateDB(const base::FilePath& db_name) {
sql               719 chrome/browser/history/top_sites_database.cc   scoped_ptr<sql::Connection> db(new sql::Connection());
sql                20 chrome/browser/history/top_sites_database.h namespace sql {
sql               101 chrome/browser/history/top_sites_database.h   sql::Connection* CreateDB(const base::FilePath& db_name);
sql               103 chrome/browser/history/top_sites_database.h   scoped_ptr<sql::Connection> db_;
sql               104 chrome/browser/history/top_sites_database.h   sql::MetaTable meta_table_;
sql                42 chrome/browser/history/top_sites_database_unittest.cc   return sql::test::CreateDatabaseFromSQL(db_path, sql_path);
sql                50 chrome/browser/history/top_sites_database_unittest.cc void VerifyTablesAndColumns(sql::Connection* db) {
sql                52 chrome/browser/history/top_sites_database_unittest.cc   EXPECT_EQ(2u, sql::test::CountSQLTables(db));
sql                55 chrome/browser/history/top_sites_database_unittest.cc   EXPECT_EQ(2u, sql::test::CountSQLIndices(db));
sql                58 chrome/browser/history/top_sites_database_unittest.cc   EXPECT_EQ(2u, sql::test::CountTableColumns(db, "meta"));
sql                63 chrome/browser/history/top_sites_database_unittest.cc   EXPECT_EQ(11u, sql::test::CountTableColumns(db, "thumbnails"));
sql                66 chrome/browser/history/top_sites_database_unittest.cc void VerifyDatabaseEmpty(sql::Connection* db) {
sql                68 chrome/browser/history/top_sites_database_unittest.cc   EXPECT_TRUE(sql::test::CountTableRows(db, "thumbnails", &rows));
sql               157 chrome/browser/history/top_sites_database_unittest.cc   if (!sql::Recovery::FullRecoverySupported())
sql               164 chrome/browser/history/top_sites_database_unittest.cc   EXPECT_TRUE(sql::test::CorruptSizeInHeader(file_name_));
sql               168 chrome/browser/history/top_sites_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               170 chrome/browser/history/top_sites_database_unittest.cc     sql::Connection raw_db;
sql               178 chrome/browser/history/top_sites_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               192 chrome/browser/history/top_sites_database_unittest.cc   if (!sql::Recovery::FullRecoverySupported())
sql               199 chrome/browser/history/top_sites_database_unittest.cc   EXPECT_TRUE(sql::test::CorruptSizeInHeader(file_name_));
sql               203 chrome/browser/history/top_sites_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               205 chrome/browser/history/top_sites_database_unittest.cc     sql::Connection raw_db;
sql               214 chrome/browser/history/top_sites_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               241 chrome/browser/history/top_sites_database_unittest.cc   if (!sql::Recovery::FullRecoverySupported())
sql               248 chrome/browser/history/top_sites_database_unittest.cc   EXPECT_TRUE(sql::test::CorruptSizeInHeader(file_name_));
sql               252 chrome/browser/history/top_sites_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               254 chrome/browser/history/top_sites_database_unittest.cc     sql::Connection raw_db;
sql               262 chrome/browser/history/top_sites_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               285 chrome/browser/history/top_sites_database_unittest.cc     sql::Connection raw_db;
sql               287 chrome/browser/history/top_sites_database_unittest.cc     ASSERT_EQ("ok", sql::test::IntegrityCheck(&raw_db));
sql               299 chrome/browser/history/top_sites_database_unittest.cc       sql::test::CorruptTableOrIndex(file_name_, kIndexName, kDeleteSql));
sql               304 chrome/browser/history/top_sites_database_unittest.cc     sql::Connection raw_db;
sql               306 chrome/browser/history/top_sites_database_unittest.cc     ASSERT_NE("ok", sql::test::IntegrityCheck(&raw_db));
sql               315 chrome/browser/history/top_sites_database_unittest.cc       sql::ScopedErrorIgnorer ignore_errors;
sql               330 chrome/browser/history/top_sites_database_unittest.cc     sql::Connection raw_db;
sql               332 chrome/browser/history/top_sites_database_unittest.cc     ASSERT_EQ("ok", sql::test::IntegrityCheck(&raw_db));
sql                64 chrome/browser/history/url_database.cc void URLDatabase::FillURLRow(sql::Statement& s, history::URLRow* i) {
sql                80 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql                92 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               104 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               119 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               154 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(
sql               155 chrome/browser/history/url_database.cc       sql::StatementID(statement_name), statement_sql));
sql               184 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               201 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               245 chrome/browser/history/url_database.cc   std::string sql("SELECT ");
sql               246 chrome/browser/history/url_database.cc   sql.append(kURLRowFields);
sql               247 chrome/browser/history/url_database.cc   sql.append(" FROM urls");
sql               248 chrome/browser/history/url_database.cc   enumerator->statement_.Assign(GetDB().GetUniqueStatement(sql.c_str()));
sql               255 chrome/browser/history/url_database.cc   std::string sql("SELECT ");
sql               256 chrome/browser/history/url_database.cc   sql.append(kURLRowFields);
sql               257 chrome/browser/history/url_database.cc   sql.append(" FROM urls WHERE last_visit_time >= ? OR visit_count >= ? OR "
sql               259 chrome/browser/history/url_database.cc   enumerator->statement_.Assign(GetDB().GetUniqueStatement(sql.c_str()));
sql               276 chrome/browser/history/url_database.cc   const char* sql;
sql               279 chrome/browser/history/url_database.cc     sql = "SELECT" HISTORY_URL_ROW_FIELDS "FROM urls "
sql               285 chrome/browser/history/url_database.cc     sql = "SELECT" HISTORY_URL_ROW_FIELDS "FROM urls "
sql               291 chrome/browser/history/url_database.cc   sql::Statement statement(
sql               292 chrome/browser/history/url_database.cc       GetDB().GetCachedStatement(sql::StatementID(__FILE__, line), sql));
sql               342 chrome/browser/history/url_database.cc   std::string sql("SELECT ");
sql               343 chrome/browser/history/url_database.cc   sql.append(kURLRowFields);
sql               344 chrome/browser/history/url_database.cc   sql.append(" FROM urls WHERE url ");
sql               345 chrome/browser/history/url_database.cc   sql.append(allow_base ? ">=" : ">");
sql               346 chrome/browser/history/url_database.cc   sql.append(" ? AND url < :end AND url = substr(:end, 1, length(url)) "
sql               349 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetUniqueStatement(sql.c_str()));
sql               369 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               446 chrome/browser/history/url_database.cc   sql::Statement exist_statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               458 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               471 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               489 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               509 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               528 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               556 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               564 chrome/browser/history/url_database.cc   sql::Statement statement(GetDB().GetCachedStatement(
sql               603 chrome/browser/history/url_database.cc   std::string sql;
sql               604 chrome/browser/history/url_database.cc   sql.append("CREATE TABLE ");
sql               605 chrome/browser/history/url_database.cc   sql.append(name);
sql               606 chrome/browser/history/url_database.cc   sql.append("("
sql               616 chrome/browser/history/url_database.cc   return GetDB().Execute(sql.c_str());
sql                16 chrome/browser/history/url_database.h namespace sql {
sql               131 chrome/browser/history/url_database.h     sql::Statement statement_;
sql               282 chrome/browser/history/url_database.h   static void FillURLRow(sql::Statement& s, URLRow* i);
sql               286 chrome/browser/history/url_database.h   virtual sql::Connection& GetDB() = 0;
sql                43 chrome/browser/history/url_database_unittest.cc   virtual sql::Connection& GetDB() OVERRIDE {
sql                66 chrome/browser/history/url_database_unittest.cc   sql::Connection db_;
sql                85 chrome/browser/history/visit_database.cc void VisitDatabase::FillVisitRow(sql::Statement& statement, VisitRow* visit) {
sql                97 chrome/browser/history/visit_database.cc bool VisitDatabase::FillVisitVector(sql::Statement& statement,
sql               112 chrome/browser/history/visit_database.cc bool VisitDatabase::FillVisitVectorWithOptions(sql::Statement& statement,
sql               145 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               166 chrome/browser/history/visit_database.cc     sql::Statement statement1(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               184 chrome/browser/history/visit_database.cc   sql::Statement update_chain(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               192 chrome/browser/history/visit_database.cc   sql::Statement del(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               208 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               231 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               249 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               263 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               289 chrome/browser/history/visit_database.cc     sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               307 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               331 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               354 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               381 chrome/browser/history/visit_database.cc     sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               410 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               433 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               448 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               476 chrome/browser/history/visit_database.cc     sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               510 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               540 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               566 chrome/browser/history/visit_database.cc     std::string sql = "SELECT id,source FROM visit_source ";
sql               567 chrome/browser/history/visit_database.cc     sql.append("WHERE id IN (");
sql               571 chrome/browser/history/visit_database.cc         sql.push_back(',');
sql               572 chrome/browser/history/visit_database.cc       sql.append(base::Int64ToString(visits[j].visit_id));
sql               574 chrome/browser/history/visit_database.cc     sql.append(") ORDER BY id");
sql               575 chrome/browser/history/visit_database.cc     sql::Statement statement(GetDB().GetUniqueStatement(sql.c_str()));
sql               607 chrome/browser/history/visit_database.cc   sql::Statement statement(GetDB().GetUniqueStatement(
sql                12 chrome/browser/history/visit_database.h namespace sql {
sql               196 chrome/browser/history/visit_database.h   virtual sql::Connection& GetDB() = 0;
sql               204 chrome/browser/history/visit_database.h   static void FillVisitRow(sql::Statement& statement, VisitRow* visit);
sql               208 chrome/browser/history/visit_database.h   static bool FillVisitVector(sql::Statement& statement, VisitVector* visits);
sql               214 chrome/browser/history/visit_database.h   static bool FillVisitVectorWithOptions(sql::Statement& statement,
sql                64 chrome/browser/history/visit_database_unittest.cc   virtual sql::Connection& GetDB() OVERRIDE {
sql                69 chrome/browser/history/visit_database_unittest.cc   sql::Connection db_;
sql               128 chrome/browser/history/visitsegment_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               139 chrome/browser/history/visitsegment_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               148 chrome/browser/history/visitsegment_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               159 chrome/browser/history/visitsegment_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               174 chrome/browser/history/visitsegment_database.cc   sql::Statement select(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               184 chrome/browser/history/visitsegment_database.cc     sql::Statement update(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               191 chrome/browser/history/visitsegment_database.cc     sql::Statement insert(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               212 chrome/browser/history/visitsegment_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               269 chrome/browser/history/visitsegment_database.cc   sql::Statement statement2(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               289 chrome/browser/history/visitsegment_database.cc   sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               297 chrome/browser/history/visitsegment_database.cc   sql::Statement delete_usage(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               305 chrome/browser/history/visitsegment_database.cc   sql::Statement delete_seg(GetDB().GetCachedStatement(SQL_FROM_HERE,
sql               313 chrome/browser/history/visitsegment_database.cc   sql::Transaction transaction(&GetDB());
sql                13 chrome/browser/history/visitsegment_database.h namespace sql {
sql                73 chrome/browser/history/visitsegment_database.h   virtual sql::Connection& GetDB() = 0;
sql               113 chrome/browser/net/sqlite_server_bound_cert_store.cc   void DatabaseErrorCallback(int error, sql::Statement* stmt);
sql               117 chrome/browser/net/sqlite_server_bound_cert_store.cc   scoped_ptr<sql::Connection> db_;
sql               118 chrome/browser/net/sqlite_server_bound_cert_store.cc   sql::MetaTable meta_table_;
sql               148 chrome/browser/net/sqlite_server_bound_cert_store.cc bool InitTable(sql::Connection* db) {
sql               203 chrome/browser/net/sqlite_server_bound_cert_store.cc   db_.reset(new sql::Connection);
sql               231 chrome/browser/net/sqlite_server_bound_cert_store.cc   sql::Statement smt(db_->GetUniqueStatement(
sql               286 chrome/browser/net/sqlite_server_bound_cert_store.cc     sql::Transaction transaction(db_.get());
sql               310 chrome/browser/net/sqlite_server_bound_cert_store.cc     sql::Transaction transaction(db_.get());
sql               330 chrome/browser/net/sqlite_server_bound_cert_store.cc     sql::Statement smt(db_->GetUniqueStatement(
sql               332 chrome/browser/net/sqlite_server_bound_cert_store.cc     sql::Statement update_expires_smt(db_->GetUniqueStatement(
sql               334 chrome/browser/net/sqlite_server_bound_cert_store.cc     sql::Statement update_creation_smt(db_->GetUniqueStatement(
sql               401 chrome/browser/net/sqlite_server_bound_cert_store.cc     sql::Statement* stmt) {
sql               404 chrome/browser/net/sqlite_server_bound_cert_store.cc   if (!sql::IsErrorCatastrophic(error))
sql               489 chrome/browser/net/sqlite_server_bound_cert_store.cc   sql::Statement add_smt(db_->GetCachedStatement(SQL_FROM_HERE,
sql               495 chrome/browser/net/sqlite_server_bound_cert_store.cc   sql::Statement del_smt(db_->GetCachedStatement(SQL_FROM_HERE,
sql               500 chrome/browser/net/sqlite_server_bound_cert_store.cc   sql::Transaction transaction(db_.get());
sql               575 chrome/browser/net/sqlite_server_bound_cert_store.cc   sql::Statement del_smt(db_->GetCachedStatement(
sql               582 chrome/browser/net/sqlite_server_bound_cert_store.cc   sql::Transaction transaction(db_.get());
sql               173 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc     sql::Connection db;
sql               184 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc     sql::Statement add_smt(db.GetUniqueStatement(
sql               218 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc       sql::Connection db;
sql               220 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc       sql::Statement smt(db.GetUniqueStatement(
sql               241 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc     sql::Connection db;
sql               255 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc     sql::Statement add_smt(db.GetUniqueStatement(
sql               302 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc       sql::Connection db;
sql               304 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc       sql::Statement smt(db.GetUniqueStatement(
sql               325 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc     sql::Connection db;
sql               340 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc     sql::Statement add_smt(db.GetUniqueStatement(
sql               390 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc       sql::Connection db;
sql               392 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc       sql::Statement smt(db.GetUniqueStatement(
sql               413 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc     sql::Connection db;
sql               429 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc     sql::Statement add_smt(db.GetUniqueStatement(
sql                25 chrome/browser/predictors/autocomplete_action_predictor_table.cc     sql::Statement* statement) {
sql                35 chrome/browser/predictors/autocomplete_action_predictor_table.cc     sql::Statement* statement,
sql                83 chrome/browser/predictors/autocomplete_action_predictor_table.cc   sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE,
sql               100 chrome/browser/predictors/autocomplete_action_predictor_table.cc   sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE,
sql               140 chrome/browser/predictors/autocomplete_action_predictor_table.cc     sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE,
sql               158 chrome/browser/predictors/autocomplete_action_predictor_table.cc     sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE,
sql               188 chrome/browser/predictors/autocomplete_action_predictor_table.cc     sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE,
sql               211 chrome/browser/predictors/autocomplete_action_predictor_table.cc   sql::Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE,
sql               251 chrome/browser/predictors/autocomplete_action_predictor_table.cc   sql::Statement count_statement(DB()->GetUniqueStatement(
sql               105 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc   sql::Statement s(db_->GetDatabase()->GetUniqueStatement(
sql                17 chrome/browser/predictors/logged_in_predictor_table.cc using sql::Statement;
sql               145 chrome/browser/predictors/logged_in_predictor_table.cc   sql::Connection* db = DB();
sql                15 chrome/browser/predictors/logged_in_predictor_table.h namespace sql {
sql                54 chrome/browser/predictors/predictor_database.cc   scoped_ptr<sql::Connection> db_;
sql                67 chrome/browser/predictors/predictor_database.cc       db_(new sql::Connection()),
sql               141 chrome/browser/predictors/predictor_database.cc sql::Connection* PredictorDatabase::GetDatabase() {
sql                13 chrome/browser/predictors/predictor_database.h namespace sql {
sql                32 chrome/browser/predictors/predictor_database.h   sql::Connection* GetDatabase();
sql                21 chrome/browser/predictors/predictor_table_base.cc void PredictorTableBase::Initialize(sql::Connection* db) {
sql                31 chrome/browser/predictors/predictor_table_base.cc sql::Connection* PredictorTableBase::DB() {
sql                11 chrome/browser/predictors/predictor_table_base.h namespace sql {
sql                30 chrome/browser/predictors/predictor_table_base.h   void Initialize(sql::Connection* db);
sql                32 chrome/browser/predictors/predictor_table_base.h   sql::Connection* DB();
sql                42 chrome/browser/predictors/predictor_table_base.h   sql::Connection* db_;
sql               903 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc     sql::Connection db;
sql               910 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc     sql::Statement smt(db.GetUniqueStatement(
sql               931 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc     sql::Connection db;
sql               936 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc     sql::Statement smt(db.GetUniqueStatement(
sql                93 chrome/browser/webdata/keyword_table.cc                         sql::Statement* s,
sql               245 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
sql               275 chrome/browser/webdata/keyword_table.cc   sql::Statement s(db_->GetUniqueStatement(query.c_str()));
sql               337 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
sql               381 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
sql               392 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
sql               409 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
sql               421 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
sql               435 chrome/browser/webdata/keyword_table.cc   sql::Transaction transaction(db_);
sql               456 chrome/browser/webdata/keyword_table.cc bool KeywordTable::GetKeywordDataFromStatement(const sql::Statement& s,
sql               512 chrome/browser/webdata/keyword_table.cc   sql::Statement s(db_->GetCachedStatement(SQL_FROM_HERE, query.c_str()));
sql               520 chrome/browser/webdata/keyword_table.cc   sql::Statement s(db_->GetCachedStatement(
sql               529 chrome/browser/webdata/keyword_table.cc   sql::Statement s(db_->GetCachedStatement(
sql               550 chrome/browser/webdata/keyword_table.cc   sql::Statement s(db_->GetUniqueStatement(query.c_str()));
sql               587 chrome/browser/webdata/keyword_table.cc   std::string sql("INSERT INTO keywords_temp SELECT " +
sql               589 chrome/browser/webdata/keyword_table.cc   if (!db_->Execute(sql.c_str()))
sql               594 chrome/browser/webdata/keyword_table.cc   sql = "SELECT id, keyword, url, autogenerate_keyword FROM " + name +
sql               596 chrome/browser/webdata/keyword_table.cc   sql::Statement s(db_->GetUniqueStatement(sql.c_str()));
sql               624 chrome/browser/webdata/keyword_table.cc         sql::Statement u(db_->GetUniqueStatement(
sql               633 chrome/browser/webdata/keyword_table.cc       sql::Statement u(db_->GetUniqueStatement(
sql               644 chrome/browser/webdata/keyword_table.cc   sql = "DROP TABLE " + name;
sql               645 chrome/browser/webdata/keyword_table.cc   if (!db_->Execute(sql.c_str()))
sql               647 chrome/browser/webdata/keyword_table.cc   sql = "ALTER TABLE keywords_temp RENAME TO " + name;
sql               648 chrome/browser/webdata/keyword_table.cc   return db_->Execute(sql.c_str());
sql                20 chrome/browser/webdata/keyword_table.h namespace sql {
sql               156 chrome/browser/webdata/keyword_table.h   static bool GetKeywordDataFromStatement(const sql::Statement& s,
sql                37 chrome/browser/webdata/keyword_table_unittest.cc     ASSERT_EQ(sql::INIT_OK, db_->Init(file_));
sql               100 chrome/browser/webdata/keyword_table_unittest.cc   void GetStatement(const char* sql, sql::Statement* statement) const {
sql               101 chrome/browser/webdata/keyword_table_unittest.cc     statement->Assign(table_->db_->GetUniqueStatement(sql));
sql               219 chrome/browser/webdata/keyword_table_unittest.cc   sql::Statement s;
sql                14 chrome/browser/webdata/logins_table_win.cc   sql::Statement s(db_->GetUniqueStatement(
sql                28 chrome/browser/webdata/logins_table_win.cc   sql::Statement s(db_->GetUniqueStatement(
sql                38 chrome/browser/webdata/logins_table_win.cc   sql::Statement s(db_->GetUniqueStatement(
sql                80 chrome/browser/webdata/web_apps_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql                95 chrome/browser/webdata/web_apps_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               118 chrome/browser/webdata/web_apps_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               127 chrome/browser/webdata/web_apps_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               135 chrome/browser/webdata/web_apps_table.cc   sql::Statement delete_s(db_->GetUniqueStatement(
sql               142 chrome/browser/webdata/web_apps_table.cc   sql::Statement delete_s2(db_->GetUniqueStatement(
sql                30 chrome/browser/webdata/web_apps_table_unittest.cc     ASSERT_EQ(sql::INIT_OK, db_->Init(file_));
sql                38 chrome/browser/webdata/web_data_service_factory.cc void ProfileErrorCallback(ProfileErrorType type, sql::InitStatus status) {
sql                41 chrome/browser/webdata/web_data_service_factory.cc       (status == sql::INIT_FAILURE) ?
sql                15 chrome/browser/webdata/web_intents_table.h namespace sql {
sql                35 chrome/test/data/dromaeo/store.php         $sql = mysql_connect( $server, $user, $pass );
sql               150 chrome/utility/importer/firefox_importer.cc   sql::Connection db;
sql               165 chrome/utility/importer/firefox_importer.cc   sql::Statement s(db.GetUniqueStatement(query));
sql               194 chrome/utility/importer/firefox_importer.cc   sql::Connection db;
sql               231 chrome/utility/importer/firefox_importer.cc   sql::Statement s(db.GetUniqueStatement(query));
sql               393 chrome/utility/importer/firefox_importer.cc   sql::Connection db;
sql               403 chrome/utility/importer/firefox_importer.cc   sql::Statement s(db.GetUniqueStatement(query));
sql               479 chrome/utility/importer/firefox_importer.cc void FirefoxImporter::LoadRootNodeID(sql::Connection* db,
sql               488 chrome/utility/importer/firefox_importer.cc   sql::Statement s(db->GetUniqueStatement(query));
sql               502 chrome/utility/importer/firefox_importer.cc void FirefoxImporter::LoadLivemarkIDs(sql::Connection* db,
sql               511 chrome/utility/importer/firefox_importer.cc   sql::Statement s(db->GetUniqueStatement(query));
sql               518 chrome/utility/importer/firefox_importer.cc void FirefoxImporter::GetTopBookmarkFolder(sql::Connection* db,
sql               525 chrome/utility/importer/firefox_importer.cc   sql::Statement s(db->GetUniqueStatement(query));
sql               540 chrome/utility/importer/firefox_importer.cc void FirefoxImporter::GetWholeBookmarkFolder(sql::Connection* db,
sql               556 chrome/utility/importer/firefox_importer.cc   sql::Statement s(db->GetUniqueStatement(query));
sql               588 chrome/utility/importer/firefox_importer.cc     sql::Connection* db,
sql               592 chrome/utility/importer/firefox_importer.cc   sql::Statement s(db->GetUniqueStatement(query));
sql                21 chrome/utility/importer/firefox_importer.h namespace sql {
sql                56 chrome/utility/importer/firefox_importer.h   void LoadRootNodeID(sql::Connection* db, int* toolbar_folder_id,
sql                60 chrome/utility/importer/firefox_importer.h   void LoadLivemarkIDs(sql::Connection* db, std::set<int>* livemark);
sql                64 chrome/utility/importer/firefox_importer.h   void GetTopBookmarkFolder(sql::Connection* db,
sql                69 chrome/utility/importer/firefox_importer.h   void GetWholeBookmarkFolder(sql::Connection* db, BookmarkList* list,
sql                74 chrome/utility/importer/firefox_importer.h   void LoadFavicons(sql::Connection* db,
sql               237 chrome/utility/importer/nss_decryptor.cc   sql::Connection db;
sql               242 chrome/utility/importer/nss_decryptor.cc   sql::Statement s(db.GetUniqueStatement(query));
sql               264 chrome/utility/importer/nss_decryptor.cc   sql::Statement s2(db.GetUniqueStatement(query2));
sql                31 chrome/utility/importer/safari_importer.h namespace sql {
sql                89 chrome/utility/importer/safari_importer.h   bool OpenDatabase(sql::Connection* db);
sql                92 chrome/utility/importer/safari_importer.h   void ImportFaviconURLs(sql::Connection* db, FaviconMap* favicon_map);
sql                95 chrome/utility/importer/safari_importer.h   void LoadFaviconData(sql::Connection* db,
sql                79 components/autofill/core/browser/webdata/autofill_table.cc                                     sql::Statement* s) {
sql                97 components/autofill/core/browser/webdata/autofill_table.cc     const sql::Statement& s) {
sql               120 components/autofill/core/browser/webdata/autofill_table.cc                                sql::Statement* s) {
sql               139 components/autofill/core/browser/webdata/autofill_table.cc scoped_ptr<CreditCard> CreditCardFromStatement(const sql::Statement& s) {
sql               168 components/autofill/core/browser/webdata/autofill_table.cc bool AddAutofillProfileNamesToProfile(sql::Connection* db,
sql               170 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db->GetUniqueStatement(
sql               197 components/autofill/core/browser/webdata/autofill_table.cc bool AddAutofillProfileEmailsToProfile(sql::Connection* db,
sql               199 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db->GetUniqueStatement(
sql               220 components/autofill/core/browser/webdata/autofill_table.cc bool AddAutofillProfilePhonesToProfile(sql::Connection* db,
sql               222 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db->GetUniqueStatement(
sql               244 components/autofill/core/browser/webdata/autofill_table.cc                              sql::Connection* db) {
sql               256 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db->GetUniqueStatement(
sql               272 components/autofill/core/browser/webdata/autofill_table.cc                               sql::Connection* db) {
sql               278 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db->GetUniqueStatement(
sql               293 components/autofill/core/browser/webdata/autofill_table.cc                               sql::Connection* db) {
sql               299 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db->GetUniqueStatement(
sql               314 components/autofill/core/browser/webdata/autofill_table.cc                               sql::Connection* db) {
sql               327 components/autofill/core/browser/webdata/autofill_table.cc bool RemoveAutofillProfilePieces(const std::string& guid, sql::Connection* db) {
sql               328 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s1(db->GetUniqueStatement(
sql               335 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s2(db->GetUniqueStatement(
sql               342 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s3(db->GetUniqueStatement(
sql               466 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s;
sql               501 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement("SELECT COUNT(*) FROM autofill"));
sql               518 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               588 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_delete(db_->GetUniqueStatement(
sql               592 components/autofill/core/browser/webdata/autofill_table.cc   sql::Transaction transaction(db_);
sql               598 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s_update(db_->GetUniqueStatement(
sql               623 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement select_for_delete(db_->GetUniqueStatement(
sql               637 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement delete_data_statement(db_->GetUniqueStatement(
sql               669 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               688 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               710 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
sql               728 components/autofill/core/browser/webdata/autofill_table.cc   std::string sql =
sql               732 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(sql.c_str()));
sql               749 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_exists(db_->GetUniqueStatement(
sql               758 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
sql               768 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
sql               792 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               803 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               820 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               850 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               883 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               908 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s_trash(db_->GetUniqueStatement(
sql               917 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               928 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s1(db_->GetUniqueStatement(
sql               934 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s2(db_->GetUniqueStatement(
sql               940 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s3(db_->GetUniqueStatement(
sql               946 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s4(db_->GetUniqueStatement(
sql               953 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               970 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql               989 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql              1016 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql              1032 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql              1050 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_profiles_get(db_->GetUniqueStatement(
sql              1065 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_profiles(db_->GetUniqueStatement(
sql              1075 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_credit_cards_get(db_->GetUniqueStatement(
sql              1090 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_credit_cards(db_->GetUniqueStatement(
sql              1109 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_profiles_get(db_->GetUniqueStatement(
sql              1128 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s_profile(db_->GetUniqueStatement(
sql              1142 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s_credit_cards_get(db_->GetUniqueStatement(
sql              1161 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s_credit_card(db_->GetUniqueStatement(
sql              1175 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql              1188 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql              1196 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql              1206 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql              1214 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql              1350 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql              1366 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
sql              1539 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(stmt.c_str()));
sql              1551 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(stmt.c_str()));
sql              1595 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetCachedStatement(
sql              1616 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
sql              1631 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
sql              1654 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement("SELECT unique_id "
sql              1658 components/autofill/core/browser/webdata/autofill_table.cc       sql::Statement update_s(
sql              1682 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement("SELECT unique_id "
sql              1686 components/autofill/core/browser/webdata/autofill_table.cc       sql::Statement update_s(
sql              1814 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
sql              1841 components/autofill/core/browser/webdata/autofill_table.cc       sql::Statement s_insert(db_->GetUniqueStatement(
sql              1918 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement("SELECT guid, country "
sql              1922 components/autofill/core/browser/webdata/autofill_table.cc       sql::Statement update_s(
sql              1945 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql              1958 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql              1971 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
sql              2049 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
sql              2077 components/autofill/core/browser/webdata/autofill_table.cc   sql::Transaction transaction(db_);
sql              2099 components/autofill/core/browser/webdata/autofill_table.cc   sql::Transaction transaction(db_);
sql              2139 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s(db_->GetUniqueStatement(
sql              2149 components/autofill/core/browser/webdata/autofill_table.cc       sql::Statement s_update(db_->GetUniqueStatement(
sql              2203 components/autofill/core/browser/webdata/autofill_table.cc   sql::Transaction transaction(db_);
sql              2220 components/autofill/core/browser/webdata/autofill_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql              2226 components/autofill/core/browser/webdata/autofill_table.cc     sql::Statement s_insert(db_->GetUniqueStatement(
sql               105 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s(db->GetSQLConnection()->GetUniqueStatement(
sql               131 components/autofill/core/browser/webdata/autofill_table_unittest.cc     ASSERT_EQ(sql::INIT_OK, db_->Init(file_));
sql               662 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_home(db_->GetSQLConnection()->GetUniqueStatement(
sql               688 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_billing(db_->GetSQLConnection()->GetUniqueStatement(
sql               705 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_billing_updated(db_->GetSQLConnection()->GetUniqueStatement(
sql               740 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_billing_updated_2(
sql               977 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_work(db_->GetSQLConnection()->GetUniqueStatement(
sql              1004 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_target(db_->GetSQLConnection()->GetUniqueStatement(
sql              1024 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_target_updated(db_->GetSQLConnection()->GetUniqueStatement(
sql              1060 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_mock_creation_date(
sql              1072 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_original(db_->GetSQLConnection()->GetUniqueStatement(
sql              1088 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_updated(db_->GetSQLConnection()->GetUniqueStatement(
sql              1097 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_mock_modification_date(
sql              1112 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_unchanged(db_->GetSQLConnection()->GetUniqueStatement(
sql              1131 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_mock_creation_date(
sql              1143 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_original(db_->GetSQLConnection()->GetUniqueStatement(
sql              1159 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_updated(db_->GetSQLConnection()->GetUniqueStatement(
sql              1168 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_mock_modification_date(
sql              1183 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_unchanged(db_->GetSQLConnection()->GetUniqueStatement(
sql              1210 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_mock_creation_date(
sql              1222 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_original(db_->GetSQLConnection()->GetUniqueStatement(
sql              1238 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_updated(db_->GetSQLConnection()->GetUniqueStatement(
sql              1257 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_mock_creation_date(
sql              1269 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_original(db_->GetSQLConnection()->GetUniqueStatement(
sql              1285 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_updated(db_->GetSQLConnection()->GetUniqueStatement(
sql              1330 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_autofill_profiles_bounded(
sql              1347 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_credit_cards_bounded(
sql              1366 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_autofill_profiles_unbounded(
sql              1378 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_credit_cards_unbounded(
sql              1393 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_autofill_profiles_empty(
sql              1400 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_credit_cards_empty(
sql              1432 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_autofill_profiles_bounded(
sql              1445 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_credit_cards_bounded(
sql              1464 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_autofill_profiles_all(
sql              1477 components/autofill/core/browser/webdata/autofill_table_unittest.cc   sql::Statement s_credit_cards_all(
sql                70 components/password_manager/core/browser/login_database.cc   sql::Transaction transaction(&db_);
sql               190 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(
sql               216 components/password_manager/core/browser/login_database.cc   sql::Statement usage_statement(db_.GetCachedStatement(
sql               246 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
sql               292 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
sql               339 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
sql               359 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
sql               371 components/password_manager/core/browser/login_database.cc     sql::Statement& s) const {
sql               431 components/password_manager/core/browser/login_database.cc   sql::Statement s;
sql               513 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
sql               553 components/password_manager/core/browser/login_database.cc   sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
sql               580 components/password_manager/core/browser/login_database.cc   sql::Connection::Delete(db_path_);
sql               122 components/password_manager/core/browser/login_database.h                                                  sql::Statement& s) const;
sql               134 components/password_manager/core/browser/login_database.h   mutable sql::Connection db_;
sql               135 components/password_manager/core/browser/login_database.h   sql::MetaTable meta_table_;
sql                42 components/precache/core/precache_database.cc   db_.reset(new sql::Connection());
sql               182 components/precache/core/precache_database.cc     sql::Transaction transaction(db_.get());
sql                26 components/precache/core/precache_database.h namespace sql {
sql                82 components/precache/core/precache_database.h   scoped_ptr<sql::Connection> db_;
sql                13 components/precache/core/precache_url_table.cc using sql::Statement;
sql                30 components/precache/core/precache_url_table.cc bool PrecacheURLTable::Init(sql::Connection* db) {
sql                14 components/precache/core/precache_url_table.h namespace sql {
sql                32 components/precache/core/precache_url_table.h   bool Init(sql::Connection* db);
sql                54 components/precache/core/precache_url_table.h   sql::Connection* db_;
sql                27 components/precache/core/precache_url_table_unittest.cc     db_.reset(new sql::Connection());
sql                33 components/precache/core/precache_url_table_unittest.cc   scoped_ptr<sql::Connection> db_;
sql                57 components/signin/core/browser/webdata/token_service_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql                64 components/signin/core/browser/webdata/token_service_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql                81 components/signin/core/browser/webdata/token_service_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql                93 components/signin/core/browser/webdata/token_service_table.cc   sql::Statement s(db_->GetUniqueStatement(
sql                28 components/signin/core/browser/webdata/token_service_table_unittest.cc     ASSERT_EQ(sql::INIT_OK, db_->Init(file_));
sql                23 components/webdata/common/web_data_service_backend.cc       init_status_(sql::INIT_FAILURE),
sql                40 components/webdata/common/web_data_service_backend.cc sql::InitStatus WebDataServiceBackend::LoadDatabaseIfNecessary() {
sql                53 components/webdata/common/web_data_service_backend.cc   if (init_status_ != sql::INIT_OK) {
sql                64 components/webdata/common/web_data_service_backend.cc   if (db_ && init_status_ == sql::INIT_OK)
sql                68 components/webdata/common/web_data_service_backend.cc   init_status_ = sql::INIT_FAILURE;
sql                84 components/webdata/common/web_data_service_backend.cc   if (db_ && init_status_ == sql::INIT_OK) {
sql               104 components/webdata/common/web_data_service_backend.cc   if (db_ && init_status_ == sql::INIT_OK) {
sql               116 components/webdata/common/web_data_service_backend.cc   DCHECK_EQ(sql::INIT_OK, init_status_);
sql                42 components/webdata/common/web_data_service_backend.h     virtual void DBLoaded(sql::InitStatus status) = 0;
sql                60 components/webdata/common/web_data_service_backend.h   sql::InitStatus LoadDatabaseIfNecessary();
sql               117 components/webdata/common/web_data_service_backend.h   sql::InitStatus init_status_;
sql                37 components/webdata/common/web_data_service_base.h   typedef base::Callback<void(sql::InitStatus)> ProfileErrorCallback;
sql                25 components/webdata/common/web_database.cc void ChangeVersion(sql::MetaTable* meta_table,
sql                37 components/webdata/common/web_database.cc sql::InitStatus FailedMigrationTo(int version_num) {
sql                41 components/webdata/common/web_database.cc   return sql::INIT_FAILURE;
sql                67 components/webdata/common/web_database.cc sql::Connection* WebDatabase::GetSQLConnection() {
sql                71 components/webdata/common/web_database.cc sql::InitStatus WebDatabase::Init(const base::FilePath& db_name) {
sql                88 components/webdata/common/web_database.cc     return sql::INIT_FAILURE;
sql                91 components/webdata/common/web_database.cc   sql::Transaction transaction(&db_);
sql                93 components/webdata/common/web_database.cc     return sql::INIT_FAILURE;
sql                97 components/webdata/common/web_database.cc     return sql::INIT_FAILURE;
sql               100 components/webdata/common/web_database.cc     return sql::INIT_TOO_NEW;
sql               111 components/webdata/common/web_database.cc   sql::InitStatus migration_status = MigrateOldVersionsAsNeeded();
sql               112 components/webdata/common/web_database.cc   if (migration_status != sql::INIT_OK)
sql               122 components/webdata/common/web_database.cc       return sql::INIT_FAILURE;
sql               126 components/webdata/common/web_database.cc   return transaction.Commit() ? sql::INIT_OK : sql::INIT_FAILURE;
sql               129 components/webdata/common/web_database.cc sql::InitStatus WebDatabase::MigrateOldVersionsAsNeeded() {
sql               152 components/webdata/common/web_database.cc     return sql::INIT_FAILURE;
sql               170 components/webdata/common/web_database.cc   return sql::INIT_OK;
sql                48 components/webdata/common/web_database.h   sql::InitStatus Init(const base::FilePath& db_name);
sql                55 components/webdata/common/web_database.h   sql::Connection* GetSQLConnection();
sql                60 components/webdata/common/web_database.h   sql::InitStatus MigrateOldVersionsAsNeeded();
sql                62 components/webdata/common/web_database.h   sql::Connection db_;
sql                63 components/webdata/common/web_database.h   sql::MetaTable meta_table_;
sql                43 components/webdata/common/web_database_migration_unittest.cc void AutofillProfile31FromStatement(const sql::Statement& s,
sql                73 components/webdata/common/web_database_migration_unittest.cc void AutofillProfile33FromStatement(const sql::Statement& s,
sql                92 components/webdata/common/web_database_migration_unittest.cc void CreditCard31FromStatement(const sql::Statement& s,
sql               120 components/webdata/common/web_database_migration_unittest.cc void CreditCard32FromStatement(const sql::Statement& s,
sql               141 components/webdata/common/web_database_migration_unittest.cc void CheckHasBackupData(sql::MetaTable* meta_table) {
sql               149 components/webdata/common/web_database_migration_unittest.cc void CheckNoBackupData(const sql::Connection& connection,
sql               150 components/webdata/common/web_database_migration_unittest.cc                        sql::MetaTable* meta_table) {
sql               205 components/webdata/common/web_database_migration_unittest.cc     ASSERT_EQ(sql::INIT_OK, db.Init(GetDatabasePath()));
sql               236 components/webdata/common/web_database_migration_unittest.cc   static int VersionFromConnection(sql::Connection* connection) {
sql               238 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(connection->GetUniqueStatement(
sql               267 components/webdata/common/web_database_migration_unittest.cc   sql::Connection connection;
sql               276 components/webdata/common/web_database_migration_unittest.cc   sql::Connection connection;
sql               298 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               330 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               343 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               363 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               367 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s_autofill(connection.GetUniqueStatement(
sql               369 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s_dates(connection.GetUniqueStatement(
sql               438 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               446 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(
sql               486 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               500 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               528 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               543 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               569 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               578 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               601 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               612 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(connection.GetUniqueStatement(stmt.c_str()));
sql               621 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s2(connection.GetUniqueStatement(stmt2.c_str()));
sql               626 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s3(connection.GetUniqueStatement(stmt3.c_str()));
sql               628 components/webdata/common/web_database_migration_unittest.cc     EXPECT_EQ(s3.ColumnType(0), sql::COLUMN_TYPE_TEXT);
sql               636 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               644 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(connection.GetUniqueStatement(
sql               668 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               677 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(connection.GetUniqueStatement(stmt.c_str()));
sql               686 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s2(connection.GetUniqueStatement(stmt2.c_str()));
sql               691 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s3(connection.GetUniqueStatement(stmt3.c_str()));
sql               693 components/webdata/common/web_database_migration_unittest.cc     EXPECT_EQ(s3.ColumnType(0), sql::COLUMN_TYPE_TEXT);
sql               701 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               713 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(connection.GetUniqueStatement(
sql               734 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               745 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               758 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(connection.GetUniqueStatement(stmt.c_str()));
sql               764 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s2(connection.GetUniqueStatement(stmt.c_str()));
sql               799 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               815 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               827 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s_profiles(connection.GetUniqueStatement(
sql               838 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s_credit_cards(connection.GetUniqueStatement(
sql               859 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               871 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               882 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(
sql               915 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               933 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s1(
sql               944 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s2(
sql               968 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql               990 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s1(
sql              1018 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s2(
sql              1049 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1086 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1135 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s1(
sql              1196 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s2(
sql              1243 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s3(
sql              1278 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s4(
sql              1339 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1346 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(
sql              1359 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1369 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(connection.GetUniqueStatement(
sql              1386 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1393 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(
sql              1410 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1420 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(connection.GetUniqueStatement(
sql              1442 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1449 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(
sql              1462 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1473 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s1(
sql              1496 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s2(
sql              1529 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1542 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1564 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1577 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1598 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1600 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1602 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1617 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1619 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1624 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1644 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1646 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1648 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1663 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1665 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1670 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1690 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1692 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1694 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1709 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1711 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1716 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1736 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1738 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1740 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1757 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1759 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1764 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1786 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1788 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1790 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1808 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1810 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1815 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1839 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1841 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1843 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1855 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1857 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1862 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1889 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1891 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1893 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1906 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1908 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1913 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1924 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s1(
sql              1937 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s2(
sql              1965 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1967 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1969 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              1982 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              1984 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              1989 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              2000 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s1(
sql              2006 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s2(
sql              2028 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2030 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2032 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              2042 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2044 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2061 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2063 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2065 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              2078 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2080 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2097 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2099 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2101 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              2118 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2120 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2125 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              2147 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2149 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2151 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              2163 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2165 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2184 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2196 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2198 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2220 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2222 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2224 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              2243 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2245 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2272 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2274 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2276 components/webdata/common/web_database_migration_unittest.cc     sql::MetaTable meta_table;
sql              2287 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2289 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2311 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2333 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2335 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2355 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s_profiles(
sql              2429 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s_phones(
sql              2465 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2473 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s_autofill(connection.GetUniqueStatement(
sql              2475 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s_dates(connection.GetUniqueStatement(
sql              2547 components/webdata/common/web_database_migration_unittest.cc     sql::Connection connection;
sql              2549 components/webdata/common/web_database_migration_unittest.cc     ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection));
sql              2562 components/webdata/common/web_database_migration_unittest.cc     sql::Statement s(
sql                28 components/webdata/common/web_database_service.cc   virtual void DBLoaded(sql::InitStatus status) OVERRIDE {
sql               136 components/webdata/common/web_database_service.cc void WebDatabaseService::OnDatabaseLoadDone(sql::InitStatus status) {
sql               137 components/webdata/common/web_database_service.cc   if (status == sql::INIT_OK) {
sql                57 components/webdata/common/web_database_service.h   typedef base::Callback<void(sql::InitStatus)> DBLoadErrorCallback;
sql               126 components/webdata/common/web_database_service.h   void OnDatabaseLoadDone(sql::InitStatus status);
sql                10 components/webdata/common/web_database_table.cc void WebDatabaseTable::Init(sql::Connection* db, sql::MetaTable* meta_table) {
sql                11 components/webdata/common/web_database_table.h namespace sql {
sql                33 components/webdata/common/web_database_table.h   void Init(sql::Connection* db, sql::MetaTable* meta_table);
sql                60 components/webdata/common/web_database_table.h   sql::Connection* db_;
sql                61 components/webdata/common/web_database_table.h   sql::MetaTable* meta_table_;
sql              1750 content/browser/appcache/appcache_storage_impl_unittest.cc       ASSERT_TRUE(sql::test::CorruptSizeInHeader(
sql               357 content/browser/dom_storage/dom_storage_context_impl.cc       sql::Connection::Delete(database_file_path);
sql                52 content/browser/dom_storage/dom_storage_database.cc     sql::Connection::Delete(file_path_);
sql                60 content/browser/dom_storage/dom_storage_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE,
sql                83 content/browser/dom_storage/dom_storage_database.cc   sql::Transaction transaction(db_.get());
sql                97 content/browser/dom_storage/dom_storage_database.cc     sql::Statement statement;
sql               119 content/browser/dom_storage/dom_storage_database.cc     sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE,
sql               151 content/browser/dom_storage/dom_storage_database.cc   db_.reset(new sql::Connection());
sql               219 content/browser/dom_storage/dom_storage_database.cc   sql::Statement statement(
sql               221 content/browser/dom_storage/dom_storage_database.cc   if (statement.DeclaredColumnType(0) != sql::COLUMN_TYPE_TEXT)
sql               225 content/browser/dom_storage/dom_storage_database.cc     case sql::COLUMN_TYPE_BLOB:
sql               227 content/browser/dom_storage/dom_storage_database.cc     case sql::COLUMN_TYPE_TEXT:
sql               255 content/browser/dom_storage/dom_storage_database.cc       sql::Connection::Delete(file_path_)) {
sql               267 content/browser/dom_storage/dom_storage_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE,
sql               281 content/browser/dom_storage/dom_storage_database.cc   sql::Transaction migration(db_.get());
sql               111 content/browser/dom_storage/dom_storage_database.h   scoped_ptr<sql::Connection> db_;
sql                21 content/browser/dom_storage/dom_storage_database_unittest.cc void CreateV1Table(sql::Connection* db) {
sql                30 content/browser/dom_storage/dom_storage_database_unittest.cc void CreateV2Table(sql::Connection* db) {
sql                39 content/browser/dom_storage/dom_storage_database_unittest.cc void CreateInvalidKeyColumnTable(sql::Connection* db) {
sql                49 content/browser/dom_storage/dom_storage_database_unittest.cc void CreateInvalidValueColumnTable(sql::Connection* db) {
sql                60 content/browser/dom_storage/dom_storage_database_unittest.cc void InsertDataV1(sql::Connection* db,
sql                63 content/browser/dom_storage/dom_storage_database_unittest.cc   sql::Statement statement(db->GetCachedStatement(SQL_FROM_HERE,
sql               201 content/browser/dom_storage/dom_storage_database_unittest.cc   db.db_.reset(new sql::Connection());
sql               228 content/browser/dom_storage/dom_storage_database_unittest.cc   db.db_.reset(new sql::Connection());
sql               276 content/browser/dom_storage/dom_storage_database_unittest.cc   db.db_.reset(new sql::Connection());
sql               352 content/browser/dom_storage/dom_storage_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               371 content/browser/dom_storage/dom_storage_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql                29 content/browser/dom_storage/local_storage_database_adapter.cc   sql::Connection::Delete(db_->file_path());
sql                25 content/browser/media/webrtc_identity_store_backend.cc static bool InitDB(sql::Connection* db) {
sql               159 content/browser/media/webrtc_identity_store_backend.cc   void OnDatabaseError(int error, sql::Statement* stmt);
sql               170 content/browser/media/webrtc_identity_store_backend.cc   scoped_ptr<sql::Connection> db_;
sql               377 content/browser/media/webrtc_identity_store_backend.cc   db_.reset(new sql::Connection());
sql               399 content/browser/media/webrtc_identity_store_backend.cc   sql::Statement stmt(db_->GetUniqueStatement(
sql               462 content/browser/media/webrtc_identity_store_backend.cc   sql::Statement del_stmt(db_->GetCachedStatement(
sql               471 content/browser/media/webrtc_identity_store_backend.cc   sql::Transaction transaction(db_.get());
sql               483 content/browser/media/webrtc_identity_store_backend.cc     sql::Statement* stmt) {
sql               485 content/browser/media/webrtc_identity_store_backend.cc   if (!sql::IsErrorCatastrophic(error))
sql               528 content/browser/media/webrtc_identity_store_backend.cc   sql::Statement add_stmt(db_->GetCachedStatement(
sql               537 content/browser/media/webrtc_identity_store_backend.cc   sql::Statement del_stmt(db_->GetCachedStatement(
sql               543 content/browser/media/webrtc_identity_store_backend.cc   sql::Transaction transaction(db_.get());
sql               208 content/browser/net/sqlite_persistent_cookie_store.cc   void DatabaseErrorCallback(int error, sql::Statement* stmt);
sql               217 content/browser/net/sqlite_persistent_cookie_store.cc   scoped_ptr<sql::Connection> db_;
sql               218 content/browser/net/sqlite_persistent_cookie_store.cc   sql::MetaTable meta_table_;
sql               374 content/browser/net/sqlite_persistent_cookie_store.cc bool InitTable(sql::Connection* db) {
sql               573 content/browser/net/sqlite_persistent_cookie_store.cc   db_.reset(new sql::Connection);
sql               608 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Statement smt(db_->GetUniqueStatement(
sql               695 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Statement smt;
sql               773 content/browser/net/sqlite_persistent_cookie_store.cc     sql::Transaction transaction(db_.get());
sql               796 content/browser/net/sqlite_persistent_cookie_store.cc     sql::Transaction transaction(db_.get());
sql               825 content/browser/net/sqlite_persistent_cookie_store.cc     sql::Transaction transaction(db_.get());
sql               846 content/browser/net/sqlite_persistent_cookie_store.cc     sql::Transaction transaction(db_.get());
sql               868 content/browser/net/sqlite_persistent_cookie_store.cc     sql::Transaction transaction(db_.get());
sql               892 content/browser/net/sqlite_persistent_cookie_store.cc     db_.reset(new sql::Connection);
sql               969 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Statement add_smt(db_->GetCachedStatement(SQL_FROM_HERE,
sql               977 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Statement update_access_smt(db_->GetCachedStatement(SQL_FROM_HERE,
sql               982 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Statement del_smt(db_->GetCachedStatement(SQL_FROM_HERE,
sql               987 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Transaction transaction(db_.get());
sql              1105 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Statement del_smt(db_->GetCachedStatement(
sql              1112 content/browser/net/sqlite_persistent_cookie_store.cc   sql::Transaction transaction(db_.get());
sql              1142 content/browser/net/sqlite_persistent_cookie_store.cc     sql::Statement* stmt) {
sql              1145 content/browser/net/sqlite_persistent_cookie_store.cc   if (!sql::IsErrorCatastrophic(error))
sql               214 content/browser/net/sqlite_persistent_cookie_store_unittest.cc     sql::Connection db;
sql               216 content/browser/net/sqlite_persistent_cookie_store_unittest.cc     sql::MetaTable meta_table_;
sql               584 content/browser/net/sqlite_persistent_cookie_store_unittest.cc   sql::Connection db;
sql               585 content/browser/net/sqlite_persistent_cookie_store_unittest.cc   sql::Statement smt;
sql               394 sql/connection.cc   sql::Connection null_db;
sql               406 sql/connection.cc     const std::string sql =
sql               408 sql/connection.cc     if (!null_db.Execute(sql.c_str()))
sql               653 sql/connection.cc int Connection::ExecuteAndReturnErrorCode(const char* sql) {
sql               659 sql/connection.cc   return sqlite3_exec(db_, sql, NULL, NULL, NULL);
sql               662 sql/connection.cc bool Connection::Execute(const char* sql) {
sql               668 sql/connection.cc   int error = ExecuteAndReturnErrorCode(sql);
sql               670 sql/connection.cc     error = OnSqliteError(error, NULL, sql);
sql               677 sql/connection.cc     DLOG(FATAL) << "SQL Error in " << sql << ", " << GetErrorMessage();
sql               681 sql/connection.cc bool Connection::ExecuteWithTimeout(const char* sql, base::TimeDelta timeout) {
sql               689 sql/connection.cc   return Execute(sql);
sql               698 sql/connection.cc     const char* sql) {
sql               710 sql/connection.cc   scoped_refptr<StatementRef> statement = GetUniqueStatement(sql);
sql               717 sql/connection.cc     const char* sql) {
sql               725 sql/connection.cc   int rc = sqlite3_prepare_v2(db_, sql, -1, &stmt, NULL);
sql               731 sql/connection.cc     OnSqliteError(rc, NULL, sql);
sql               738 sql/connection.cc     const char* sql) const {
sql               744 sql/connection.cc   int rc = sqlite3_prepare_v2(db_, sql, -1, &stmt, NULL);
sql               776 sql/connection.cc bool Connection::IsSQLValid(const char* sql) {
sql               784 sql/connection.cc   if (sqlite3_prepare_v2(db_, sql, -1, &stmt, NULL) != SQLITE_OK)
sql               811 sql/connection.cc   std::string sql("PRAGMA TABLE_INFO(");
sql               812 sql/connection.cc   sql.append(table_name);
sql               813 sql/connection.cc   sql.append(")");
sql               815 sql/connection.cc   Statement statement(GetUntrackedStatement(sql.c_str()));
sql               992 sql/connection.cc     const std::string sql =
sql               994 sql/connection.cc     ignore_result(ExecuteWithTimeout(sql.c_str(), kBusyTimeout));
sql               998 sql/connection.cc     const std::string sql =
sql              1000 sql/connection.cc     ignore_result(ExecuteWithTimeout(sql.c_str(), kBusyTimeout));
sql              1051 sql/connection.cc int Connection::OnSqliteError(int err, sql::Statement *stmt, const char* sql) {
sql              1056 sql/connection.cc   if (!sql && stmt)
sql              1057 sql/connection.cc     sql = stmt->GetSQLStatement();
sql              1058 sql/connection.cc   if (!sql)
sql              1059 sql/connection.cc     sql = "-- unknown";
sql              1063 sql/connection.cc              << ", sql: " << sql;
sql              1106 sql/connection.cc     sql::Statement stmt(GetUniqueStatement(pragma_sql));
sql                29 sql/connection.h namespace sql {
sql                78 sql/connection.h #define SQL_FROM_HERE sql::StatementID(__FILE__, __LINE__)
sql               314 sql/connection.h   bool Execute(const char* sql) WARN_UNUSED_RESULT;
sql               317 sql/connection.h   int ExecuteAndReturnErrorCode(const char* sql) WARN_UNUSED_RESULT;
sql               349 sql/connection.h                                                  const char* sql);
sql               353 sql/connection.h   bool IsSQLValid(const char* sql);
sql               360 sql/connection.h   scoped_refptr<StatementRef> GetUniqueStatement(const char* sql);
sql               532 sql/connection.h   int OnSqliteError(int err, Statement* stmt, const char* sql);
sql               535 sql/connection.h   bool ExecuteWithTimeout(const char* sql, base::TimeDelta ms_timeout)
sql               544 sql/connection.h   scoped_refptr<StatementRef> GetUntrackedStatement(const char* sql) const;
sql                23 sql/connection_unittest.cc int SqliteMasterCount(sql::Connection* db) {
sql                25 sql/connection_unittest.cc   sql::Statement s(db->GetUniqueStatement(kMasterCount));
sql                53 sql/connection_unittest.cc void IgnoreErrorCallback(int error, sql::Statement* stmt) {
sql                56 sql/connection_unittest.cc void ErrorCallbackSetHelper(sql::Connection* db,
sql                59 sql/connection_unittest.cc                             int error, sql::Statement* stmt) {
sql                66 sql/connection_unittest.cc void ErrorCallbackResetHelper(sql::Connection* db,
sql                69 sql/connection_unittest.cc                               int error, sql::Statement* stmt) {
sql               103 sql/connection_unittest.cc   sql::Connection& db() { return db_; }
sql               107 sql/connection_unittest.cc   void RazeErrorCallback(int expected_error, int error, sql::Statement* stmt) {
sql               113 sql/connection_unittest.cc   sql::Connection db_;
sql               140 sql/connection_unittest.cc   sql::StatementID id1("foo", 12);
sql               147 sql/connection_unittest.cc     sql::Statement s(db().GetCachedStatement(id1, "SELECT a FROM foo"));
sql               160 sql/connection_unittest.cc     sql::Statement s(db().GetCachedStatement(id1, "something invalid("));
sql               204 sql/connection_unittest.cc   sql::Statement s(db().GetUniqueStatement("SELECT value FROM foo WHERE id=?"));
sql               226 sql/connection_unittest.cc   sql::ScopedErrorIgnorer ignore_errors;
sql               239 sql/connection_unittest.cc     sql::ScopedErrorCallback sec(
sql               240 sql/connection_unittest.cc         &db(), base::Bind(&sql::CaptureErrorCallback, &error));
sql               248 sql/connection_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               266 sql/connection_unittest.cc     sql::ScopedErrorCallback sec(
sql               276 sql/connection_unittest.cc     sql::ScopedErrorCallback sec(
sql               293 sql/connection_unittest.cc     sql::Statement s(db().GetUniqueStatement("PRAGMA auto_vacuum"));
sql               303 sql/connection_unittest.cc     sql::Statement s(db().GetUniqueStatement("PRAGMA page_count"));
sql               309 sql/connection_unittest.cc     sql::Statement s(db().GetUniqueStatement("SELECT * FROM sqlite_master"));
sql               322 sql/connection_unittest.cc     sql::Statement s(db().GetUniqueStatement("PRAGMA page_count"));
sql               330 sql/connection_unittest.cc     sql::Statement s(db().GetUniqueStatement("PRAGMA auto_vacuum"));
sql               343 sql/connection_unittest.cc     sql::Statement s(db().GetUniqueStatement("PRAGMA page_size"));
sql               356 sql/connection_unittest.cc   sql::Statement s(db().GetUniqueStatement("PRAGMA page_size"));
sql               372 sql/connection_unittest.cc   sql::Connection other_db;
sql               391 sql/connection_unittest.cc   sql::Connection other_db;
sql               410 sql/connection_unittest.cc   sql::Statement s(other_db.GetUniqueStatement(kQuery));
sql               441 sql/connection_unittest.cc   sql::Connection::Delete(db_path());
sql               457 sql/connection_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               490 sql/connection_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               514 sql/connection_unittest.cc   ASSERT_TRUE(sql::test::CorruptSizeInHeader(db_path()));
sql               519 sql/connection_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               585 sql/connection_unittest.cc     sql::Statement s(db().GetUniqueStatement(kSimpleSql));
sql               589 sql/connection_unittest.cc     sql::Statement s(db().GetCachedStatement(SQL_FROM_HERE, kSimpleSql));
sql               607 sql/connection_unittest.cc     sql::Statement s(db().GetUniqueStatement(kSimpleSql));
sql               611 sql/connection_unittest.cc     sql::Statement s(db().GetCachedStatement(SQL_FROM_HERE, kSimpleSql));
sql               642 sql/connection_unittest.cc   sql::MetaTable meta_table;
sql               662 sql/connection_unittest.cc   sql::Connection::Delete(db_path());
sql               676 sql/connection_unittest.cc   sql::Connection::Delete(db_path());
sql               716 sql/connection_unittest.cc   sql::Connection::Delete(db_path());
sql               741 sql/connection_unittest.cc     sql::Statement s(db().GetUniqueStatement("SELECT COUNT(*) FROM x"));
sql               747 sql/connection_unittest.cc   sql::Statement valid_statement(
sql               759 sql/connection_unittest.cc     sql::Statement s(db().GetUniqueStatement("SELECT COUNT(*) FROM x"));
sql               778 sql/connection_unittest.cc     sql::Connection other_db;
sql               790 sql/connection_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               804 sql/connection_unittest.cc     sql::Statement s(db().GetUniqueStatement("SELECT COUNT(*) FROM foo"));
sql               812 sql/connection_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               832 sql/connection_unittest.cc   ASSERT_TRUE(sql::test::CorruptSizeInHeader(db_path()));
sql               835 sql/connection_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               854 sql/connection_unittest.cc   ASSERT_TRUE(sql::test::CorruptSizeInHeader(db_path()));
sql               857 sql/connection_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql                10 sql/error_delegate_util.h namespace sql {
sql                 8 sql/init_status.h namespace sql {
sql                62 sql/meta_table.cc bool MetaTable::DoesTableExist(sql::Connection* db) {
sql                73 sql/meta_table.cc     sql::Statement s(db->GetUniqueStatement(
sql                88 sql/meta_table.cc   sql::Statement s(db->GetUniqueStatement(
sql               125 sql/meta_table.cc   sql::Transaction transaction(db_);
sql                13 sql/meta_table.h namespace sql {
sql                26 sql/meta_table_unittest.cc   sql::Connection& db() { return db_; }
sql                30 sql/meta_table_unittest.cc   sql::Connection db_;
sql                34 sql/meta_table_unittest.cc   EXPECT_FALSE(sql::MetaTable::DoesTableExist(&db()));
sql                37 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql                41 sql/meta_table_unittest.cc   EXPECT_TRUE(sql::MetaTable::DoesTableExist(&db()));
sql                50 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql                57 sql/meta_table_unittest.cc   sql::MetaTable::RazeIfDeprecated(&db(), kDeprecatedVersion);
sql                66 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql                70 sql/meta_table_unittest.cc   sql::MetaTable::RazeIfDeprecated(&db(), kDeprecatedVersion);
sql                75 sql/meta_table_unittest.cc   sql::MetaTable::RazeIfDeprecated(&db(), kDeprecatedVersion);
sql                80 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql                86 sql/meta_table_unittest.cc   sql::MetaTable::RazeIfDeprecated(&db(), kDeprecatedVersion);
sql                87 sql/meta_table_unittest.cc   EXPECT_FALSE(sql::MetaTable::DoesTableExist(&db()));
sql               103 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql               111 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql               122 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql               136 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql               149 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql               161 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql               177 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql               190 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql               202 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql               218 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql               231 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql               243 sql/meta_table_unittest.cc     sql::MetaTable meta_table;
sql               256 sql/meta_table_unittest.cc   sql::MetaTable meta_table;
sql               521 sql/recovery.cc   sql::Statement recovery_version(db()->GetUniqueStatement(kVersionSql));
sql                16 sql/recovery.h namespace sql {
sql               112 sql/recovery.h   sql::Connection* db() { return &recover_db_; }
sql                25 sql/recovery_unittest.cc std::string ExecuteWithResults(sql::Connection* db,
sql                26 sql/recovery_unittest.cc                                const char* sql,
sql                29 sql/recovery_unittest.cc   sql::Statement s(db->GetUniqueStatement(sql));
sql                37 sql/recovery_unittest.cc       if (s.ColumnType(i) == sql::COLUMN_TYPE_NULL) {
sql                39 sql/recovery_unittest.cc       } else if (s.ColumnType(i) == sql::COLUMN_TYPE_BLOB) {
sql                55 sql/recovery_unittest.cc std::string GetSchema(sql::Connection* db) {
sql                74 sql/recovery_unittest.cc   sql::Connection& db() { return db_; }
sql                87 sql/recovery_unittest.cc   sql::Connection db_;
sql               100 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               115 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               117 sql/recovery_unittest.cc     sql::Recovery::Unrecoverable(recovery.Pass());
sql               133 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               144 sql/recovery_unittest.cc     ASSERT_TRUE(sql::Recovery::Recovered(recovery.Pass()));
sql               168 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               187 sql/recovery_unittest.cc     ASSERT_TRUE(sql::Recovery::Recovered(recovery.Pass()));
sql               200 sql/recovery_unittest.cc void RecoveryCallback(sql::Connection* db, const base::FilePath& db_path,
sql               201 sql/recovery_unittest.cc                       int* record_error, int error, sql::Statement* stmt) {
sql               207 sql/recovery_unittest.cc   scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(db, db_path);
sql               228 sql/recovery_unittest.cc   ASSERT_TRUE(sql::Recovery::Recovered(recovery.Pass()));
sql               244 sql/recovery_unittest.cc     sql::Statement s(db().GetUniqueStatement(kInsertSql));
sql               260 sql/recovery_unittest.cc   ASSERT_TRUE(sql::test::CorruptTableOrIndex(db_path(), "x_id", kDeleteSql));
sql               304 sql/recovery_unittest.cc     sql::Statement s(db().GetUniqueStatement(kInsertSql));
sql               319 sql/recovery_unittest.cc   ASSERT_TRUE(sql::test::CorruptTableOrIndex(db_path(), "x", kDeleteSql));
sql               371 sql/recovery_unittest.cc     sql::MetaTable meta;
sql               378 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               384 sql/recovery_unittest.cc     sql::Recovery::Rollback(recovery.Pass());
sql               391 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               397 sql/recovery_unittest.cc     sql::Recovery::Rollback(recovery.Pass());
sql               404 sql/recovery_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               406 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               431 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               447 sql/recovery_unittest.cc     ASSERT_TRUE(sql::Recovery::Recovered(recovery.Pass()));
sql               458 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               465 sql/recovery_unittest.cc     sql::Recovery::Unrecoverable(recovery.Pass());
sql               515 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               523 sql/recovery_unittest.cc     ASSERT_TRUE(sql::Recovery::Recovered(recovery.Pass()));
sql               552 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               559 sql/recovery_unittest.cc     ASSERT_TRUE(sql::Recovery::Recovered(recovery.Pass()));
sql               591 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               598 sql/recovery_unittest.cc     ASSERT_TRUE(sql::Recovery::Recovered(recovery.Pass()));
sql               636 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               643 sql/recovery_unittest.cc     ASSERT_TRUE(sql::Recovery::Recovered(recovery.Pass()));
sql               672 sql/recovery_unittest.cc     scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
sql               677 sql/recovery_unittest.cc     ASSERT_TRUE(sql::Recovery::Recovered(recovery.Pass()));
sql                20 sql/sqlite_features_unittest.cc                           int error, sql::Statement* stmt) {
sql                47 sql/sqlite_features_unittest.cc   sql::Connection& db() { return db_; }
sql                51 sql/sqlite_features_unittest.cc   sql::Connection db_;
sql                17 sql/statement.h namespace sql {
sql                30 sql/statement_unittest.cc   sql::Connection& db() { return db_; }
sql                34 sql/statement_unittest.cc   sql::Connection db_;
sql                40 sql/statement_unittest.cc   sql::Statement s;
sql                51 sql/statement_unittest.cc   sql::Statement s(db().GetUniqueStatement("SELECT b FROM foo WHERE a=?"));
sql                83 sql/statement_unittest.cc   sql::ScopedErrorCallback sec(
sql                84 sql/statement_unittest.cc       &db(), base::Bind(&sql::CaptureErrorCallback, &error));
sql                89 sql/statement_unittest.cc   sql::Statement s(db().GetUniqueStatement("INSERT INTO foo (a) VALUES (?)"));
sql               100 sql/statement_unittest.cc   sql::Statement s(db().GetUniqueStatement("INSERT INTO foo (a) VALUES (?)"));
sql               103 sql/statement_unittest.cc   sql::ScopedErrorIgnorer ignore_errors;
sql               115 sql/statement_unittest.cc   sql::Statement s(db().GetUniqueStatement(
sql                11 sql/test/error_callback_support.cc void CaptureErrorCallback(int* error_pointer, int error, sql::Statement* stmt) {
sql                16 sql/test/error_callback_support.cc     sql::Connection* db,
sql                17 sql/test/error_callback_support.cc     const sql::Connection::ErrorCallback& cb)
sql                10 sql/test/error_callback_support.h namespace sql {
sql                18 sql/test/error_callback_support.h void CaptureErrorCallback(int* error_pointer, int error, sql::Statement* stmt);
sql                24 sql/test/error_callback_support.h   ScopedErrorCallback(sql::Connection* db,
sql                25 sql/test/error_callback_support.h                       const sql::Connection::ErrorCallback& cb);
sql                29 sql/test/error_callback_support.h   sql::Connection* db_;
sql                13 sql/test/scoped_error_ignorer.h namespace sql {
sql                17 sql/test/test_helpers.cc size_t CountSQLItemsOfType(sql::Connection* db, const char* type) {
sql                19 sql/test/test_helpers.cc   sql::Statement s(db->GetUniqueStatement(kTypeSQL));
sql                26 sql/test/test_helpers.cc bool GetPageSize(sql::Connection* db, int* page_size) {
sql                27 sql/test/test_helpers.cc   sql::Statement s(db->GetUniqueStatement("PRAGMA page_size"));
sql                35 sql/test/test_helpers.cc bool GetRootPage(sql::Connection* db, const char* name, int* page_number) {
sql                37 sql/test/test_helpers.cc   sql::Statement s(db->GetUniqueStatement(kPageSql));
sql               115 sql/test/test_helpers.cc   sql::Connection db;
sql               176 sql/test/test_helpers.cc size_t CountSQLTables(sql::Connection* db) {
sql               180 sql/test/test_helpers.cc size_t CountSQLIndices(sql::Connection* db) {
sql               184 sql/test/test_helpers.cc size_t CountTableColumns(sql::Connection* db, const char* table) {
sql               189 sql/test/test_helpers.cc     sql::Statement s(db->GetUniqueStatement(kQuoteSQL));
sql               195 sql/test/test_helpers.cc   std::string sql = "PRAGMA table_info(" + quoted_table + ")";
sql               196 sql/test/test_helpers.cc   sql::Statement s(db->GetUniqueStatement(sql.c_str()));
sql               205 sql/test/test_helpers.cc bool CountTableRows(sql::Connection* db, const char* table, size_t* count) {
sql               209 sql/test/test_helpers.cc   std::string sql = "SELECT COUNT(*) FROM ";
sql               210 sql/test/test_helpers.cc   sql += table;
sql               211 sql/test/test_helpers.cc   sql::Statement s(db->GetUniqueStatement(sql.c_str()));
sql               224 sql/test/test_helpers.cc   std::string sql;
sql               225 sql/test/test_helpers.cc   if (!base::ReadFileToString(sql_path, &sql))
sql               228 sql/test/test_helpers.cc   sql::Connection db;
sql               238 sql/test/test_helpers.cc   return db.Execute(sql.c_str());
sql               241 sql/test/test_helpers.cc std::string IntegrityCheck(sql::Connection* db) {
sql               242 sql/test/test_helpers.cc   sql::Statement statement(db->GetUniqueStatement("PRAGMA integrity_check"));
sql                20 sql/test/test_helpers.h namespace sql {
sql                24 sql/test/test_helpers.h namespace sql {
sql                58 sql/test/test_helpers.h size_t CountSQLTables(sql::Connection* db) WARN_UNUSED_RESULT;
sql                61 sql/test/test_helpers.h size_t CountSQLIndices(sql::Connection* db) WARN_UNUSED_RESULT;
sql                65 sql/test/test_helpers.h size_t CountTableColumns(sql::Connection* db, const char* table)
sql                70 sql/test/test_helpers.h bool CountTableRows(sql::Connection* db, const char* table, size_t* count);
sql                82 sql/test/test_helpers.h std::string IntegrityCheck(sql::Connection* db) WARN_UNUSED_RESULT;
sql                11 sql/transaction.h namespace sql {
sql                27 sql/transaction_unittest.cc   sql::Connection& db() { return db_; }
sql                31 sql/transaction_unittest.cc     sql::Statement count(db().GetUniqueStatement("SELECT count(*) FROM foo"));
sql                38 sql/transaction_unittest.cc   sql::Connection db_;
sql                43 sql/transaction_unittest.cc     sql::Transaction t(&db());
sql                61 sql/transaction_unittest.cc     sql::Transaction t(&db());
sql                73 sql/transaction_unittest.cc   sql::Transaction t2(&db());
sql                91 sql/transaction_unittest.cc     sql::Transaction outer(&db());
sql                97 sql/transaction_unittest.cc       sql::Transaction inner1(&db());
sql               111 sql/transaction_unittest.cc       sql::Transaction inner2(&db());
sql               124 sql/transaction_unittest.cc       sql::Transaction inner3(&db());
sql                43 sync/syncable/directory_backing_store.cc                 sql::Statement* statement) {
sql                78 sync/syncable/directory_backing_store.cc scoped_ptr<EntryKernel> UnpackEntry(sql::Statement* statement) {
sql               155 sync/syncable/directory_backing_store.cc   : db_(new sql::Connection()),
sql               164 sync/syncable/directory_backing_store.cc                                              sql::Connection* db)
sql               178 sync/syncable/directory_backing_store.cc   sql::Statement statement;
sql               216 sync/syncable/directory_backing_store.cc   sql::Transaction transaction(db_.get());
sql               244 sync/syncable/directory_backing_store.cc     sql::Statement s1(db_->GetCachedStatement(
sql               258 sync/syncable/directory_backing_store.cc     sql::Statement s2(db_->GetCachedStatement(
sql               292 sync/syncable/directory_backing_store.cc   sql::Transaction transaction(db_.get());
sql               448 sync/syncable/directory_backing_store.cc   sql::Statement s(db_->GetUniqueStatement(
sql               524 sync/syncable/directory_backing_store.cc   sql::Statement s(db_->GetUniqueStatement(select.c_str()));
sql               546 sync/syncable/directory_backing_store.cc   sql::Statement s(db_->GetUniqueStatement(select.c_str()));
sql               560 sync/syncable/directory_backing_store.cc     sql::Statement s(
sql               578 sync/syncable/directory_backing_store.cc     sql::Statement s(
sql               598 sync/syncable/directory_backing_store.cc     sql::Statement s(
sql               614 sync/syncable/directory_backing_store.cc bool DirectoryBackingStore::SaveEntryToDB(sql::Statement* save_statement,
sql               682 sync/syncable/directory_backing_store.cc     void (*handler_function)(sql::Statement* old_value_query,
sql               690 sync/syncable/directory_backing_store.cc   sql::Statement query(db_->GetUniqueStatement(query_sql.c_str()));
sql               691 sync/syncable/directory_backing_store.cc   sql::Statement update(db_->GetUniqueStatement(update_sql.c_str()));
sql               712 sync/syncable/directory_backing_store.cc   sql::Statement s(db_->GetCachedStatement(
sql               723 sync/syncable/directory_backing_store.cc   sql::Statement statement(db_->GetUniqueStatement(
sql               765 sync/syncable/directory_backing_store.cc void EncodeBookmarkURLAndFavicon(sql::Statement* old_value_query,
sql               846 sync/syncable/directory_backing_store.cc     sql::Statement fetch(db_->GetUniqueStatement(
sql               858 sync/syncable/directory_backing_store.cc     sql::Statement update(db_->GetUniqueStatement(
sql               963 sync/syncable/directory_backing_store.cc   sql::Statement query(db_->GetUniqueStatement(
sql               967 sync/syncable/directory_backing_store.cc   sql::Statement update(db_->GetUniqueStatement(
sql              1032 sync/syncable/directory_backing_store.cc   sql::Statement update_timestamps(db_->GetUniqueStatement(
sql              1071 sync/syncable/directory_backing_store.cc   sql::Statement update(db_->GetUniqueStatement(
sql              1086 sync/syncable/directory_backing_store.cc   sql::Statement get_positions(db_->GetUniqueStatement(
sql              1089 sync/syncable/directory_backing_store.cc   sql::Statement put_ordinals(db_->GetUniqueStatement(
sql              1115 sync/syncable/directory_backing_store.cc   sql::Statement update(db_->GetUniqueStatement(
sql              1128 sync/syncable/directory_backing_store.cc   sql::Statement update(db_->GetUniqueStatement(
sql              1183 sync/syncable/directory_backing_store.cc   sql::Statement get_cache_guid(db_->GetUniqueStatement(
sql              1192 sync/syncable/directory_backing_store.cc   sql::Statement get(db_->GetUniqueStatement(
sql              1206 sync/syncable/directory_backing_store.cc   sql::Statement put(db_->GetCachedStatement(
sql              1320 sync/syncable/directory_backing_store.cc     sql::Statement s(db_->GetUniqueStatement(
sql              1335 sync/syncable/directory_backing_store.cc     sql::Statement s(db_->GetUniqueStatement(
sql              1372 sync/syncable/directory_backing_store.cc     sql::Statement s(db_->GetUniqueStatement(
sql              1523 sync/syncable/directory_backing_store.cc     EntryTable table, sql::Statement* save_statement) {
sql                74 sync/syncable/directory_backing_store.h                         sql::Connection* connection);
sql               105 sync/syncable/directory_backing_store.h   static bool SaveEntryToDB(sql::Statement* save_statement,
sql               150 sync/syncable/directory_backing_store.h                               sql::Statement* old_value_query,
sql               177 sync/syncable/directory_backing_store.h   scoped_ptr<sql::Connection> db_;
sql               178 sync/syncable/directory_backing_store.h   sql::Statement save_meta_statment_;
sql               179 sync/syncable/directory_backing_store.h   sql::Statement save_delete_journal_statment_;
sql               189 sync/syncable/directory_backing_store.h                                  sql::Statement* save_statement);
sql                57 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion67Database(sql::Connection* connection);
sql                58 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion68Database(sql::Connection* connection);
sql                59 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion69Database(sql::Connection* connection);
sql                60 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion70Database(sql::Connection* connection);
sql                61 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion71Database(sql::Connection* connection);
sql                62 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion72Database(sql::Connection* connection);
sql                63 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion73Database(sql::Connection* connection);
sql                64 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion74Database(sql::Connection* connection);
sql                65 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion75Database(sql::Connection* connection);
sql                66 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion76Database(sql::Connection* connection);
sql                67 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion77Database(sql::Connection* connection);
sql                68 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion78Database(sql::Connection* connection);
sql                69 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion79Database(sql::Connection* connection);
sql                70 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion80Database(sql::Connection* connection);
sql                71 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion81Database(sql::Connection* connection);
sql                72 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion82Database(sql::Connection* connection);
sql                73 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion83Database(sql::Connection* connection);
sql                74 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion84Database(sql::Connection* connection);
sql                75 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion85Database(sql::Connection* connection);
sql                76 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion86Database(sql::Connection* connection);
sql                77 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion87Database(sql::Connection* connection);
sql                78 sync/syncable/directory_backing_store_unittest.cc   void SetUpVersion88Database(sql::Connection* connection);
sql                80 sync/syncable/directory_backing_store_unittest.cc   void SetUpCurrentDatabaseAndCheckVersion(sql::Connection* connection) {
sql               314 sync/syncable/directory_backing_store_unittest.cc std::map<int64, int64> GetMetaProtoTimes(sql::Connection *db) {
sql               315 sync/syncable/directory_backing_store_unittest.cc   sql::Statement s(db->GetCachedStatement(
sql               386 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion67Database(sql::Connection* connection) {
sql               507 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion68Database(sql::Connection* connection) {
sql               616 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion69Database(sql::Connection* connection) {
sql               737 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion70Database(sql::Connection* connection) {
sql               845 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion71Database(sql::Connection* connection) {
sql               950 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion72Database(sql::Connection* connection) {
sql              1053 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion73Database(sql::Connection* connection) {
sql              1157 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion74Database(sql::Connection* connection) {
sql              1259 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion75Database(sql::Connection* connection) {
sql              1365 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion76Database(sql::Connection* connection) {
sql              1462 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion77Database(sql::Connection* connection) {
sql              1553 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion78Database(sql::Connection* connection) {
sql              1648 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion79Database(sql::Connection* connection) {
sql              1743 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion80Database(sql::Connection* connection) {
sql              1869 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion81Database(sql::Connection* connection) {
sql              1965 sync/syncable/directory_backing_store_unittest.cc     sql::Statement s(connection->GetUniqueStatement(insert_stmts[i]));
sql              1974 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion82Database(sql::Connection* connection) {
sql              2071 sync/syncable/directory_backing_store_unittest.cc     sql::Statement s(connection->GetUniqueStatement(insert_stmts[i]));
sql              2080 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion83Database(sql::Connection* connection) {
sql              2179 sync/syncable/directory_backing_store_unittest.cc     sql::Statement s(connection->GetUniqueStatement(insert_stmts[i]));
sql              2188 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion84Database(sql::Connection* connection) {
sql              2302 sync/syncable/directory_backing_store_unittest.cc     sql::Statement s(connection->GetUniqueStatement(insert_stmts[i]));
sql              2311 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion85Database(sql::Connection* connection) {
sql              2424 sync/syncable/directory_backing_store_unittest.cc     sql::Statement s(connection->GetUniqueStatement(insert_stmts[i]));
sql              2433 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion86Database(sql::Connection* connection) {
sql              2539 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion87Database(sql::Connection* connection) {
sql              2654 sync/syncable/directory_backing_store_unittest.cc void MigrationTest::SetUpVersion88Database(sql::Connection* connection) {
sql              2770 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              2790 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              2806 sync/syncable/directory_backing_store_unittest.cc   sql::Statement s(connection.GetUniqueStatement("SELECT non_unique_name,"
sql              2827 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              2847 sync/syncable/directory_backing_store_unittest.cc   sql::Statement s(connection.GetUniqueStatement("SELECT id"
sql              2854 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              2879 sync/syncable/directory_backing_store_unittest.cc   sql::Statement s(connection.GetUniqueStatement("SELECT model_id, "
sql              2892 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              2912 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              2932 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              2978 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3000 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3026 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3050 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3072 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3077 sync/syncable/directory_backing_store_unittest.cc   sql::Statement s(connection.GetUniqueStatement(
sql              3101 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3127 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3131 sync/syncable/directory_backing_store_unittest.cc   sql::Statement s(connection.GetUniqueStatement(
sql              3135 sync/syncable/directory_backing_store_unittest.cc   ASSERT_EQ(sql::COLUMN_TYPE_INTEGER, s.ColumnType(1));
sql              3143 sync/syncable/directory_backing_store_unittest.cc   sql::Statement new_s(connection.GetUniqueStatement(
sql              3147 sync/syncable/directory_backing_store_unittest.cc   ASSERT_EQ(sql::COLUMN_TYPE_BLOB, new_s.ColumnType(1));
sql              3156 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3172 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3186 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3200 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3213 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3234 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3248 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3278 sync/syncable/directory_backing_store_unittest.cc     sql::Connection connection;
sql              3293 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3302 sync/syncable/directory_backing_store_unittest.cc   sql::Statement s(connection.GetUniqueStatement(
sql              3319 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql              3734 sync/syncable/directory_backing_store_unittest.cc     sql::Connection connection;
sql              3751 sync/syncable/directory_backing_store_unittest.cc   sql::Connection connection;
sql                83 sync/syncable/on_disk_directory_backing_store.cc   db_.reset(new sql::Connection);
sql                23 sync/syncable/syncable_id.h namespace sql {
sql               116 sync/syncable/syncable_id.h   friend scoped_ptr<EntryKernel> UnpackEntry(sql::Statement* statement);
sql               118 sync/syncable/syncable_id.h                          sql::Statement* statement);
sql                14 sync/test/test_directory_backing_store.cc     const std::string& dir_name, sql::Connection* db)
sql                26 sync/test/test_directory_backing_store.h                             sql::Connection* connection);
sql               905 third_party/sqlite/amalgamation/sqlite3.c   const char *sql,                           /* SQL to be evaluated */
sql              2263 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API int sqlite3_complete(const char *sql);
sql              2264 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API int sqlite3_complete16(const void *sql);
sql              86558 third_party/sqlite/amalgamation/sqlite3.c   int  (*complete)(const char*sql);
sql              86559 third_party/sqlite/amalgamation/sqlite3.c   int  (*complete16)(const void*sql);
sql              86674 third_party/sqlite/amalgamation/sqlite3.c   const char *(*sql)(sqlite3_stmt*);
sql              86874 third_party/sqlite/amalgamation/sqlite3.c #define sqlite3_sql                    sqlite3_api->sql
sql               362 third_party/sqlite/amalgamation/sqlite3.h   const char *sql,                           /* SQL to be evaluated */
sql              1720 third_party/sqlite/amalgamation/sqlite3.h SQLITE_API int sqlite3_complete(const char *sql);
sql              1721 third_party/sqlite/amalgamation/sqlite3.h SQLITE_API int sqlite3_complete16(const void *sql);
sql                76 third_party/sqlite/src/src/sqlite3ext.h   int  (*complete)(const char*sql);
sql                77 third_party/sqlite/src/src/sqlite3ext.h   int  (*complete16)(const void*sql);
sql               192 third_party/sqlite/src/src/sqlite3ext.h   const char *(*sql)(sqlite3_stmt*);
sql               392 third_party/sqlite/src/src/sqlite3ext.h #define sqlite3_sql                    sqlite3_api->sql
sql               159 webkit/browser/appcache/appcache_database.cc bool CreateTable(sql::Connection* db, const TableInfo& info) {
sql               160 webkit/browser/appcache/appcache_database.cc   std::string sql("CREATE TABLE ");
sql               161 webkit/browser/appcache/appcache_database.cc   sql += info.table_name;
sql               162 webkit/browser/appcache/appcache_database.cc   sql += info.columns;
sql               163 webkit/browser/appcache/appcache_database.cc   return db->Execute(sql.c_str());
sql               166 webkit/browser/appcache/appcache_database.cc bool CreateIndex(sql::Connection* db, const IndexInfo& info) {
sql               167 webkit/browser/appcache/appcache_database.cc   std::string sql;
sql               169 webkit/browser/appcache/appcache_database.cc     sql += "CREATE UNIQUE INDEX ";
sql               171 webkit/browser/appcache/appcache_database.cc     sql += "CREATE INDEX ";
sql               172 webkit/browser/appcache/appcache_database.cc   sql += info.index_name;
sql               173 webkit/browser/appcache/appcache_database.cc   sql += " ON ";
sql               174 webkit/browser/appcache/appcache_database.cc   sql += info.table_name;
sql               175 webkit/browser/appcache/appcache_database.cc   sql += info.columns;
sql               176 webkit/browser/appcache/appcache_database.cc   return db->Execute(sql.c_str());
sql               253 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetUniqueStatement(kSql));
sql               317 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               339 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               361 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               384 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               402 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               418 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               435 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               450 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               469 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               505 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               522 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               538 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               560 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               582 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               603 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               617 webkit/browser/appcache/appcache_database.cc   sql::Transaction transaction(db_.get());
sql               636 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               650 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               671 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               692 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               719 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               733 webkit/browser/appcache/appcache_database.cc   sql::Transaction transaction(db_.get());
sql               752 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               768 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               788 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               800 webkit/browser/appcache/appcache_database.cc   sql::Transaction transaction(db_.get());
sql               819 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               835 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               859 webkit/browser/appcache/appcache_database.cc     const sql::StatementID& statement_id, const char* sql,
sql               861 webkit/browser/appcache/appcache_database.cc   DCHECK(sql);
sql               865 webkit/browser/appcache/appcache_database.cc   sql::Transaction transaction(db_.get());
sql               869 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(statement_id, sql));
sql               884 webkit/browser/appcache/appcache_database.cc     const char* sql, int64* result) {
sql               885 webkit/browser/appcache/appcache_database.cc   DCHECK(sql);
sql               886 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetUniqueStatement(sql));
sql               905 webkit/browser/appcache/appcache_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               920 webkit/browser/appcache/appcache_database.cc     const sql::Statement& statement, GroupRecord* record) {
sql               931 webkit/browser/appcache/appcache_database.cc     const sql::Statement& statement, CacheRecord* record) {
sql               941 webkit/browser/appcache/appcache_database.cc     const sql::Statement& statement, EntryRecord* record) {
sql               950 webkit/browser/appcache/appcache_database.cc       sql::Statement* statement,
sql               963 webkit/browser/appcache/appcache_database.cc     const sql::Statement* statement, NamespaceRecord* record) {
sql               982 webkit/browser/appcache/appcache_database.cc     const sql::Statement& statement, OnlineWhiteListRecord* record) {
sql              1004 webkit/browser/appcache/appcache_database.cc   db_.reset(new sql::Connection);
sql              1005 webkit/browser/appcache/appcache_database.cc   meta_table_.reset(new sql::MetaTable);
sql              1044 webkit/browser/appcache/appcache_database.cc   if (!sql::MetaTable::DoesTableExist(db_.get()))
sql              1064 webkit/browser/appcache/appcache_database.cc   DCHECK(sql::MetaTable::DoesTableExist(db_.get()));
sql              1077 webkit/browser/appcache/appcache_database.cc   sql::Transaction transaction(db_.get());
sql              1124 webkit/browser/appcache/appcache_database.cc     sql::Transaction transaction(db_.get());
sql              1161 webkit/browser/appcache/appcache_database.cc     sql::Transaction transaction(db_.get());
sql              1217 webkit/browser/appcache/appcache_database.cc void AppCacheDatabase::OnDatabaseError(int err, sql::Statement* stmt) {
sql              1218 webkit/browser/appcache/appcache_database.cc   was_corruption_detected_ |= sql::IsErrorCatastrophic(err);
sql                21 webkit/browser/appcache/appcache_database.h namespace sql {
sql               165 webkit/browser/appcache/appcache_database.h   sql::Connection* db_connection() {
sql               172 webkit/browser/appcache/appcache_database.h       const sql::StatementID& statement_id, const char* sql,
sql               174 webkit/browser/appcache/appcache_database.h   bool RunUniqueStatementWithInt64Result(const char* sql, int64* result);
sql               181 webkit/browser/appcache/appcache_database.h   void ReadGroupRecord(const sql::Statement& statement, GroupRecord* record);
sql               182 webkit/browser/appcache/appcache_database.h   void ReadCacheRecord(const sql::Statement& statement, CacheRecord* record);
sql               183 webkit/browser/appcache/appcache_database.h   void ReadEntryRecord(const sql::Statement& statement, EntryRecord* record);
sql               185 webkit/browser/appcache/appcache_database.h       sql::Statement* statement,
sql               189 webkit/browser/appcache/appcache_database.h       const sql::Statement* statement, NamespaceRecord* record);
sql               191 webkit/browser/appcache/appcache_database.h       const sql::Statement& statement, OnlineWhiteListRecord* record);
sql               206 webkit/browser/appcache/appcache_database.h   void OnDatabaseError(int err, sql::Statement* stmt);
sql               209 webkit/browser/appcache/appcache_database.h   scoped_ptr<sql::Connection> db_;
sql               210 webkit/browser/appcache/appcache_database.h   scoped_ptr<sql::MetaTable> meta_table_;
sql               104 webkit/browser/appcache/appcache_database_unittest.cc   ASSERT_TRUE(sql::test::CorruptSizeInHeader(kDbFile));
sql               108 webkit/browser/appcache/appcache_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               132 webkit/browser/appcache/appcache_database_unittest.cc   ASSERT_TRUE(sql::test::CorruptSizeInHeader(kDbFile));
sql               136 webkit/browser/appcache/appcache_database_unittest.cc     sql::ScopedErrorIgnorer ignore_errors;
sql               185 webkit/browser/appcache/appcache_database_unittest.cc   sql::ScopedErrorIgnorer ignore_errors;
sql               266 webkit/browser/appcache/appcache_database_unittest.cc   sql::ScopedErrorIgnorer ignore_errors;
sql               312 webkit/browser/appcache/appcache_database_unittest.cc   sql::ScopedErrorIgnorer ignore_errors;
sql               443 webkit/browser/appcache/appcache_database_unittest.cc   sql::ScopedErrorIgnorer ignore_errors;
sql               606 webkit/browser/appcache/appcache_database_unittest.cc   sql::ScopedErrorIgnorer ignore_errors;
sql               873 webkit/browser/appcache/appcache_database_unittest.cc     sql::Connection connection;
sql               876 webkit/browser/appcache/appcache_database_unittest.cc     sql::Transaction transaction(&connection);
sql               879 webkit/browser/appcache/appcache_database_unittest.cc     sql::MetaTable meta_table;
sql               883 webkit/browser/appcache/appcache_database_unittest.cc       std::string sql("CREATE TABLE ");
sql               884 webkit/browser/appcache/appcache_database_unittest.cc       sql += kTables3[i].table_name;
sql               885 webkit/browser/appcache/appcache_database_unittest.cc       sql += kTables3[i].columns;
sql               886 webkit/browser/appcache/appcache_database_unittest.cc       EXPECT_TRUE(connection.Execute(sql.c_str()));
sql               890 webkit/browser/appcache/appcache_database_unittest.cc       std::string sql;
sql               892 webkit/browser/appcache/appcache_database_unittest.cc         sql += "CREATE UNIQUE INDEX ";
sql               894 webkit/browser/appcache/appcache_database_unittest.cc         sql += "CREATE INDEX ";
sql               895 webkit/browser/appcache/appcache_database_unittest.cc       sql += kIndexes3[i].index_name;
sql               896 webkit/browser/appcache/appcache_database_unittest.cc       sql += " ON ";
sql               897 webkit/browser/appcache/appcache_database_unittest.cc       sql += kIndexes3[i].table_name;
sql               898 webkit/browser/appcache/appcache_database_unittest.cc       sql += kIndexes3[i].columns;
sql               899 webkit/browser/appcache/appcache_database_unittest.cc       EXPECT_TRUE(connection.Execute(sql.c_str()));
sql               907 webkit/browser/appcache/appcache_database_unittest.cc     sql::Statement statement;
sql              1103 webkit/browser/appcache/appcache_database_unittest.cc     sql::Connection connection;
sql              1106 webkit/browser/appcache/appcache_database_unittest.cc     sql::Transaction transaction(&connection);
sql              1109 webkit/browser/appcache/appcache_database_unittest.cc     sql::MetaTable meta_table;
sql              1113 webkit/browser/appcache/appcache_database_unittest.cc       std::string sql("CREATE TABLE ");
sql              1114 webkit/browser/appcache/appcache_database_unittest.cc       sql += kTables4[i].table_name;
sql              1115 webkit/browser/appcache/appcache_database_unittest.cc       sql += kTables4[i].columns;
sql              1116 webkit/browser/appcache/appcache_database_unittest.cc       EXPECT_TRUE(connection.Execute(sql.c_str()));
sql              1120 webkit/browser/appcache/appcache_database_unittest.cc       std::string sql;
sql              1122 webkit/browser/appcache/appcache_database_unittest.cc         sql += "CREATE UNIQUE INDEX ";
sql              1124 webkit/browser/appcache/appcache_database_unittest.cc         sql += "CREATE INDEX ";
sql              1125 webkit/browser/appcache/appcache_database_unittest.cc       sql += kIndexes4[i].index_name;
sql              1126 webkit/browser/appcache/appcache_database_unittest.cc       sql += " ON ";
sql              1127 webkit/browser/appcache/appcache_database_unittest.cc       sql += kIndexes4[i].table_name;
sql              1128 webkit/browser/appcache/appcache_database_unittest.cc       sql += kIndexes4[i].columns;
sql              1129 webkit/browser/appcache/appcache_database_unittest.cc       EXPECT_TRUE(connection.Execute(sql.c_str()));
sql              1136 webkit/browser/appcache/appcache_database_unittest.cc     sql::Statement statement;
sql                96 webkit/browser/appcache/appcache_storage_impl.cc   sql::Connection* connection = database->db_connection();
sql               114 webkit/browser/appcache/appcache_storage_impl.cc       sql::Transaction transaction(connection);
sql               667 webkit/browser/appcache/appcache_storage_impl.cc   sql::Connection* connection = database_->db_connection();
sql               671 webkit/browser/appcache/appcache_storage_impl.cc   sql::Transaction transaction(connection);
sql              1161 webkit/browser/appcache/appcache_storage_impl.cc   sql::Connection* connection = database_->db_connection();
sql              1165 webkit/browser/appcache/appcache_storage_impl.cc   sql::Transaction transaction(connection);
sql                96 webkit/browser/database/database_tracker.cc       db_(new sql::Connection()),
sql               359 webkit/browser/database/database_tracker.cc   if (!sql::Connection::Delete(db_file))
sql               471 webkit/browser/database/database_tracker.cc          !sql::MetaTable::DoesTableExist(db_.get()))) {
sql               480 webkit/browser/database/database_tracker.cc     meta_table_.reset(new sql::MetaTable());
sql               498 webkit/browser/database/database_tracker.cc   sql::Transaction transaction(db_.get());
sql                29 webkit/browser/database/database_tracker.h namespace sql {
sql               276 webkit/browser/database/database_tracker.h   scoped_ptr<sql::Connection> db_;
sql               278 webkit/browser/database/database_tracker.h   scoped_ptr<sql::MetaTable> meta_table_;
sql                42 webkit/browser/database/databases_table.cc   sql::Statement select_statement(db_->GetCachedStatement(
sql                58 webkit/browser/database/databases_table.cc   sql::Statement select_statement(db_->GetCachedStatement(
sql                76 webkit/browser/database/databases_table.cc   sql::Statement insert_statement(db_->GetCachedStatement(
sql                88 webkit/browser/database/databases_table.cc   sql::Statement update_statement(db_->GetCachedStatement(
sql               102 webkit/browser/database/databases_table.cc   sql::Statement delete_statement(db_->GetCachedStatement(
sql               112 webkit/browser/database/databases_table.cc   sql::Statement statement(db_->GetCachedStatement(
sql               124 webkit/browser/database/databases_table.cc   sql::Statement statement(db_->GetCachedStatement(
sql               143 webkit/browser/database/databases_table.cc   sql::Statement delete_statement(db_->GetCachedStatement(
sql                13 webkit/browser/database/databases_table.h namespace sql {
sql                31 webkit/browser/database/databases_table.h   explicit DatabasesTable(sql::Connection* db) : db_(db) { }
sql                49 webkit/browser/database/databases_table.h   sql::Connection* db_;
sql                27 webkit/browser/database/databases_table_unittest.cc static bool DatabasesTableIsEmpty(sql::Connection* db) {
sql                28 webkit/browser/database/databases_table_unittest.cc   sql::Statement statement(db->GetCachedStatement(
sql                35 webkit/browser/database/databases_table_unittest.cc   sql::Connection db;
sql                37 webkit/browser/database/databases_table_unittest.cc   sql::ScopedErrorIgnorer ignore_errors;
sql               153 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               174 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               191 webkit/browser/quota/quota_database.cc   sql::Statement statement;
sql               225 webkit/browser/quota/quota_database.cc   sql::Statement statement;
sql               262 webkit/browser/quota/quota_database.cc     sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               283 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               303 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               341 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               368 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               422 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               448 webkit/browser/quota/quota_database.cc   db_.reset(new sql::Connection);
sql               449 webkit/browser/quota/quota_database.cc   meta_table_.reset(new sql::MetaTable);
sql               481 webkit/browser/quota/quota_database.cc   if (!sql::MetaTable::DoesTableExist(db_.get()))
sql               501 webkit/browser/quota/quota_database.cc   DCHECK(sql::MetaTable::DoesTableExist(db_.get()));
sql               512 webkit/browser/quota/quota_database.cc     sql::Connection* database,
sql               513 webkit/browser/quota/quota_database.cc     sql::MetaTable* meta_table,
sql               518 webkit/browser/quota/quota_database.cc   sql::Transaction transaction(database);
sql               526 webkit/browser/quota/quota_database.cc     std::string sql("CREATE TABLE ");
sql               527 webkit/browser/quota/quota_database.cc     sql += tables[i].table_name;
sql               528 webkit/browser/quota/quota_database.cc     sql += tables[i].columns;
sql               529 webkit/browser/quota/quota_database.cc     if (!database->Execute(sql.c_str())) {
sql               530 webkit/browser/quota/quota_database.cc       VLOG(1) << "Failed to execute " << sql;
sql               536 webkit/browser/quota/quota_database.cc     std::string sql;
sql               538 webkit/browser/quota/quota_database.cc       sql += "CREATE UNIQUE INDEX ";
sql               540 webkit/browser/quota/quota_database.cc       sql += "CREATE INDEX ";
sql               541 webkit/browser/quota/quota_database.cc     sql += indexes[i].index_name;
sql               542 webkit/browser/quota/quota_database.cc     sql += " ON ";
sql               543 webkit/browser/quota/quota_database.cc     sql += indexes[i].table_name;
sql               544 webkit/browser/quota/quota_database.cc     sql += indexes[i].columns;
sql               545 webkit/browser/quota/quota_database.cc     if (!database->Execute(sql.c_str())) {
sql               546 webkit/browser/quota/quota_database.cc       VLOG(1) << "Failed to execute " << sql;
sql               562 webkit/browser/quota/quota_database.cc   if (!sql::Connection::Delete(db_file_path_))
sql               598 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql               620 webkit/browser/quota/quota_database.cc   sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql));
sql                22 webkit/browser/quota/quota_database.h namespace sql {
sql               156 webkit/browser/quota/quota_database.h       sql::Connection* database,
sql               157 webkit/browser/quota/quota_database.h       sql::MetaTable* meta_table,
sql               168 webkit/browser/quota/quota_database.h   scoped_ptr<sql::Connection> db_;
sql               169 webkit/browser/quota/quota_database.h   scoped_ptr<sql::MetaTable> meta_table_;
sql               374 webkit/browser/quota/quota_database_unittest.cc   void AssignQuotaTable(sql::Connection* db, Iterator itr, Iterator end) {
sql               375 webkit/browser/quota/quota_database_unittest.cc     ASSERT_NE(db, (sql::Connection*)NULL);
sql               381 webkit/browser/quota/quota_database_unittest.cc       sql::Statement statement;
sql               393 webkit/browser/quota/quota_database_unittest.cc   void AssignOriginInfoTable(sql::Connection* db, Iterator itr, Iterator end) {
sql               394 webkit/browser/quota/quota_database_unittest.cc     ASSERT_NE(db, (sql::Connection*)NULL);
sql               400 webkit/browser/quota/quota_database_unittest.cc       sql::Statement statement;
sql               413 webkit/browser/quota/quota_database_unittest.cc   bool OpenDatabase(sql::Connection* db, const base::FilePath& kDbFile) {
sql               430 webkit/browser/quota/quota_database_unittest.cc     scoped_ptr<sql::Connection> db(new sql::Connection);
sql               431 webkit/browser/quota/quota_database_unittest.cc     scoped_ptr<sql::MetaTable> meta_table(new sql::MetaTable);