/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));
|
/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));
|
/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));
|
/external/chromium/chrome/browser/importer/ |
firefox_importer_unittest.cc | 29 FilePath db_path; local 30 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &db_path)); 31 db_path = db_path.AppendASCII("firefox2_profile"); 36 EXPECT_TRUE(decryptor_proxy.DecryptorInit(nss_path, db_path)); 54 FilePath db_path; local 55 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &db_path)); 56 db_path = db_path.AppendASCII("firefox3_profile"); 61 EXPECT_TRUE(decryptor_proxy.DecryptorInit(nss_path, db_path)); [all...] |
/external/chromium_org/sql/ |
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/chromeos/contacts/ |
google_contact_store.cc | 139 base::FilePath db_path = profile_->GetPath().Append(kDatabaseDirectoryName); local 140 VLOG(1) << "Initializing contact database \"" << db_path.value() << "\" for " 142 db_->Init(db_path,
|
/external/chromium/chrome/browser/sync/syncable/ |
syncable.h | 755 const FilePath& file_path() const { return kernel_->db_path; } 968 Kernel(const FilePath& db_path, const std::string& name, 976 FilePath const db_path; member in struct:syncable::Directory::Kernel [all...] |