Home
last modified time | relevance | path

Searched refs:cache_dir_ (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/net/disk_cache/
Dcache_util_unittest.cc18 cache_dir_ = tmp_dir_.path().Append(FILE_PATH_LITERAL("Cache")); in SetUp()
19 file1_ = base::FilePath(cache_dir_.Append(FILE_PATH_LITERAL("file01"))); in SetUp()
20 file2_ = base::FilePath(cache_dir_.Append(FILE_PATH_LITERAL(".file02"))); in SetUp()
21 dir1_ = base::FilePath(cache_dir_.Append(FILE_PATH_LITERAL("dir01"))); in SetUp()
23 ASSERT_TRUE(base::CreateDirectory(cache_dir_)); in SetUp()
43 base::FilePath cache_dir_; member in disk_cache::CacheUtilTest
55 EXPECT_TRUE(disk_cache::MoveCache(cache_dir_, dest_dir_)); in TEST_F()
61 EXPECT_TRUE(base::PathExists(cache_dir_)); // old cache dir stays in TEST_F()
63 EXPECT_FALSE(base::PathExists(cache_dir_)); // old cache is gone in TEST_F()
71 disk_cache::DeleteCache(cache_dir_, false); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/updater/
Dlocal_extension_cache_unittest.cc53 EXPECT_TRUE(cache_dir_.CreateUniqueTempDir()); in CreateCacheDir()
55 CreateFlagFile(cache_dir_.path()); in CreateCacheDir()
56 return cache_dir_.path(); in CreateCacheDir()
109 base::ScopedTempDir cache_dir_; member in extensions::LocalExtensionCacheTest
Dlocal_extension_cache.cc36 : cache_dir_(cache_dir), in LocalExtensionCache()
131 cache_dir_, in PutExtension()
149 &LocalExtensionCache::BackendRemoveCacheEntry, cache_dir_, id)); in RemoveExtension()
185 cache_dir_, in CheckCacheStatus()
240 cache_dir_, in CheckCacheContents()
Dlocal_extension_cache.h180 base::FilePath cache_dir_; variable
/external/chromium_org/chrome/browser/chromeos/extensions/
Ddevice_local_account_external_policy_loader_unittest.cc108 base::FilePath cache_dir_; member in chromeos::DeviceLocalAccountExternalPolicyLoaderTest
131 cache_dir_ = temp_dir_.path().Append(kCacheDir); in SetUp()
132 ASSERT_TRUE(base::CreateDirectoryAndGetError(cache_dir_, NULL)); in SetUp()
139 loader_ = new DeviceLocalAccountExternalPolicyLoader(&store_, cache_dir_); in SetUp()
274 const base::FilePath cached_crx_path = cache_dir_.Append(base::StringPrintf( in TEST_F()
Ddevice_local_account_external_policy_loader.cc24 cache_dir_(cache_dir) { in DeviceLocalAccountExternalPolicyLoader()
36 cache_dir_, in StartCache()
Dexternal_cache_unittest.cc90 EXPECT_TRUE(cache_dir_.CreateUniqueTempDir()); in CreateCacheDir()
92 CreateFlagFile(cache_dir_.path()); in CreateCacheDir()
93 return cache_dir_.path(); in CreateCacheDir()
151 base::ScopedTempDir cache_dir_; member in chromeos::ExternalCacheTest
Ddevice_local_account_external_policy_loader.h72 const base::FilePath cache_dir_; variable
/external/chromium_org/chrome/browser/extensions/
Dextension_garbage_collector_chromeos_unittest.cc46 const base::FilePath& cache_dir() { return cache_dir_.path(); } in cache_dir()
65 CHECK(cache_dir_.CreateUniqueTempDir()); in SetUp()
155 base::ScopedTempDir cache_dir_; member in extensions::ExtensionGarbageCollectorChromeOSUnitTest
/external/chromium_org/components/policy/core/common/cloud/
Dresource_cache.cc65 : cache_dir_(cache_dir), in ResourceCache()
183 cache_dir_, false, base::FileEnumerator::DIRECTORIES); in PurgeOtherKeys()
223 *path = cache_dir_.AppendASCII(encoded); in VerifyKeyPath()
Dresource_cache.h87 base::FilePath cache_dir_; variable
/external/chromium_org/chrome/browser/chromeos/drive/
Dfake_file_system.cc29 CHECK(cache_dir_.CreateUniqueTempDir()); in FakeFileSystem()
288 cache_dir_.path().AppendASCII(entry->resource_id()); in GetFileContentAfterGetFileResource()
Dfake_file_system.h182 base::ScopedTempDir cache_dir_; variable