/external/chromium/chrome/browser/webdata/ |
keyword_table.cc | 63 if (!db_->DoesTableExist("keywords")) { 64 if (!db_->Execute("CREATE TABLE keywords (" 96 sql::Statement s(db_->GetCachedStatement(SQL_FROM_HERE, 120 db_->GetUniqueStatement("DELETE FROM keywords WHERE id = ?")); 130 sql::Statement s(db_->GetUniqueStatement( 194 sql::Statement s(db_->GetUniqueStatement( 231 return db_->Execute("ALTER TABLE keywords ADD COLUMN autogenerate_keyword " 236 return db_->Execute( 241 return db_->Execute("ALTER TABLE keywords ADD COLUMN created_by_policy " 246 return db_->Execute("ALTER TABLE keywords ADD COLUMN supports_instant [all...] |
logins_table.cc | 54 if (!db_->DoesTableExist("logins")) { 55 if (!db_->Execute("CREATE TABLE logins (" 76 if (!db_->Execute("CREATE INDEX logins_signon ON logins (signon_realm)")) { 83 if (!db_->DoesTableExist("ie7_logins")) { 84 if (!db_->Execute("CREATE TABLE ie7_logins (" 93 if (!db_->Execute("CREATE INDEX ie7_logins_hash ON " 109 sql::Statement s(db_->GetUniqueStatement( 146 sql::Statement s(db_->GetUniqueStatement( 184 sql::Statement s(db_->GetUniqueStatement( 212 sql::Statement s1(db_->GetUniqueStatement [all...] |
web_database.h | 50 sql::Connection db_; member in class:WebDatabase
|
/external/chromium/chrome/browser/history/ |
in_memory_history_backend.h | 65 return db_.get(); 93 scoped_ptr<InMemoryDatabase> db_; member in class:history::InMemoryHistoryBackend
|
thumbnail_database.h | 62 return db_.transaction_nesting(); 172 return InitIconMappingTable(&db_, true); 197 return InitFaviconsTable(&db_, true); 273 sql::Connection db_; member in class:history::ThumbnailDatabase
|
history_backend_unittest.cc | 250 URLID row1_id = backend_->db_->GetRowForURL(row1.url(), NULL); 251 URLID row2_id = backend_->db_->GetRowForURL(row2.url(), NULL); 255 backend_->db_->GetVisitsForURL(row1_id, &visits); 260 backend_->db_->GetVisitsForURL(row2_id, &visits); 268 EXPECT_TRUE(mem_backend_->db_->GetRowForURL(row1.url(), NULL)); 302 EXPECT_TRUE(backend_->db_->GetRowForURL(row1.url(), &outrow1)); 310 EXPECT_FALSE(backend_->db_->GetRowForURL(row2.url(), &outrow2)); 314 backend_->db_->GetAllVisitsInRange(Time(), Time(), 0, &all_visits); 383 URLID row1_id = backend_->db_->GetRowForURL(row1.url(), NULL); 384 URLID row2_id = backend_->db_->GetRowForURL(row2.url(), NULL) [all...] |
history_unittest.cc | 110 db_(NULL) { 116 // assigning the values to backend_ and db_. 121 db_ = backend_->db_.get(); 189 return db_->CreateDownload(download); 278 HistoryDatabase* db_; // Cached reference to the backend's database. member in class:history::HistoryTest 308 db_->QueryDownloads(&downloads); 328 db_->QueryDownloads(&downloads); 333 db_->RemoveDownloadsBetween(now, Time()); 334 db_->QueryDownloads(&downloads) [all...] |
starred_url_database_unittest.cc | 48 DCHECK(db_.is_open()); 81 EXPECT_TRUE(db_.Open(db_file_)); 89 db_.Close(); 94 return db_; 99 sql::Connection db_; member in class:history::StarredURLDatabaseTest
|
text_database.h | 150 sql::Connection db_; member in class:history::TextDatabase
|
top_sites_backend.h | 73 // Invokes Init on the db_. 99 scoped_ptr<TopSitesDatabase> db_; member in class:history::TopSitesBackend
|
top_sites_database.h | 99 scoped_ptr<sql::Connection> db_; member in class:history::TopSitesDatabase
|
url_database_unittest.cc | 45 return db_; 54 EXPECT_TRUE(db_.Open(db_file)); 63 db_.Close(); 67 sql::Connection db_; member in class:history::URLDatabaseTest
|
visit_database_unittest.cc | 49 EXPECT_TRUE(db_.Open(db_file)); 57 db_.Close(); 63 return db_; 67 sql::Connection db_; member in class:history::VisitDatabaseTest
|
history_backend.h | 322 HistoryDatabase* db() const { return db_.get(); } 530 scoped_ptr<HistoryDatabase> db_; member in class:history::HistoryBackend
|
text_database_manager_unittest.cc | 48 EXPECT_TRUE(db_.OpenInMemory()); 56 virtual sql::Connection& GetDB() { return db_; } 58 sql::Connection db_; member in class:history::__anon4182::InMemDB
|
thumbnail_database_unittest.cc | 260 EXPECT_TRUE(db.db_.Execute(sql.c_str())); 270 EXPECT_TRUE(db.db_.Execute(sql.c_str())); 410 ASSERT_TRUE(history_db.db_.Open(history_db_name_));
|
/external/chromium/app/sql/ |
connection_unittest.cc | 18 ASSERT_TRUE(db_.Open(temp_dir_.path().AppendASCII("SQLConnectionTest.db"))); 22 db_.Close(); 25 sql::Connection& db() { return db_; } 29 sql::Connection db_; member in class:SQLConnectionTest
|
statement_unittest.cc | 46 ASSERT_TRUE(db_.Open(temp_dir_.path().AppendASCII("SQLStatementTest.db"))); 50 db_.set_error_delegate(error_handler_); 57 db_.Close(); 60 sql::Connection& db() { return db_; } 67 sql::Connection db_; member in class:SQLStatementTest
|
transaction_unittest.cc | 19 ASSERT_TRUE(db_.Open( 26 db_.Close(); 29 sql::Connection& db() { return db_; } 40 sql::Connection db_; member in class:SQLTransactionTest
|
meta_table.h | 76 Connection* db_; member in class:sql::MetaTable
|
connection.h | 159 bool is_open() const { return !!db_; } 350 sqlite3* db_; member in class:sql::Connection
|
/external/chromium/chrome/common/ |
sqlite_utils.cc | 167 SQLTransaction::SQLTransaction(sqlite3* db) : db_(db), began_(false) { 178 if (!began_ && db_) { 179 rv = sqlite3_exec(db_, command, NULL, NULL, NULL); 187 if (began_ && db_) { 188 rv = sqlite3_exec(db_, command, NULL, NULL, NULL); 223 DCHECK(db_); 225 if (!db_ || began_) { 229 int rv = sqlite3_exec(db_, command, NULL, NULL, NULL); 245 DCHECK(db_); 247 if (!db_ || !began_) [all...] |
sqlite_utils.h | 97 sqlite3* db_; member in class:SQLTransaction 108 SQLNestedTransactionSite() : db_(NULL), top_transaction_(NULL) {} 123 sqlite3* GetSqlite3DB() { return db_; } 135 sqlite3* db_; member in class:SQLNestedTransactionSite
|
/external/chromium/chrome/browser/password_manager/ |
login_database.h | 99 mutable sql::Connection db_; member in class:LoginDatabase
|
/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_service_browsertest.cc | 154 TestSafeBrowsingDatabaseFactory() : db_(NULL) {} 160 db_ = new TestSafeBrowsingDatabase(); 161 return db_; 164 return db_; 168 TestSafeBrowsingDatabase* db_; member in class:TestSafeBrowsingDatabaseFactory
|