Home
last modified time | relevance | path

Searched refs:cache_path (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/net/disk_cache/simple/
Dsimple_version_upgrade_unittest.cc34 bool WriteFakeIndexFileV5(const base::FilePath& cache_path) { in WriteFakeIndexFileV5() argument
40 const base::FilePath file_name = cache_path.AppendASCII("index"); in WriteFakeIndexFileV5()
49 const base::FilePath cache_path = cache_dir.path(); in TEST() local
56 const base::FilePath file_name = cache_path.AppendASCII(kFakeIndexFileName); in TEST()
66 const base::FilePath cache_path = cache_dir.path(); in TEST() local
68 WriteFakeIndexFileV5(cache_path); in TEST()
70 const base::FilePath index_file = cache_path.AppendASCII(kIndexFileName); in TEST()
76 ASSERT_TRUE(disk_cache::UpgradeSimpleCacheOnDisk(cache_path)); in TEST()
80 ASSERT_TRUE(base::ReadFileToString(cache_path.AppendASCII(kFakeIndexFileName), in TEST()
93 const base::FilePath cache_path = cache_dir.path(); in TEST() local
[all …]
Dsimple_index_file_posix.cc30 const base::FilePath& cache_path, in TraverseCacheDirectory() argument
32 const ScopedDir dir(opendir(cache_path.value().c_str())); in TraverseCacheDirectory()
34 PLOG(ERROR) << "opendir " << cache_path.value(); in TraverseCacheDirectory()
44 const base::FilePath file_path = cache_path.Append( in TraverseCacheDirectory()
48 PLOG(ERROR) << "readdir_r " << cache_path.value(); in TraverseCacheDirectory()
Dsimple_index_file_unittest.cc163 const base::FilePath cache_path = cache_dir.path(); in TEST_F() local
165 ASSERT_TRUE(simple_util::GetMTime(cache_path, &cache_mtime)); in TEST_F()
166 WrappedSimpleIndexFile simple_index_file(cache_path); in TEST_F()
175 ASSERT_TRUE(simple_util::GetMTime(cache_path, &cache_mtime)); in TEST_F()
182 EXPECT_TRUE(base::TouchFile(cache_path, past_time, past_time)); in TEST_F()
183 ASSERT_TRUE(simple_util::GetMTime(cache_path, &cache_mtime)); in TEST_F()
269 const base::FilePath cache_path = cache_dir.path(); in TEST_F() local
272 base::File file(cache_path.AppendASCII("index"), in TEST_F()
287 cache_path.AppendASCII("the-real-index"); in TEST_F()
294 ASSERT_TRUE(disk_cache::UpgradeSimpleCacheOnDisk(cache_path)); in TEST_F()
[all …]
Dsimple_test_util.cc15 const base::FilePath& cache_path) { in CreateCorruptFileForTests() argument
16 base::FilePath entry_file_path = cache_path.AppendASCII( in CreateCorruptFileForTests()
Dsimple_index_file_win.cc16 const base::FilePath& cache_path, in TraverseCacheDirectory() argument
22 cache_path, false /* recursive */, base::FileEnumerator::FILES, in TraverseCacheDirectory()
Dsimple_test_util.h43 const base::FilePath& cache_path);
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Dget_file_for_saving_operation.cc110 const base::FilePath& cache_path, in GetFileForSavingAfterDownload() argument
136 cache_path, in GetFileForSavingAfterDownload()
143 const base::FilePath& cache_path, in GetFileForSavingAfterOpenForWrite() argument
157 cache_path, in GetFileForSavingAfterOpenForWrite()
161 cache_path, in GetFileForSavingAfterOpenForWrite()
171 const base::FilePath& cache_path, in GetFileForSavingAfterWatch() argument
187 callback.Run(FILE_ERROR_OK, cache_path, entry.Pass()); in GetFileForSavingAfterWatch()
Dget_file_for_saving_operation.h71 const base::FilePath& cache_path,
75 const base::FilePath& cache_path,
80 const base::FilePath& cache_path,
/external/chromium_org/chrome/browser/chromeos/policy/
Duser_cloud_external_data_manager.cc26 const base::FilePath& cache_path, in UserCloudExternalDataManager() argument
31 resource_cache_(new ResourceCache(cache_path, backend_task_runner)) { in UserCloudExternalDataManager()
Duser_cloud_external_data_manager.h40 const base::FilePath& cache_path,
/external/chromium_org/chrome/browser/profiles/
Dprofile_impl_io_data.cc132 const base::FilePath& cache_path, in Init() argument
150 lazy_params->cache_path = cache_path; in Init()
488 lazy_params_->cache_path, in InitializeInternal()
626 base::FilePath cache_path = in InitializeAppRequestContext() local
637 cache_path, in InitializeAppRequestContext()
713 base::FilePath cache_path; in InitializeMediaRequestContext() local
717 cache_path = lazy_params_->media_cache_path; in InitializeMediaRequestContext()
720 cache_path = partition_descriptor.path.Append(chrome::kMediaCacheDirname); in InitializeMediaRequestContext()
728 cache_path, in InitializeMediaRequestContext()
Dprofile_impl.cc565 base::FilePath cache_path = base_cache_path_; in DoFinalInit() local
567 GetCacheParameters(false, &cache_path, &cache_max_size); in DoFinalInit()
568 cache_path = GetCachePath(cache_path); in DoFinalInit()
603 io_data_.Init(cookie_path, server_bound_cert_path, cache_path, in DoFinalInit()
1297 base::FilePath* cache_path, in GetCacheParameters() argument
1299 DCHECK(cache_path); in GetCacheParameters()
1303 *cache_path = path; in GetCacheParameters()
Dprofile_impl_io_data.h52 const base::FilePath& cache_path,
159 base::FilePath cache_path; member
/external/chromium_org/content/browser/appcache/
Dchrome_appcache_service.cc25 const base::FilePath& cache_path, in InitializeOnIOThread() argument
31 cache_path_ = cache_path; in InitializeOnIOThread()
Dchrome_appcache_service.h50 const base::FilePath& cache_path,
/external/chromium_org/base/android/
Dpath_utils.cc39 FilePath cache_path(ConvertJavaStringToUTF8(path)); in GetCacheDirectory() local
40 *result = cache_path; in GetCacheDirectory()
/external/chromium_org/content/browser/gpu/
Dshader_disk_cache_unittest.cc30 const base::FilePath& cache_path() { return temp_dir_.path(); } in cache_path() function in content::ShaderDiskCacheTest
35 cache_path()); in InitCache()
Dshader_disk_cache.h73 explicit ShaderDiskCache(const base::FilePath& cache_path);
/external/chromium_org/chrome/browser/policy/cloud/
Dcomponent_cloud_policy_browsertest.cc310 base::FilePath cache_path = browser()->profile()->GetPath() in IN_PROC_BROWSER_TEST_F() local
315 EXPECT_TRUE(base::PathExists(cache_path)); in IN_PROC_BROWSER_TEST_F()
330 EXPECT_FALSE(base::PathExists(cache_path)); in IN_PROC_BROWSER_TEST_F()
343 EXPECT_TRUE(base::PathExists(cache_path)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/mojo/services/network/
Dnetwork_context.cc97 base::FilePath cache_path = base_path.Append(FILE_PATH_LITERAL("Cache")); in NetworkContext() local
103 cache_path, in NetworkContext()
/external/chromium_org/chromeos/dbus/
Dfake_cryptohome_client.cc40 base::FilePath cache_path; in FakeCryptohomeClient() local
41 locked_ = PathService::Get(chromeos::FILE_INSTALL_ATTRIBUTES, &cache_path) && in FakeCryptohomeClient()
42 base::PathExists(cache_path); in FakeCryptohomeClient()
276 base::FilePath cache_path; in InstallAttributesFinalize() local
277 if (!PathService::Get(chromeos::FILE_INSTALL_ATTRIBUTES, &cache_path)) in InstallAttributesFinalize()
318 FROM_HERE, base::Bind(&PersistFile, cache_path, result), false); in InstallAttributesFinalize()
/external/chromium_org/chrome/browser/chromeos/drive/
Dfake_file_system.cc288 base::FilePath cache_path = in GetFileContentAfterGetFileResource() local
290 if (base::PathExists(cache_path)) { in GetFileContentAfterGetFileResource()
292 initialized_callback.Run(FILE_ERROR_OK, cache_path, entry.Pass()); in GetFileContentAfterGetFileResource()
299 cache_path, in GetFileContentAfterGetFileResource()
/external/chromium_org/content/shell/browser/
Dshell_url_request_context_getter.cc139 base::FilePath cache_path = base_path_.Append(FILE_PATH_LITERAL("Cache")); in GetURLRequestContext() local
150 cache_path, in GetURLRequestContext()
/external/chromium_org/tools/valgrind/
Dscan-build.py197 cache_path = os.path.join(path, CACHE_DIR)
199 fyi = Waterfall(ROOT_URL, cache_path)
/external/chromium_org/components/policy/core/common/cloud/
Dresource_cache.h32 explicit ResourceCache(const base::FilePath& cache_path,

12