Index: net/disk_cache/simple/simple_test_util.h |
diff --git a/net/disk_cache/simple/simple_test_util.h b/net/disk_cache/simple/simple_test_util.h |
index 95ab0550e35e74f31c75c9e99fde64f7244b7c19..cef6b47c8680866e35c0b3507fe6ee2e03d96175 100644 |
--- a/net/disk_cache/simple/simple_test_util.h |
+++ b/net/disk_cache/simple/simple_test_util.h |
@@ -43,6 +43,14 @@ class ImmutableArray { |
bool CreateCorruptFileForTests(const std::string& key, |
const base::FilePath& cache_path); |
+// Removes the key SHA256 from an entry. |
+bool RemoveKeySHA256FromEntry(const std::string& key, |
+ const base::FilePath& cache_path); |
+ |
+// Modifies the key SHA256 from an entry so that it is corrupt. |
+bool CorruptKeySHA256FromEntry(const std::string& key, |
+ const base::FilePath& cache_path); |
+ |
} // namespace simple_backend |
} // namespace disk_cache |