Searched defs:db_path (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium_org/chrome/utility/importer/
H A Dfirefox_importer_unittest.cc31 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));
H A Dnss_decryptor_null.h27 bool Init(const base::FilePath& dll_path, const base::FilePath& db_path) { argument
H A Dfirefox_importer_unittest_utils.h32 // -> 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);
79 DecryptorInit(const base::FilePath& dll_path, const base::FilePath& db_path) argument
H A Dnss_decryptor_win.cc41 const base::FilePath& db_path) {
90 return InitNSS(db_path, plds4_dll, nspr4_dll);
106 bool NSSDecryptor::InitNSS(const base::FilePath& db_path, argument
145 SECStatus result = NSS_Init(base::SysWideToNativeMB(db_path.value()).c_str());
40 Init(const base::FilePath& dll_path, const base::FilePath& db_path) argument
H A Dnss_decryptor_system_nss.cc28 const base::FilePath& db_path) {
35 db_path.value().c_str());
27 Init(const base::FilePath& dll_path, const base::FilePath& db_path) argument
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfile_cache_metadata_unittest.cc105 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));
H A Dfile_cache_metadata.cc95 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);
94 Initialize( const base::FilePath& db_path) argument
/external/chromium/chrome/browser/history/
H A Dhistory_unittest_base.cc18 const FilePath& db_path) {
32 ASSERT_TRUE(connection.Open(db_path));
17 ExecuteSQLScript(const FilePath& sql_path, const FilePath& db_path) argument
/external/chromium/chrome/browser/importer/
H A Dnss_decryptor_null.h26 bool Init(const FilePath& dll_path, const FilePath& db_path) { return false; } argument
H A Dfirefox_importer_unittest_utils.h29 // -> 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);
75 DecryptorInit(const FilePath& dll_path, const FilePath& db_path) argument
H A Dfirefox_importer_unittest.cc29 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...]
H A Dnss_decryptor_win.cc40 bool NSSDecryptor::Init(const FilePath& dll_path, const FilePath& db_path) { argument
89 return InitNSS(db_path, plds4_dll, nspr4_dll);
105 bool NSSDecryptor::InitNSS(const FilePath& db_path, argument
144 SECStatus result = NSS_Init(base::SysWideToNativeMB(db_path.value()).c_str());
H A Dnss_decryptor_system_nss.cc27 bool NSSDecryptor::Init(const FilePath& dll_path, const FilePath& db_path) { argument
32 "flags=readOnly", db_path.value().c_str());
H A Dfirefox_importer_unittest_utils_mac.cc188 const FilePath& db_path) {
189 channel_->Send(new Msg_Decryptor_Init(dll_path, db_path));
221 void OnDecryptor_Init(FilePath dll_path, FilePath db_path) { argument
222 bool ret = decryptor_.Init(dll_path, db_path);
187 DecryptorInit(const FilePath& dll_path, const FilePath& db_path) argument
/external/chromium_org/chrome/browser/history/
H A Dhistory_unittest_base.cc20 const base::FilePath& db_path) {
34 ASSERT_TRUE(connection.Open(db_path));
19 ExecuteSQLScript(const base::FilePath& sql_path, const base::FilePath& db_path) argument
/external/chromium_org/sql/
H A Drecovery.cc18 const base::FilePath& db_path) {
20 if (!r->Init(db_path)) {
57 bool Recovery::Init(const base::FilePath& db_path) { argument
98 if (!recover_db_.AttachDatabase(db_path, "corrupt"))
16 Begin( Connection* connection, const base::FilePath& db_path) argument
/external/chromium_org/webkit/browser/fileapi/
H A Dsandbox_database_test_helper.cc19 void CorruptDatabase(const base::FilePath& db_path, argument
23 base::FileEnumerator file_enum(db_path, false /* not recursive */,
82 void DeleteDatabaseFile(const base::FilePath& db_path, argument
84 base::FileEnumerator file_enum(db_path, false /* not recursive */,
/external/chromium_org/chrome/browser/diagnostics/
H A Ddiagnostics_controller_unittest.cc125 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));
H A Dsqlite_diagnostics.cc60 const base::FilePath& db_path)
63 db_path_(db_path) {}
57 SqliteIntegrityTest(uint32 flags, const std::string& id, const std::string& title, const base::FilePath& db_path) argument
/external/chromium_org/chrome/browser/value_store/
H A Dvalue_store_frontend.cc20 void Init(const base::FilePath& db_path) { argument
24 db_path_ = db_path;
25 storage_ = new LeveldbValueStore(db_path);
97 ValueStoreFrontend::ValueStoreFrontend(const base::FilePath& db_path) argument
99 Init(db_path);
113 void ValueStoreFrontend::Init(const base::FilePath& db_path) { argument
116 backend_, db_path));
H A Dleveldb_value_store.cc79 LeveldbValueStore::LeveldbValueStore(const base::FilePath& db_path) argument
80 : db_path_(db_path) {
/external/chromium_org/chrome/browser/extensions/
H A Dstate_store.cc64 const base::FilePath& db_path,
66 : db_path_(db_path), task_queue_(new DelayedTaskQueue()) {
63 StateStore(Profile* profile, const base::FilePath& db_path, bool deferred_load) argument
/external/chromium/chrome/browser/password_manager/
H A Dlogin_database.cc51 bool LoginDatabase::Init(const FilePath& db_path) { argument
57 if (!db_.Open(db_path)) {
85 db_path_ = db_path;
/external/chromium_org/chrome/browser/chromeos/contacts/
H A Dgoogle_contact_store.cc139 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_org/chrome/browser/sync_file_system/local/
H A Dlocal_file_change_tracker.cc53 SyncStatusCode Repair(const std::string& db_path);
334 const std::string& db_path) {
340 if (leveldb::RepairDB(db_path, options).ok() &&
333 Repair( const std::string& db_path) argument

Completed in 348 milliseconds

12