/external/chromium_org/chrome/browser/extensions/updater/ |
D | local_extension_cache_unittest.cc | 120 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 …]
|
D | local_extension_cache.cc | 32 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 …]
|
D | local_extension_cache.h | 34 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/ |
D | simple_version_upgrade_unittest.cc | 47 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()
|
D | simple_index_file_unittest.cc | 160 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/ |
D | chrome_paths_unittest.cc | 19 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()
|
D | chrome_paths_linux.cc | 90 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()
|
D | chrome_paths_mac.mm | 142 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/ |
D | external_cache_unittest.cc | 160 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 …]
|
D | device_local_account_external_policy_loader.cc | 22 const base::FilePath& cache_dir) in DeviceLocalAccountExternalPolicyLoader() argument 24 cache_dir_(cache_dir) { in DeviceLocalAccountExternalPolicyLoader()
|
D | device_local_account_external_policy_loader.h | 34 const base::FilePath& cache_dir);
|
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
D | code_generator_v8.py | 102 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/ |
D | extension_garbage_collector_chromeos_unittest.cc | 46 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/ |
D | device_local_account_external_data_service.cc | 29 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/ |
D | kiosk_app_manager.cc | 442 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()
|
D | kiosk_app_data_delegate.h | 19 virtual void GetKioskAppIconCacheDir(base::FilePath* cache_dir) = 0;
|
D | kiosk_app_manager.h | 230 virtual void GetKioskAppIconCacheDir(base::FilePath* cache_dir) OVERRIDE; 262 void GetCrxCacheDir(base::FilePath* cache_dir);
|
/external/chromium_org/extensions/shell/browser/ |
D | shell_nacl_browser_delegate.cc | 85 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/ |
D | make_docs.py | 49 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/ |
D | sdktools_test.py | 42 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/ |
D | base_paths_posix.cc | 107 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/ |
D | nacl_browser_delegate_impl.cc | 110 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/ |
D | test_nacl_browser_delegate.cc | 18 bool TestNaClBrowserDelegate::GetCacheDirectory(base::FilePath* cache_dir) { in GetCacheDirectory() argument
|
D | nacl_browser_delegate.h | 40 virtual bool GetCacheDirectory(base::FilePath* cache_dir) = 0;
|
D | test_nacl_browser_delegate.h | 28 virtual bool GetCacheDirectory(base::FilePath* cache_dir) OVERRIDE;
|