HomeSort by relevance Sort by last modified time
    Searched refs:db_path (Results 1 - 25 of 51) sorted by null

1 2 3

  /external/chromium_org/webkit/browser/fileapi/
sandbox_database_test_helper.h 18 void CorruptDatabase(const base::FilePath& db_path,
23 void DeleteDatabaseFile(const base::FilePath& db_path,
sandbox_database_test_helper.cc 19 void CorruptDatabase(const base::FilePath& db_path,
23 base::FileEnumerator file_enum(db_path, false /* not recursive */,
82 void DeleteDatabaseFile(const base::FilePath& db_path,
84 base::FileEnumerator file_enum(db_path, false /* not recursive */,
  /external/chromium_org/chrome/utility/importer/
firefox_importer_unittest.cc 31 base::FilePath db_path; local
32 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &db_path));
33 db_path = db_path.AppendASCII("firefox3_profile");
38 ASSERT_TRUE(decryptor_proxy.DecryptorInit(nss_path, db_path));
firefox_importer_unittest_utils.h 32 // -> Msg_Decryptor_Init(dll_path, db_path)
45 const base::FilePath& db_path);
80 const base::FilePath& db_path) {
81 return decryptor_.Init(dll_path, db_path);
nss_decryptor_null.h 27 bool Init(const base::FilePath& dll_path, const base::FilePath& db_path) {
nss_decryptor_system_nss.h 30 bool Init(const base::FilePath& dll_path, const base::FilePath& db_path);
nss_decryptor_win.cc 41 const base::FilePath& db_path) {
90 return InitNSS(db_path, plds4_dll, nspr4_dll);
106 bool NSSDecryptor::InitNSS(const base::FilePath& db_path,
145 SECStatus result = NSS_Init(base::SysWideToNativeMB(db_path.value()).c_str());
  /external/chromium/chrome/browser/history/
history_unittest_base.h 18 // Executes the sql from the file |sql_path| in the database at |db_path|.
20 // |db_path| is the db file name with full path.
22 const FilePath& db_path);
history_unittest_base.cc 18 const FilePath& db_path) {
32 ASSERT_TRUE(connection.Open(db_path));
  /external/chromium_org/chrome/browser/history/
history_unittest_base.h 21 // Executes the sql from the file |sql_path| in the database at |db_path|.
23 // |db_path| is the db file name with full path.
25 const base::FilePath& db_path);
history_unittest_base.cc 20 const base::FilePath& db_path) {
34 ASSERT_TRUE(connection.Open(db_path));
  /external/chromium/chrome/browser/importer/
firefox_importer_unittest_utils.h 29 // -> Msg_Decryptor_Init(dll_path, db_path)
41 bool DecryptorInit(const FilePath& dll_path, const FilePath& db_path);
76 const FilePath& db_path) {
77 return decryptor_.Init(dll_path, db_path);
nss_decryptor_null.h 26 bool Init(const FilePath& dll_path, const FilePath& db_path) { return false; }
nss_decryptor_system_nss.h 29 bool Init(const FilePath& dll_path, const FilePath& db_path);
nss_decryptor_win.cc 40 bool NSSDecryptor::Init(const FilePath& dll_path, const FilePath& db_path) {
89 return InitNSS(db_path, plds4_dll, nspr4_dll);
105 bool NSSDecryptor::InitNSS(const FilePath& db_path,
144 SECStatus result = NSS_Init(base::SysWideToNativeMB(db_path.value()).c_str());
nss_decryptor_win.h 118 // |dll_path| indicates the location of NSS3 DLL files, and |db_path|
120 bool Init(const FilePath& dll_path, const FilePath& db_path);
143 bool InitNSS(const FilePath& db_path,
  /external/chromium_org/sql/
recovery.h 57 const base::FilePath& db_path) WARN_UNUSED_RESULT;
84 bool Init(const base::FilePath& db_path) WARN_UNUSED_RESULT;
recovery.cc 18 const base::FilePath& db_path) {
20 if (!r->Init(db_path)) {
57 bool Recovery::Init(const base::FilePath& db_path) {
98 if (!recover_db_.AttachDatabase(db_path, "corrupt"))
recovery_unittest.cc 100 ASSERT_TRUE(db_.Open(db_path()));
109 base::FilePath db_path() { function in class:__anon12374::SQLRecoveryTest
115 return db_.Open(db_path());
133 scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
148 scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
166 scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
201 scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path());
233 void RecoveryCallback(sql::Connection* db, const base::FilePath& db_path,
240 scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(db, db_path);
294 ASSERT_TRUE(ReadPage(db_path(), index_page, buf.get(), page_size))
    [all...]
connection_unittest.cc 95 ASSERT_TRUE(db_.Open(db_path()));
104 base::FilePath db_path() { function in class:__anon12373::SQLConnectionTest
354 ASSERT_TRUE(db().Open(db_path()));
374 ASSERT_TRUE(other_db.Open(db_path()));
393 ASSERT_TRUE(other_db.Open(db_path()));
428 file_util::ScopedFILE file(file_util::OpenFile(db_path(), "rb+"));
434 ASSERT_TRUE(db().Open(db_path()));
442 sql::Connection::Delete(db_path());
443 ASSERT_FALSE(base::PathExists(db_path()));
446 file_util::ScopedFILE file(file_util::OpenFile(db_path(), "wb"))
    [all...]
  /external/chromium_org/chrome/browser/value_store/
value_store_frontend.h 31 explicit ValueStoreFrontend(const base::FilePath& db_path);
36 void Init(const base::FilePath& db_path);
value_store_frontend.cc 20 void Init(const base::FilePath& db_path) {
24 db_path_ = db_path;
25 storage_ = new LeveldbValueStore(db_path);
97 ValueStoreFrontend::ValueStoreFrontend(const base::FilePath& db_path)
99 Init(db_path);
113 void ValueStoreFrontend::Init(const base::FilePath& db_path) {
116 backend_, db_path));
  /external/chromium_org/chrome/browser/chromeos/drive/
file_cache_metadata_unittest.cc 105 const base::FilePath db_path = temp_dir_.path().AppendASCII("test.db"); local
109 google_apis::test_util::WriteStringToFile(db_path, "Hello world"));
111 metadata_->Initialize(db_path));
116 metadata_->Initialize(db_path));
file_cache_metadata.cc 95 const base::FilePath& db_path) {
98 bool created = !base::PathExists(db_path);
104 leveldb::Status db_status = leveldb::DB::Open(options, db_path.AsUTF8Unsafe(),
114 const bool deleted = base::DeleteFile(db_path, true);
116 db_status = leveldb::DB::Open(options, db_path.value(), &level_db);
  /external/chromium_org/chrome/browser/diagnostics/
diagnostics_controller_unittest.cc 125 base::FilePath db_path = profile_dir_.Append(chromeos::kNssCertDbPath); local
126 EXPECT_TRUE(base::PathExists(db_path));
127 CorruptDataFile(db_path);
142 EXPECT_FALSE(base::PathExists(db_path));
146 base::FilePath db_path = profile_dir_.Append(chromeos::kNssKeyDbPath); local
147 EXPECT_TRUE(base::PathExists(db_path));
148 CorruptDataFile(db_path);
163 EXPECT_FALSE(base::PathExists(db_path));

Completed in 4343 milliseconds

1 2 3