Home
last modified time | relevance | path

Searched refs:db_path_ (Results 1 – 24 of 24) sorted by relevance

/external/chromium/chrome/browser/visitedlink/
Dvisitedlink_perftest.cc66 FilePath db_path_; member in __anon829e64e90111::VisitedLink
68 ASSERT_TRUE(file_util::CreateTemporaryFile(&db_path_)); in SetUp()
71 file_util::Delete(db_path_, false); in TearDown()
85 NULL, true, db_path_, 0); in TEST_F()
116 NULL, true, db_path_, 0); in TEST_F()
147 file_util::EvictFileFromSystemCache(db_path_); in TEST_F()
156 db_path_, in TEST_F()
172 db_path_, in TEST_F()
/external/chromium_org/components/visitedlink/test/
Dvisitedlink_perftest.cc66 base::FilePath db_path_; member in visitedlink::__anon114105140111::VisitedLink
68 ASSERT_TRUE(base::CreateTemporaryFile(&db_path_)); in SetUp()
71 base::DeleteFile(db_path_, false); in TearDown()
85 NULL, true, true, db_path_, 0); in TEST_F()
116 NULL, true, true, db_path_, 0); in TEST_F()
147 file_util::EvictFileFromSystemCache(db_path_); in TEST_F()
157 db_path_, in TEST_F()
174 db_path_, in TEST_F()
/external/chromium_org/chrome/browser/diagnostics/
Dsqlite_diagnostics.cc45 : DiagnosticsTest(id), flags_(flags), db_path_(db_path) {} in SqliteIntegrityTest()
57 << db_path_.value(); in RecoveryImpl()
58 base::DeleteFile(db_path_, false); in RecoveryImpl()
76 if (!db_path_.IsAbsolute()) in ExecuteImpl()
77 path = GetUserDefaultProfileDir().Append(db_path_); in ExecuteImpl()
79 path = db_path_; in ExecuteImpl()
197 base::FilePath db_path_; member in diagnostics::__anon0305ee990111::SqliteIntegrityTest
/external/chromium_org/chrome/browser/predictors/
Dpredictor_database.cc56 base::FilePath db_path_; member in predictors::PredictorDatabaseInternal
70 : db_path_(profile->GetPath().Append(kPredictorDatabaseName)), in PredictorDatabaseInternal()
92 bool success = db_->Open(db_path_); in Initialize()
118 bool success = base::GetFileSize(db_path_, &db_size); in LogDatabaseStats()
119 DCHECK(success) << "Failed to get file size for " << db_path_.value(); in LogDatabaseStats()
/external/chromium_org/chrome/browser/value_store/
Dvalue_store_frontend_unittest.cc30 db_path_ = temp_dir_.path().AppendASCII("temp_db"); in SetUp()
31 base::CopyDirectory(src_db, db_path_, true); in SetUp()
43 storage_.reset(new ValueStoreFrontend(db_path_)); in ResetStorage()
62 base::FilePath db_path_; member in ValueStoreFrontendTest
Dvalue_store_frontend.cc24 db_path_ = db_path; in Init()
46 LOG(WARNING) << "Reading " << key << " from " << db_path_.value() in Get()
88 base::FilePath db_path_; member in ValueStoreFrontend::Backend
Dleveldb_value_store.cc50 : db_path_(db_path) { in LeveldbValueStore()
283 leveldb::DB::Open(options, db_path_.AsUTF8Unsafe(), &db); in EnsureDbIsOpen()
372 if (!base::DeleteFile(db_path_, true /* recursive */)) { in DeleteDbFile()
374 db_path_.value(); in DeleteDbFile()
387 ReplaceSubstringsAfterOffset(&message, 0u, db_path_.AsUTF8Unsafe(), "..."); in ToValueStoreError()
Dleveldb_value_store.h85 const base::FilePath db_path_; variable
/external/chromium_org/chrome/browser/history/
Dtop_sites_backend.cc24 db_path_ = path; in Init()
68 base::Bind(&TopSitesBackend::ResetDatabaseOnDBThread, this, db_path_)); in ResetDatabase()
134 sql::Connection::Delete(db_path_); in ResetDatabaseOnDBThread()
136 InitDBOnDBThread(db_path_); in ResetDatabaseOnDBThread()
Dtop_sites_backend.h89 base::FilePath db_path_; variable
/external/chromium/chrome/browser/history/
Dtop_sites_backend.cc19 db_path_ = path; in Init()
64 this, &TopSitesBackend::ResetDatabaseOnDBThread, db_path_)); in ResetDatabase()
143 file_util::Delete(db_path_, false); in ResetDatabaseOnDBThread()
145 InitDBOnDBThread(db_path_); in ResetDatabaseOnDBThread()
Dtop_sites_backend.h97 FilePath db_path_; variable
/external/chromium_org/components/webdata/common/
Dweb_data_service_backend.cc21 db_path_(path), in WebDataServiceBackend()
41 if (init_complete_ || db_path_.empty()) { in LoadDatabaseIfNecessary()
53 init_status_ = db_->Init(db_path_); in LoadDatabaseIfNecessary()
Dweb_data_service_backend.h99 base::FilePath db_path_; variable
/external/chromium/chrome/browser/diagnostics/
Dsqlite_diagnostics.cc32 db_path_(profile_relative_db_path) { in SqliteIntegrityTest()
39 path = path.Append(db_path_); in ExecuteImpl()
86 FilePath db_path_; member in __anonb14474f20111::SqliteIntegrityTest
/external/chromium_org/chrome/browser/extensions/
Dstate_store.cc66 : db_path_(db_path), task_queue_(new DelayedTaskQueue()) { in StateStore()
157 if (!db_path_.empty()) in Init()
158 store_.Init(db_path_); in Init()
Dstate_store.h69 base::FilePath db_path_; variable
/external/chromium/chrome/browser/password_manager/
Dlogin_database.cc85 db_path_ = db_path; in Init()
405 file_util::Delete(db_path_, false); in DeleteAndRecreateDatabaseFile()
406 return Init(db_path_); in DeleteAndRecreateDatabaseFile()
Dlogin_database.h98 FilePath db_path_; variable
/external/chromium_org/chrome/browser/password_manager/
Dlogin_database.h133 base::FilePath db_path_; variable
Dlogin_database.cc92 db_path_ = db_path; in Init()
552 sql::Connection::Delete(db_path_); in DeleteAndRecreateDatabaseFile()
553 return Init(db_path_); in DeleteAndRecreateDatabaseFile()
/external/chromium_org/sql/
Dconnection_unittest.cc94 db_path_ = temp_dir_.path().AppendASCII("SQLConnectionTest.db"); in SetUp()
95 ASSERT_TRUE(db_.Open(db_path_)); in SetUp()
103 const base::FilePath& db_path() { return db_path_; } in db_path()
113 base::FilePath db_path_; member in __anon937628f70111::SQLConnectionTest
/external/chromium/chrome/browser/sync/syncable/
Dsyncable_unittest.cc93 db_path_ = temp_dir_.path().Append( in SetUp()
101 FilePath db_path_; member in syncable::SyncableGeneralTest
106 dir.Open(db_path_, "SimpleTest"); in TEST_F()
194 dir.Open(db_path_, "IndexTest"); in TEST_F()
210 dir.Open(db_path_, "IndexTest"); in TEST_F()
230 dir.Open(db_path_, "IndexTest"); in TEST_F()
248 dir.Open(db_path_, "IndexTest"); in TEST_F()
262 dir.Open(db_path_, "SimpleTest"); in TEST_F()
/external/chromium_org/sync/syncable/
Dsyncable_unittest.cc93 db_path_ = temp_dir_.path().Append( in SetUp()
105 base::FilePath db_path_; member in syncer::syncable::SyncableGeneralTest
293 Directory dir(new OnDiskDirectoryBackingStore(kIndexTestName, db_path_), in TEST_F()
314 Directory dir(new OnDiskDirectoryBackingStore(kIndexTestName, db_path_), in TEST_F()
339 Directory dir(new OnDiskDirectoryBackingStore(kIndexTestName, db_path_), in TEST_F()
362 Directory dir(new OnDiskDirectoryBackingStore(kIndexTestName, db_path_), in TEST_F()