Home
last modified time | relevance | path

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

12

/external/chromium_org/chrome/browser/extensions/updater/
Dlocal_extension_cache_unittest.cc120 base::FilePath cache_dir(CreateCacheDir(false)); in TEST_F() local
122 LocalExtensionCache cache(cache_dir, in TEST_F()
134 CreateExtensionFile(cache_dir, kTestExtensionId1, "1.0", 100, in TEST_F()
136 CreateExtensionFile(cache_dir, kTestExtensionId1, "0.1", 100, in TEST_F()
138 CreateExtensionFile(cache_dir, kTestExtensionId2, "2.0", 100, in TEST_F()
140 CreateExtensionFile(cache_dir, kTestExtensionId3, "3.0", 900, in TEST_F()
143 CreateFlagFile(cache_dir); in TEST_F()
150 GetExtensionFileName(cache_dir, kTestExtensionId1, "0.1"))); in TEST_F()
165 GetExtensionFileName(cache_dir, kTestExtensionId1, "1.0"))); in TEST_F()
167 GetExtensionFileName(cache_dir, kTestExtensionId2, "2.0"))); in TEST_F()
[all …]
Dlocal_extension_cache.cc32 const base::FilePath& cache_dir, in LocalExtensionCache() argument
36 : cache_dir_(cache_dir), in LocalExtensionCache()
192 const base::FilePath& cache_dir, in BackendCheckCacheStatus() argument
195 base::PathExists(cache_dir.AppendASCII(kCacheReadyFlagFileName)); in BackendCheckCacheStatus()
200 << cache_dir.AppendASCII(kCacheReadyFlagFileName).value() in BackendCheckCacheStatus()
247 const base::FilePath& cache_dir, in BackendCheckCacheContents() argument
250 BackendCheckCacheContentsInternal(cache_dir, cache_content.get()); in BackendCheckCacheContents()
262 const base::FilePath& cache_dir, in BackendCheckCacheContentsInternal() argument
265 if (!base::DirectoryExists(cache_dir)) { in BackendCheckCacheContentsInternal()
267 if (!base::CreateDirectory(cache_dir)) { in BackendCheckCacheContentsInternal()
[all …]
Dlocal_extension_cache.h34 LocalExtensionCache(const base::FilePath& cache_dir,
116 const base::FilePath& cache_dir,
133 const base::FilePath& cache_dir,
138 const base::FilePath& cache_dir,
155 const base::FilePath& cache_dir,
169 static void BackendRemoveCacheEntry(const base::FilePath& cache_dir,
/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.cc160 base::ScopedTempDir cache_dir; in TEST_F() local
161 ASSERT_TRUE(cache_dir.CreateUniqueTempDir()); in TEST_F()
163 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.cc19 base::FilePath test_profile_dir, cache_dir; in TEST() local
44 chrome::GetUserCacheDirectory(test_profile_dir, &cache_dir); in TEST()
45 EXPECT_EQ(expected_cache_dir.value(), cache_dir.value()); in TEST()
51 chrome::GetUserCacheDirectory(test_profile_dir, &cache_dir); in TEST()
53 EXPECT_EQ(expected_cache_dir.value(), cache_dir.value()); in TEST()
55 EXPECT_EQ(test_profile_dir.value(), cache_dir.value()); in TEST()
Dchrome_paths_linux.cc90 base::FilePath cache_dir; in GetUserCacheDirectory() local
91 if (!PathService::Get(base::DIR_CACHE, &cache_dir)) in GetUserCacheDirectory()
97 if (!config_dir.AppendRelativePath(profile_dir, &cache_dir)) in GetUserCacheDirectory()
100 *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_org/chrome/browser/chromeos/extensions/
Dexternal_cache_unittest.cc160 base::FilePath cache_dir(CreateCacheDir(false)); in TEST_F() local
161 ExternalCache external_cache(cache_dir, request_context_getter(), in TEST_F()
167 CreateExtensionFile(cache_dir, kTestExtensionId1, "1"); in TEST_F()
171 CreateExtensionFile(cache_dir, kTestExtensionId3, "3"); in TEST_F()
234 GetExtensionFile(cache_dir, kTestExtensionId2, "2"))); in TEST_F()
261 GetExtensionFile(cache_dir, kTestExtensionId4, "4"))); in TEST_F()
265 GetExtensionFile(cache_dir, kTestExtensionId2, "2")); in TEST_F()
269 GetExtensionFile(cache_dir, kTestExtensionId2, "2"))); in TEST_F()
282 GetExtensionFile(cache_dir, kTestExtensionId4, "4")); in TEST_F()
285 GetExtensionFile(cache_dir, kTestExtensionId4, "4"))); in TEST_F()
[all …]
Ddevice_local_account_external_policy_loader.cc22 const base::FilePath& cache_dir) in DeviceLocalAccountExternalPolicyLoader() argument
24 cache_dir_(cache_dir) { in DeviceLocalAccountExternalPolicyLoader()
Ddevice_local_account_external_policy_loader.h34 const base::FilePath& cache_dir);
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/
Dcode_generator_v8.py102 def __init__(self, interfaces_info, cache_dir, output_dir): argument
105 self.jinja_env = initialize_jinja_env(cache_dir)
131 def __init__(self, interfaces_info, cache_dir, output_dir): argument
132 CodeGeneratorBase.__init__(self, interfaces_info, cache_dir, output_dir)
198 def __init__(self, interfaces_info, cache_dir, output_dir): argument
199 CodeGeneratorBase.__init__(self, interfaces_info, cache_dir, output_dir)
227 def initialize_jinja_env(cache_dir): argument
232 bytecode_cache=jinja2.FileSystemBytecodeCache(cache_dir),
290 cache_dir = argv[1]
297 jinja_env = initialize_jinja_env(cache_dir)
/external/chromium_org/chrome/browser/extensions/
Dextension_garbage_collector_chromeos_unittest.cc46 const base::FilePath& cache_dir() { return cache_dir_.path(); } in cache_dir() function in extensions::ExtensionGarbageCollectorChromeOSUnitTest
66 ExtensionAssetsManagerChromeOS::SetSharedInstallDirForTesting(cache_dir()); in SetUp()
162 kExtensionId1, "1.0", cache_dir()); in TEST_F()
168 kExtensionId1, "2.0", cache_dir()); in TEST_F()
175 kExtensionId2, "1.0", cache_dir()); in TEST_F()
193 EXPECT_FALSE(base::PathExists(cache_dir().AppendASCII(kExtensionId1))); in TEST_F()
/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/chromium_org/chrome/browser/chromeos/app_mode/
Dkiosk_app_manager.cc442 base::FilePath cache_dir; in KioskAppManager() local
443 GetCrxCacheDir(&cache_dir); in KioskAppManager()
445 new ExternalCache(cache_dir, in KioskAppManager()
465 base::FilePath cache_dir; in MonitorKioskExternalUpdate() local
466 GetCrxCacheDir(&cache_dir); in MonitorKioskExternalUpdate()
470 GetBackgroundTaskRunner(), cache_dir, unpack_dir)); in MonitorKioskExternalUpdate()
564 void KioskAppManager::GetKioskAppIconCacheDir(base::FilePath* cache_dir) { in GetKioskAppIconCacheDir() argument
567 *cache_dir = user_data_dir.AppendASCII(kIconCacheDir); in GetKioskAppIconCacheDir()
626 void KioskAppManager::GetCrxCacheDir(base::FilePath* cache_dir) { in GetCrxCacheDir() argument
629 *cache_dir = user_data_dir.AppendASCII(kCrxCacheDir); in GetCrxCacheDir()
Dkiosk_app_data_delegate.h19 virtual void GetKioskAppIconCacheDir(base::FilePath* cache_dir) = 0;
Dkiosk_app_manager.h230 virtual void GetKioskAppIconCacheDir(base::FilePath* cache_dir) OVERRIDE;
262 void GetCrxCacheDir(base::FilePath* cache_dir);
/external/chromium_org/extensions/shell/browser/
Dshell_nacl_browser_delegate.cc85 bool ShellNaClBrowserDelegate::GetCacheDirectory(base::FilePath* cache_dir) { in GetCacheDirectory() argument
88 return PathService::Get(base::DIR_CACHE, cache_dir); in GetCacheDirectory()
91 return PathService::Get(base::DIR_TEMP, cache_dir); in GetCacheDirectory()
/external/ceres-solver/scripts/
Dmake_docs.py49 cache_dir = build_root + '/doctrees' variable
61 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_org/chrome/browser/nacl_host/
Dnacl_browser_delegate_impl.cc110 bool NaClBrowserDelegateImpl::GetCacheDirectory(base::FilePath* cache_dir) { in GetCacheDirectory() argument
114 chrome::GetUserCacheDirectory(user_data_dir, cache_dir); in GetCacheDirectory()
/external/chromium_org/components/nacl/browser/
Dtest_nacl_browser_delegate.cc18 bool TestNaClBrowserDelegate::GetCacheDirectory(base::FilePath* cache_dir) { in GetCacheDirectory() argument
Dnacl_browser_delegate.h40 virtual bool GetCacheDirectory(base::FilePath* cache_dir) = 0;
Dtest_nacl_browser_delegate.h28 virtual bool GetCacheDirectory(base::FilePath* cache_dir) OVERRIDE;

12