Home | History | Annotate | Download | only in simple

Lines Matching defs:cache_path

34 bool WriteFakeIndexFileV5(const base::FilePath& cache_path) {
40 const base::FilePath file_name = cache_path.AppendASCII("index");
49 const base::FilePath cache_path = cache_dir.path();
56 const base::FilePath file_name = cache_path.AppendASCII(kFakeIndexFileName);
66 const base::FilePath cache_path = cache_dir.path();
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 = cache_dir.path();
95 WriteFakeIndexFileV5(cache_path);
97 const base::FilePath index_file = cache_path.AppendASCII(kIndexFileName);
112 base::WriteFile(cache_path.AppendASCII(file_name),
119 ASSERT_TRUE(disk_cache::UpgradeIndexV5V6(cache_path));
131 EXPECT_TRUE(base::ReadFileToString(cache_path.AppendASCII(file_name),