Searched refs:cache_path (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium_org/net/disk_cache/simple/
H A Dsimple_index_file_posix.cc30 const base::FilePath& cache_path,
32 const ScopedDir dir(opendir(cache_path.value().c_str()));
34 PLOG(ERROR) << "opendir " << cache_path.value();
44 const base::FilePath file_path = cache_path.Append(
48 PLOG(ERROR) << "readdir_r " << cache_path.value();
29 TraverseCacheDirectory( const base::FilePath& cache_path, const EntryFileCallback& entry_file_callback) argument
H A Dsimple_test_util.cc15 const base::FilePath& cache_path) {
16 base::FilePath entry_file_path = cache_path.AppendASCII(
14 CreateCorruptFileForTests(const std::string& key, const base::FilePath& cache_path) argument
H A Dsimple_version_upgrade_unittest.cc34 bool WriteFakeIndexFileV5(const base::FilePath& cache_path) { argument
40 const base::FilePath file_name = cache_path.AppendASCII("index");
49 const base::FilePath cache_path = cache_dir.path(); local
56 const base::FilePath file_name = cache_path.AppendASCII(kFakeIndexFileName);
66 const base::FilePath cache_path = cache_dir.path(); local
68 WriteFakeIndexFileV5(cache_path);
70 const base::FilePath index_file = cache_path.AppendASCII(kIndexFileName);
76 ASSERT_TRUE(disk_cache::UpgradeSimpleCacheOnDisk(cache_path));
80 ASSERT_TRUE(base::ReadFileToString(cache_path.AppendASCII(kFakeIndexFileName),
93 const base::FilePath cache_path local
[all...]
H A Dsimple_index_file_win.cc16 const base::FilePath& cache_path,
22 cache_path, false /* recursive */, base::FileEnumerator::FILES,
15 TraverseCacheDirectory( const base::FilePath& cache_path, const EntryFileCallback& entry_file_callback) argument
H A Dsimple_index_file_unittest.cc163 const base::FilePath cache_path = cache_dir.path(); local
165 ASSERT_TRUE(simple_util::GetMTime(cache_path, &cache_mtime));
166 WrappedSimpleIndexFile simple_index_file(cache_path);
175 ASSERT_TRUE(simple_util::GetMTime(cache_path, &cache_mtime));
182 EXPECT_TRUE(base::TouchFile(cache_path, past_time, past_time));
183 ASSERT_TRUE(simple_util::GetMTime(cache_path, &cache_mtime));
269 const base::FilePath cache_path = cache_dir.path(); local
272 base::File file(cache_path.AppendASCII("index"),
287 cache_path.AppendASCII("the-real-index");
294 ASSERT_TRUE(disk_cache::UpgradeSimpleCacheOnDisk(cache_path));
[all...]
H A Dsimple_test_util.h43 const base::FilePath& cache_path);
/external/chromium_org/chrome/browser/chromeos/policy/
H A Duser_cloud_external_data_manager.cc26 const base::FilePath& cache_path,
31 resource_cache_(new ResourceCache(cache_path, backend_task_runner)) {
22 UserCloudExternalDataManager( const GetChromePolicyDetailsCallback& get_policy_details, scoped_refptr<base::SequencedTaskRunner> backend_task_runner, scoped_refptr<base::SequencedTaskRunner> io_task_runner, const base::FilePath& cache_path, CloudPolicyStore* policy_store) argument
H A Duser_cloud_external_data_manager.h40 const base::FilePath& cache_path,
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Dget_file_for_saving_operation.h71 const base::FilePath& cache_path,
75 const base::FilePath& cache_path,
80 const base::FilePath& cache_path,
H A Dget_file_for_saving_operation.cc110 const base::FilePath& cache_path,
136 cache_path,
143 const base::FilePath& cache_path,
157 cache_path,
161 cache_path,
171 const base::FilePath& cache_path,
187 callback.Run(FILE_ERROR_OK, cache_path, entry.Pass());
107 GetFileForSavingAfterDownload( const GetFileCallback& callback, FileError error, const base::FilePath& cache_path, scoped_ptr<ResourceEntry> entry) argument
141 GetFileForSavingAfterOpenForWrite( const GetFileCallback& callback, const base::FilePath& cache_path, scoped_ptr<ResourceEntry> entry, scoped_ptr<base::ScopedClosureRunner>* file_closer, FileError error) argument
169 GetFileForSavingAfterWatch( const GetFileCallback& callback, const base::FilePath& cache_path, scoped_ptr<ResourceEntry> entry, bool success) argument
/external/chromium_org/base/android/
H A Dpath_utils.cc39 FilePath cache_path(ConvertJavaStringToUTF8(path));
40 *result = cache_path;
/external/chromium_org/content/browser/appcache/
H A Dchrome_appcache_service.cc24 const base::FilePath& cache_path,
30 cache_path_ = cache_path;
23 InitializeOnIOThread( const base::FilePath& cache_path, ResourceContext* resource_context, net::URLRequestContextGetter* request_context_getter, scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy) argument
H A Dchrome_appcache_service.h48 // If |cache_path| is empty we will use in-memory structs.
50 const base::FilePath& cache_path,
/external/chromium_org/content/browser/gpu/
H A Dshader_disk_cache_unittest.cc30 const base::FilePath& cache_path() { return temp_dir_.path(); } function in class:content::ShaderDiskCacheTest
35 cache_path());
H A Dshader_disk_cache.h73 explicit ShaderDiskCache(const base::FilePath& cache_path);
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
H A Dprivate_api_mount.h40 const base::FilePath& cache_path,
/external/chromium_org/chrome/browser/policy/cloud/
H A Dcomponent_cloud_policy_browsertest.cc310 base::FilePath cache_path = browser()->profile()->GetPath() local
315 EXPECT_TRUE(base::PathExists(cache_path));
330 EXPECT_FALSE(base::PathExists(cache_path));
343 EXPECT_TRUE(base::PathExists(cache_path));
/external/chromium_org/components/policy/core/common/cloud/
H A Dresource_cache.h32 explicit ResourceCache(const base::FilePath& cache_path,
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_cache_storage.cc156 base::FilePath cache_path = variable
162 base::Bind(&SimpleCacheLoader::CreateCachePrepDirInPool, cache_path),
169 static bool CreateCachePrepDirInPool(const base::FilePath& cache_path) { argument
170 if (base::PathExists(cache_path))
171 base::DeleteFile(cache_path, /* recursive */ true);
172 return base::CreateDirectory(cache_path);
193 base::FilePath cache_path = variable
198 cache_path,
204 const base::FilePath& cache_path,
207 bool rv = base::DeleteFile(cache_path, tru
203 CleanUpDeleteCacheDirInPool( const base::FilePath& cache_path, const BoolCallback& callback, const scoped_refptr<base::MessageLoopProxy>& original_loop) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfake_file_system.cc287 base::FilePath cache_path = local
291 int result = base::WriteFile(cache_path, "", 0);
294 if (base::PathExists(cache_path)) {
296 initialized_callback.Run(FILE_ERROR_OK, cache_path, entry.Pass());
303 cache_path,
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_impl_io_data.cc123 const base::FilePath& cache_path,
150 lazy_params->cache_path = cache_path;
542 lazy_params_->cache_path,
664 base::FilePath cache_path = local
675 cache_path,
750 base::FilePath cache_path;
754 cache_path = lazy_params_->media_cache_path;
757 cache_path = partition_descriptor.path.Append(chrome::kMediaCacheDirname);
765 cache_path,
120 Init( const base::FilePath& cookie_path, const base::FilePath& channel_id_path, const base::FilePath& cache_path, int cache_max_size, const base::FilePath& media_cache_path, int media_cache_max_size, const base::FilePath& extensions_cookie_path, const base::FilePath& profile_path, const base::FilePath& infinite_cache_path, chrome_browser_net::Predictor* predictor, content::CookieStoreConfig::SessionCookieMode session_cookie_mode, storage::SpecialStoragePolicy* special_storage_policy, scoped_ptr<domain_reliability::DomainReliabilityMonitor> domain_reliability_monitor, const base::Callback<void(bool)>& data_reduction_proxy_unavailable, scoped_ptr<DataReductionProxyChromeConfigurator> data_reduction_proxy_chrome_configurator, scoped_ptr<data_reduction_proxy::DataReductionProxyParams> data_reduction_proxy_params, scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs> data_reduction_proxy_statistics_prefs) argument
[all...]
H A Dprofile_impl_io_data.h54 const base::FilePath& cache_path,
162 base::FilePath cache_path; member in struct:ProfileImplIOData::LazyParams
/external/chromium_org/chromeos/dbus/
H A Dfake_cryptohome_client.cc30 base::FilePath cache_path; local
31 locked_ = PathService::Get(chromeos::FILE_INSTALL_ATTRIBUTES, &cache_path) &&
32 base::PathExists(cache_path);
267 base::FilePath cache_path; local
268 if (!PathService::Get(chromeos::FILE_INSTALL_ATTRIBUTES, &cache_path))
311 base::WriteFile(cache_path, result.data(), result.size());
/external/chromium_org/content/shell/browser/
H A Dshell_url_request_context_getter.cc139 base::FilePath cache_path = base_path_.Append(FILE_PATH_LITERAL("Cache")); local
150 cache_path,
/external/chromium_org/tools/valgrind/
H A Dscan-build.py197 cache_path = os.path.join(path, CACHE_DIR)
199 fyi = Waterfall(ROOT_URL, cache_path)

Completed in 243 milliseconds

12