diff options
Diffstat (limited to 'chromium/net/disk_cache/blockfile/entry_impl.cc')
-rw-r--r-- | chromium/net/disk_cache/blockfile/entry_impl.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/net/disk_cache/blockfile/entry_impl.cc b/chromium/net/disk_cache/blockfile/entry_impl.cc index 16e49b9787e..489b2ccc8e9 100644 --- a/chromium/net/disk_cache/blockfile/entry_impl.cc +++ b/chromium/net/disk_cache/blockfile/entry_impl.cc @@ -925,6 +925,10 @@ int EntryImpl::ReadyForSparseIO(const CompletionCallback& callback) { return net::ERR_IO_PENDING; } +void EntryImpl::SetLastUsedTimeForTest(base::Time time) { + SetTimes(time, time); +} + // When an entry is deleted from the cache, we clean up all the data associated // with it for two reasons: to simplify the reuse of the block (we know that any // unused block is filled with zeros), and to simplify the handling of write / |