Searched defs:GetDB (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/components/history/core/browser/
H A Din_memory_database.cc27 NOTREACHED() << "Cannot open databse " << GetDB().GetErrorMessage();
71 sql::Statement attach(GetDB().GetUniqueStatement("ATTACH ? AS history"));
147 sql::Connection& InMemoryDatabase::GetDB() { function in class:history::InMemoryDatabase
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dleveldb_wrapper_unittest.cc53 LevelDBWrapper* GetDB() { function in class:sync_file_system::drive_backend::LevelDBWrapperTest
92 scoped_ptr<LevelDBWrapper::Iterator> itr = GetDB()->NewIterator();
132 EXPECT_EQ(0, GetDB()->num_puts());
133 EXPECT_EQ(1, GetDB()->num_deletes());
137 GetDB()->Put("a", "1");
138 GetDB()->Put("b", "2");
139 GetDB()->Put("c", "3");
142 scoped_ptr<LevelDBWrapper::Iterator> itr = GetDB()->NewIterator();
158 EXPECT_EQ(3, GetDB()->num_puts());
159 EXPECT_EQ(0, GetDB()
[all...]
/external/chromium_org/chrome/browser/history/
H A Dhistory_database.cc285 sql::Connection& HistoryDatabase::GetDB() { function in class:history::HistoryDatabase
H A Din_memory_url_index_unittest.cc106 sql::Connection& GetDB();
143 sql::Connection& InMemoryURLIndexTest::GetDB() { function in class:history::InMemoryURLIndexTest
144 return history_database_->GetDB();
228 sql::Connection& db(GetDB());
444 sql::Statement statement(GetDB().GetUniqueStatement("SELECT * FROM urls;"));

Completed in 122 milliseconds