| Index: net/disk_cache/simple/simple_index.h
|
| diff --git a/net/disk_cache/simple/simple_index.h b/net/disk_cache/simple/simple_index.h
|
| index fee2a1e93e0b814a8240945d5d70e62cf272a7d7..1adb0ecc48a3f4e177fc392eb0b1726a5e1d9d1c 100644
|
| --- a/net/disk_cache/simple/simple_index.h
|
| +++ b/net/disk_cache/simple/simple_index.h
|
| @@ -155,6 +155,12 @@ class NET_EXPORT_PRIVATE SimpleIndex
|
| // index has been initialized.
|
| uint64_t GetCacheSize() const;
|
|
|
| + // Returns the size of the cache entries accessed between |initial_time| and
|
| + // |end_time| in bytes. Can only be called after the index has been
|
| + // initialized.
|
| + uint64_t GetCacheSizeBetween(const base::Time initial_time,
|
| + const base::Time end_time) const;
|
| +
|
| // Returns whether the index has been initialized yet.
|
| bool initialized() const { return initialized_; }
|
|
|
|
|