| Index: net/disk_cache/disk_cache.h
|
| diff --git a/net/disk_cache/disk_cache.h b/net/disk_cache/disk_cache.h
|
| index 84c1ee99516654258486494a8afeacfb70ddc31d..3f7f0035fc5c2736f52fafbe01f71488216590d8 100644
|
| --- a/net/disk_cache/disk_cache.h
|
| +++ b/net/disk_cache/disk_cache.h
|
| @@ -145,6 +145,12 @@ class NET_EXPORT Backend {
|
| virtual int DoomEntriesSince(base::Time initial_time,
|
| const CompletionCallback& callback) = 0;
|
|
|
| + // Calculate the total size of the cache. The return value is the size in
|
| + // bytes or a net error code. If this method returns ERR_IO_PENDING,
|
| + // the |callback| will be invoked when the operation completes.
|
| + virtual int CalculateSizeOfAllEntries(
|
| + const CompletionCallback& callback) = 0;
|
| +
|
| // Returns an iterator which will enumerate all entries of the cache in an
|
| // undefined order.
|
| virtual scoped_ptr<Iterator> CreateIterator() = 0;
|
|
|