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

1 2

  /external/chromium_org/content/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 22 void CorruptDatabase(const base::FilePath& db_path,
26 base::FileEnumerator file_enum(db_path, false /* not recursive */,
76 void DeleteDatabaseFile(const base::FilePath& db_path,
78 base::FileEnumerator file_enum(db_path, false /* not recursive */,
  /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));
shortcuts_database_unittest.cc 61 void CheckV2ColumnExistence(const base::FilePath& db_path, bool is_v2) {
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_path))
    [all...]
  /external/chromium_org/chrome/utility/importer/
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...]
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);
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) {
96 return InitNSS(db_path, plds4_dll, nspr4_dll);
112 bool NSSDecryptor::InitNSS(const base::FilePath& db_path,
145 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 base::FilePath& dll_path, const base::FilePath& db_path);
143 bool InitNSS(const base::FilePath& db_path,
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) {
248 bool ret = decryptor_.Init(dll_path, db_path);
  /external/chromium_org/sql/test/
test_helpers.h 35 bool CorruptSizeInHeader(const base::FilePath& db_path) WARN_UNUSED_RESULT;
53 bool CorruptTableOrIndex(const base::FilePath& db_path,
72 // Creates a SQLite database at |db_path| from the sqlite .dump output
73 // at |sql_path|. Returns false if |db_path| already exists, or if
76 bool CreateDatabaseFromSQL(const base::FilePath& db_path,
test_helpers.cc 69 bool CorruptSizeInHeader(const base::FilePath& db_path) {
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,
116 if (!db.Open(db_path))
132 base::ScopedFILE file(base::OpenFile(db_path, "rb+"));
219 bool CreateDatabaseFromSQL(const base::FilePath& db_path,
221 if (base::PathExists(db_path) || !base::PathExists(sql_path))
229 if (!db.Open(db_path))
  /external/chromium_org/extensions/browser/value_store/
value_store_frontend.h 30 explicit ValueStoreFrontend(const base::FilePath& db_path);
35 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);
101 ValueStoreFrontend::ValueStoreFrontend(const base::FilePath& db_path)
103 Init(db_path);
117 void ValueStoreFrontend::Init(const base::FilePath& db_path) {
120 backend_, db_path));
  /external/chromium_org/sql/
recovery.h 84 const base::FilePath& db_path) WARN_UNUSED_RESULT;
159 bool Init(const base::FilePath& db_path) WARN_UNUSED_RESULT;
connection_unittest.cc 104 const base::FilePath& db_path() { return db_path_; } function in class:__anon15312::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...]
recovery_unittest.cc 70 ASSERT_TRUE(db_.Open(db_path()));
79 base::FilePath db_path() { function in class:__anon15316::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,
210 scoped_ptr<sql::Recovery> recovery = sql::Recovery::Begin(db, db_path);
263 ASSERT_TRUE(sql::test::CorruptTableOrIndex(db_path(), "x_id", kDeleteSql))
    [all...]
recovery.cc 108 const base::FilePath& db_path) {
110 if (!r->Init(db_path)) {
154 bool Recovery::Init(const base::FilePath& db_path) {
219 if (!recover_db_.AttachDatabase(db_path, "corrupt")) {
  /external/chromium_org/chrome/browser/diagnostics/
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));
  /external/chromium_org/components/precache/core/
precache_database.h 42 bool Init(const base::FilePath& db_path);
  /external/chromium_org/components/precache/content/
precache_manager.cc 38 base::FilePath db_path(browser_context_->GetPath().Append(
44 precache_database_, db_path));
  /external/chromium_org/extensions/browser/
state_store.h 37 const base::FilePath& db_path,
  /external/chromium_org/storage/browser/fileapi/
sandbox_origin_database.h 62 bool RepairDatabase(const std::string& db_path);

Completed in 1751 milliseconds

1 2