/external/chromium_org/chrome/utility/importer/ |
H A D | firefox_importer_unittest.cc | 33 base::FilePath db_path; local 34 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &db_path)); 35 db_path = db_path.AppendASCII("firefox3_profile"); 40 ASSERT_TRUE(decryptor_proxy.DecryptorInit(nss_path, db_path)); 101 base::FilePath db_path; local 102 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &db_path)); 103 db_path = db_path.AppendASCII("firefox3_profile"); 108 ASSERT_TRUE(decryptor_proxy.DecryptorInit(nss_path, db_path)); [all...] |
H A D | nss_decryptor_null.h | 27 bool Init(const base::FilePath& dll_path, const base::FilePath& db_path) { argument
|
H A D | firefox_importer_unittest_utils.h | 34 // -> Msg_Decryptor_Init(dll_path, db_path) 47 const base::FilePath& db_path); 84 const base::FilePath& db_path) { 85 return decryptor_.Init(dll_path, db_path); 83 DecryptorInit(const base::FilePath& dll_path, const base::FilePath& db_path) argument
|
H A D | nss_decryptor_win.cc | 41 const base::FilePath& db_path) { 96 return InitNSS(db_path, plds4_dll, nspr4_dll); 112 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 D | nss_decryptor_system_nss.cc | 28 const base::FilePath& db_path) { 35 db_path.value().c_str()); 27 Init(const base::FilePath& dll_path, const base::FilePath& db_path) argument
|
H A D | firefox_importer_unittest_utils_mac.cc | 203 const base::FilePath& db_path) { 204 channel_->Send(new Msg_Decryptor_Init(dll_path, db_path)); 247 void OnDecryptor_Init(base::FilePath dll_path, base::FilePath db_path) { argument 248 bool ret = decryptor_.Init(dll_path, db_path); 202 DecryptorInit(const base::FilePath& dll_path, const base::FilePath& db_path) argument
|
/external/chromium_org/chrome/browser/history/ |
H A D | history_unittest_base.cc | 20 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
|
H A D | top_sites_database_unittest.cc | 34 // Create the test database at |db_path| from the golden file at 36 WARN_UNUSED_RESULT bool CreateDatabaseFromSQL(const base::FilePath &db_path, argument 42 return sql::test::CreateDatabaseFromSQL(db_path, sql_path);
|
H A D | shortcuts_database_unittest.cc | 61 void CheckV2ColumnExistence(const base::FilePath& db_path, bool is_v2) { argument 63 ASSERT_TRUE(connection.Open(db_path)); 234 base::FilePath db_path(temp_dir.path().AppendASCII("TestShortcuts1.db")); 235 ASSERT_TRUE(sql::test::CreateDatabaseFromSQL(db_path, sql_path)); 237 CheckV2ColumnExistence(db_path, false); 242 scoped_refptr<ShortcutsDatabase> db(new ShortcutsDatabase(db_path)); 246 CheckV2ColumnExistence(db_path, true); 250 ASSERT_TRUE(connection.Open(db_path)); 279 base::FilePath db_path(temp_dir.path().AppendASCII("TestShortcuts2.db")); 280 ASSERT_TRUE(sql::test::CreateDatabaseFromSQL(db_path, sql_pat [all...] |
H A D | thumbnail_database_unittest.cc | 51 // Create the test database at |db_path| from the golden file at 53 WARN_UNUSED_RESULT bool CreateDatabaseFromSQL(const base::FilePath &db_path, argument 59 return sql::test::CreateDatabaseFromSQL(db_path, sql_path); 1017 base::FilePath db_path = file_name_.DirName().Append(db_base_name); local 1018 ASSERT_TRUE(sql::test::CreateDatabaseFromSQL(db_path, name)); 1024 ASSERT_EQ(sql::INIT_OK, db.Init(db_path));
|
H A D | top_sites_database.cc | 200 void RecoverDatabaseOrRaze(sql::Connection* db, const base::FilePath& db_path) { argument 211 base::GetFileSize(db_path, &original_size); 213 scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(db, db_path); 299 base::GetFileSize(db_path, &final_size) && 315 const base::FilePath& db_path, 326 RecoverDatabaseOrRaze(db, db_path); 314 DatabaseErrorCallback(sql::Connection* db, const base::FilePath& db_path, int extended_error, sql::Statement* stmt) argument
|
/external/chromium_org/content/browser/fileapi/ |
H A D | sandbox_database_test_helper.cc | 22 void CorruptDatabase(const base::FilePath& db_path, argument 26 base::FileEnumerator file_enum(db_path, false /* not recursive */, 76 void DeleteDatabaseFile(const base::FilePath& db_path, argument 78 base::FileEnumerator file_enum(db_path, false /* not recursive */,
|
/external/chromium_org/chrome/browser/diagnostics/ |
H A D | diagnostics_controller_unittest.cc | 116 base::FilePath db_path = profile_dir_.Append(chromeos::kNssCertDbPath); local 117 EXPECT_TRUE(base::PathExists(db_path)); 118 CorruptDataFile(db_path); 134 EXPECT_FALSE(base::PathExists(db_path)); 138 base::FilePath db_path = profile_dir_.Append(chromeos::kNssKeyDbPath); local 139 EXPECT_TRUE(base::PathExists(db_path)); 140 CorruptDataFile(db_path); 156 EXPECT_FALSE(base::PathExists(db_path));
|
H A D | sqlite_diagnostics.cc | 44 const base::FilePath& db_path) 45 : DiagnosticsTest(id), flags_(flags), db_path_(db_path) {} 42 SqliteIntegrityTest(uint32 flags, DiagnosticsTestId id, const base::FilePath& db_path) argument
|
/external/chromium_org/components/precache/core/ |
H A D | precache_database.cc | 38 bool PrecacheDatabase::Init(const base::FilePath& db_path) { argument 45 if (!db_->Open(db_path)) {
|
H A D | precache_database_unittest.cc | 65 base::FilePath db_path = scoped_temp_dir_.path().Append( variable 67 precache_database_->Init(db_path);
|
/external/chromium_org/extensions/browser/value_store/ |
H A D | value_store_frontend.cc | 20 void Init(const base::FilePath& db_path) { argument 24 db_path_ = db_path; 25 storage_ = new LeveldbValueStore(db_path); 101 ValueStoreFrontend::ValueStoreFrontend(const base::FilePath& db_path) argument 103 Init(db_path); 117 void ValueStoreFrontend::Init(const base::FilePath& db_path) { argument 120 backend_, db_path));
|
H A D | leveldb_value_store.cc | 50 LeveldbValueStore::LeveldbValueStore(const base::FilePath& db_path) argument 51 : db_path_(db_path) {
|
/external/chromium_org/components/enhanced_bookmarks/ |
H A D | persistent_image_store.cc | 39 const base::FilePath& db_path) { 50 if (!db.Open(db_path)) 38 OpenDatabaseImpl(sql::Connection& db, const base::FilePath& db_path) argument
|
/external/chromium_org/content/browser/media/ |
H A D | webrtc_identity_store_unittest.cc | 365 base::FilePath db_path = local 367 EXPECT_TRUE(sql::test::CorruptSizeInHeader(db_path)); 375 EXPECT_TRUE(db->Open(db_path));
|
/external/chromium_org/extensions/browser/ |
H A D | state_store.cc | 68 const base::FilePath& db_path, 70 : db_path_(db_path), 67 StateStore(content::BrowserContext* context, const base::FilePath& db_path, bool deferred_load) argument
|
/external/chromium_org/sql/ |
H A D | connection_unittest.cc | 104 const base::FilePath& db_path() { return db_path_; } function in class:__anon10687::SQLConnectionTest 353 ASSERT_TRUE(db().Open(db_path())); 373 ASSERT_TRUE(other_db.Open(db_path())); 392 ASSERT_TRUE(other_db.Open(db_path())); 427 base::ScopedFILE file(base::OpenFile(db_path(), "rb+")); 433 ASSERT_TRUE(db().Open(db_path())); 441 sql::Connection::Delete(db_path()); 442 ASSERT_FALSE(base::PathExists(db_path())); 445 base::ScopedFILE file(base::OpenFile(db_path(), "wb")); 451 ASSERT_TRUE(base::PathExists(db_path())); [all...] |
H A D | recovery_unittest.cc | 70 ASSERT_TRUE(db_.Open(db_path())); 79 base::FilePath db_path() { function in class:__anon10691::SQLRecoveryTest 85 return db_.Open(db_path()); 103 scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path()); 118 scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path()); 136 scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path()); 171 scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(&db(), db_path()); 203 void RecoveryCallback(sql::Connection* db, const base::FilePath& db_path, argument 210 scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(db, db_path); 263 ASSERT_TRUE(sql::test::CorruptTableOrIndex(db_path(), "x_i [all...] |
/external/chromium_org/sql/test/ |
H A D | test_helpers.cc | 69 bool CorruptSizeInHeader(const base::FilePath& db_path) { argument 79 base::ScopedFILE file(base::OpenFile(db_path, "rb+")); 89 if (!base::GetFileSize(db_path, &db_size)) 112 bool CorruptTableOrIndex(const base::FilePath& db_path, argument 116 if (!db.Open(db_path)) 132 base::ScopedFILE file(base::OpenFile(db_path, "rb+")); 219 bool CreateDatabaseFromSQL(const base::FilePath& db_path, argument 221 if (base::PathExists(db_path) || !base::PathExists(sql_path)) 229 if (!db.Open(db_path))
|
/external/chromium_org/storage/browser/fileapi/ |
H A D | sandbox_origin_database.cc | 75 base::FilePath db_path = GetDatabasePath(); 76 if (init_option == FAIL_IF_NONEXISTENT && !base::PathExists(db_path)) 79 std::string path = FilePathToString(db_path); 126 bool SandboxOriginDatabase::RepairDatabase(const std::string& db_path) { argument 132 if (!leveldb::RepairDB(db_path, options).ok() ||
|