Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(589)

Unified Diff: net/disk_cache/simple/simple_synchronous_entry.h

Issue 13913010: Add Cache size to the Simple Index. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/disk_cache/simple/simple_synchronous_entry.h
diff --git a/net/disk_cache/simple/simple_synchronous_entry.h b/net/disk_cache/simple/simple_synchronous_entry.h
index cb2487e71c7fabbd6b367ea9f7c4aa6d62af0525..e788f8584cdce095dc3bd8c0d885160c7bffedc1 100644
--- a/net/disk_cache/simple/simple_synchronous_entry.h
+++ b/net/disk_cache/simple/simple_synchronous_entry.h
@@ -78,6 +78,8 @@ class SimpleSynchronousEntry {
base::Time last_modified() const { return last_modified_; }
int32 data_size(int index) const { return data_size_[index]; }
+ int64 GetFileSize() const;
gavinp 2013/04/10 10:33:23 Nice.
felipeg 2013/04/10 11:45:35 Done.
gavinp 2013/04/10 14:49:29 Done!
+
private:
SimpleSynchronousEntry(
const scoped_refptr<base::TaskRunner>& callback_runner,

Powered by Google App Engine
This is Rietveld 408576698