Home
last modified time | relevance | path

Searched refs:cache_dir (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/net/disk_cache/simple/
Dsimple_version_upgrade_unittest.cc47 base::ScopedTempDir cache_dir; in TEST() local
48 ASSERT_TRUE(cache_dir.CreateUniqueTempDir()); in TEST()
49 const base::FilePath cache_path = cache_dir.path(); in TEST()
60 EXPECT_FALSE(disk_cache::UpgradeSimpleCacheOnDisk(cache_dir.path())); in TEST()
64 base::ScopedTempDir cache_dir; in TEST() local
65 ASSERT_TRUE(cache_dir.CreateUniqueTempDir()); in TEST()
66 const base::FilePath cache_path = cache_dir.path(); in TEST()
91 base::ScopedTempDir cache_dir; in TEST() local
92 ASSERT_TRUE(cache_dir.CreateUniqueTempDir()); in TEST()
93 const base::FilePath cache_path = cache_dir.path(); in TEST()
Dsimple_index_file_unittest.cc159 base::ScopedTempDir cache_dir; in TEST_F() local
160 ASSERT_TRUE(cache_dir.CreateUniqueTempDir()); in TEST_F()
162 const base::FilePath cache_path = cache_dir.path(); in TEST_F()
194 base::ScopedTempDir cache_dir; in TEST_F() local
195 ASSERT_TRUE(cache_dir.CreateUniqueTempDir()); in TEST_F()
209 WrappedSimpleIndexFile simple_index_file(cache_dir.path()); in TEST_F()
216 WrappedSimpleIndexFile simple_index_file(cache_dir.path()); in TEST_F()
237 base::ScopedTempDir cache_dir; in TEST_F() local
238 ASSERT_TRUE(cache_dir.CreateUniqueTempDir()); in TEST_F()
240 WrappedSimpleIndexFile simple_index_file(cache_dir.path()); in TEST_F()
[all …]
/external/chromium_org/chrome/common/
Dchrome_paths_unittest.cc18 base::FilePath test_profile_dir, cache_dir; in TEST() local
42 chrome::GetUserCacheDirectory(test_profile_dir, &cache_dir); in TEST()
43 EXPECT_EQ(expected_cache_dir.value(), cache_dir.value()); in TEST()
49 chrome::GetUserCacheDirectory(test_profile_dir, &cache_dir); in TEST()
51 EXPECT_EQ(expected_cache_dir.value(), cache_dir.value()); in TEST()
53 EXPECT_EQ(test_profile_dir.value(), cache_dir.value()); in TEST()
Dchrome_paths_linux.cc87 base::FilePath cache_dir; in GetUserCacheDirectory() local
88 if (!PathService::Get(base::DIR_CACHE, &cache_dir)) in GetUserCacheDirectory()
94 if (!config_dir.AppendRelativePath(profile_dir, &cache_dir)) in GetUserCacheDirectory()
97 *result = cache_dir; in GetUserCacheDirectory()
Dchrome_paths_mac.mm142 base::FilePath cache_dir;
143 if (!PathService::Get(base::DIR_CACHE, &cache_dir))
145 if (!app_data_dir.AppendRelativePath(profile_dir, &cache_dir))
148 *result = cache_dir;
/external/chromium/chrome/common/
Dchrome_paths_unittest.cc17 FilePath test_profile_dir, cache_dir; in TEST() local
35 chrome::GetUserCacheDirectory(test_profile_dir, &cache_dir); in TEST()
36 EXPECT_EQ(expected_cache_dir.value(), cache_dir.value()); in TEST()
42 chrome::GetUserCacheDirectory(test_profile_dir, &cache_dir); in TEST()
43 EXPECT_EQ(test_profile_dir.value(), cache_dir.value()); in TEST()
Dchrome_paths_linux.cc55 FilePath cache_dir; in GetUserCacheDirectory() local
56 if (!PathService::Get(base::DIR_CACHE, &cache_dir)) in GetUserCacheDirectory()
62 if (!config_dir.AppendRelativePath(profile_dir, &cache_dir)) in GetUserCacheDirectory()
65 *result = cache_dir; in GetUserCacheDirectory()
Dchrome_paths_mac.mm116 FilePath cache_dir;
117 if (!PathService::Get(base::DIR_CACHE, &cache_dir))
119 if (!app_data_dir.AppendRelativePath(profile_dir, &cache_dir))
122 *result = cache_dir;
/external/chromium_org/chrome/browser/chromeos/extensions/
Dexternal_cache.cc43 ExternalCache::ExternalCache(const base::FilePath& cache_dir, in ExternalCache() argument
50 : cache_dir_(cache_dir), in ExternalCache()
236 const base::FilePath& cache_dir) { in BackendCheckCacheStatus() argument
242 base::PathExists(cache_dir.AppendASCII(kCacheReadyFlagFileName)))); in BackendCheckCacheStatus()
276 const base::FilePath& cache_dir, in BackendCheckCacheContents() argument
278 BackendCheckCacheContentsInternal(cache_dir, prefs.get()); in BackendCheckCacheContents()
288 const base::FilePath& cache_dir, in BackendCheckCacheContentsInternal() argument
291 if (!base::DirectoryExists(cache_dir)) { in BackendCheckCacheContentsInternal()
293 if (!base::CreateDirectory(cache_dir)) { in BackendCheckCacheContentsInternal()
295 << cache_dir.value(); in BackendCheckCacheContentsInternal()
[all …]
Dexternal_cache_unittest.cc159 base::FilePath cache_dir(CreateCacheDir(false)); in TEST_F() local
160 ExternalCache external_cache(cache_dir, request_context_getter(), in TEST_F()
166 CreateExtensionFile(cache_dir, kTestExtensionId1, "1"); in TEST_F()
170 CreateExtensionFile(cache_dir, kTestExtensionId3, "3"); in TEST_F()
232 GetExtensionFile(cache_dir, kTestExtensionId2, "2"))); in TEST_F()
258 GetExtensionFile(cache_dir, kTestExtensionId4, "4"))); in TEST_F()
262 GetExtensionFile(cache_dir, kTestExtensionId2, "2")); in TEST_F()
266 GetExtensionFile(cache_dir, kTestExtensionId2, "2"))); in TEST_F()
279 GetExtensionFile(cache_dir, kTestExtensionId4, "4")); in TEST_F()
282 GetExtensionFile(cache_dir, kTestExtensionId4, "4"))); in TEST_F()
[all …]
Dexternal_cache.h59 ExternalCache(const base::FilePath& cache_dir,
129 const base::FilePath& cache_dir);
145 const base::FilePath& cache_dir,
150 const base::FilePath& cache_dir,
161 const base::FilePath& cache_dir,
Ddevice_local_account_external_policy_loader.cc21 const base::FilePath& cache_dir) in DeviceLocalAccountExternalPolicyLoader() argument
23 cache_dir_(cache_dir) { in DeviceLocalAccountExternalPolicyLoader()
Ddevice_local_account_external_policy_loader.h34 const base::FilePath& cache_dir);
/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_local_account_external_data_service.cc29 base::FilePath cache_dir; in DeviceLocalAccountExternalDataService() local
31 &cache_dir)); in DeviceLocalAccountExternalDataService()
32 resource_cache_.reset(new ResourceCache(cache_dir, backend_task_runner)); in DeviceLocalAccountExternalDataService()
/external/ceres-solver/scripts/
Dmake_docs.py48 cache_dir = build_root + "/doctrees" variable
60 os.system("%s -b html -d %s %s %s" %(sphinx_exe, cache_dir, src_dir, html_dir))
/external/chromium_org/native_client_sdk/src/build_tools/tests/
Dsdktools_test.py42 self.cache_dir = os.path.join(self.basedir, 'nacl_sdk', 'sdk_cache')
65 config_filename = os.path.join(self.cache_dir, 'naclsdk_config.json')
74 manifest_filename = os.path.join(self.cache_dir, MANIFEST_BASENAME)
80 manifest_filename = os.path.join(self.cache_dir, MANIFEST_BASENAME)
/external/chromium_org/base/
Dbase_paths_posix.cc107 FilePath cache_dir(base::nix::GetXDGDirectory(env.get(), "XDG_CACHE_HOME", in PathProviderPosix() local
109 *result = cache_dir; in PathProviderPosix()
/external/chromium/base/
Dbase_paths_linux.cc114 FilePath cache_dir(base::nix::GetXDGDirectory(env.get(), "XDG_CACHE_HOME", in PathProviderPosix() local
116 *result = cache_dir; in PathProviderPosix()
/external/chromium_org/chrome/browser/chromeos/app_mode/
Dkiosk_app_data_delegate.h19 virtual void GetKioskAppIconCacheDir(base::FilePath* cache_dir) = 0;
/external/chromium_org/chrome/browser/nacl_host/
Dnacl_browser_delegate_impl.cc50 bool NaClBrowserDelegateImpl::GetCacheDirectory(base::FilePath* cache_dir) { in GetCacheDirectory() argument
54 chrome::GetUserCacheDirectory(user_data_dir, cache_dir); in GetCacheDirectory()
Dnacl_browser_delegate_impl.h20 virtual bool GetCacheDirectory(base::FilePath* cache_dir) OVERRIDE;
/external/chromium_org/components/nacl/browser/
Dtest_nacl_browser_delegate.cc19 bool TestNaClBrowserDelegate::GetCacheDirectory(base::FilePath* cache_dir) { in GetCacheDirectory() argument
Dnacl_browser_delegate.h42 virtual bool GetCacheDirectory(base::FilePath* cache_dir) = 0;
Dtest_nacl_browser_delegate.h29 virtual bool GetCacheDirectory(base::FilePath* cache_dir) OVERRIDE;
/external/chromium_org/tools/valgrind/
Dscan-build.py124 def __init__(self, root_url, cache_dir): argument
128 self._cache = Cache(cache_dir)

12