Index: net/disk_cache/simple/simple_backend_impl.h |
diff --git a/net/disk_cache/simple/simple_backend_impl.h b/net/disk_cache/simple/simple_backend_impl.h |
index c9debd0acc1f1912bae892e84227b9df3e28b0f6..4e985cd568589daeda49946caed09d9f109ccc33 100644 |
--- a/net/disk_cache/simple/simple_backend_impl.h |
+++ b/net/disk_cache/simple/simple_backend_impl.h |
@@ -140,6 +140,10 @@ class NET_EXPORT_PRIVATE SimpleBackendImpl : public Backend, |
const CompletionCallback& callback, |
int result); |
+ // Calculates the size of the entire cache. Invoked when the index is ready. |
+ void IndexReadyForCalculation(const CompletionCallback& callback, |
gavinp
2015/10/13 15:50:12
Calculation is a really generic name. I'm also not
msramek
2015/10/13 17:25:50
Done.
|
+ int result); |
+ |
// Try to create the directory if it doesn't exist. This must run on the IO |
// thread. |
static DiskStatResult InitCacheStructureOnDisk(const base::FilePath& path, |