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

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

Issue 2556363003: Refactor cache counting into a separate helper class (Closed)
Patch Set: cleanup Created 4 years 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_entry_impl.h
diff --git a/net/disk_cache/simple/simple_entry_impl.h b/net/disk_cache/simple/simple_entry_impl.h
index 7df3f4f0eb33d6ddec087a07cb0c86096a5cb1e8..21de989334e2267a4825b36b85a2177dfeb55aa1 100644
--- a/net/disk_cache/simple/simple_entry_impl.h
+++ b/net/disk_cache/simple/simple_entry_impl.h
@@ -95,6 +95,7 @@ class NET_EXPORT_PRIVATE SimpleEntryImpl : public Entry,
base::Time GetLastUsed() const override;
base::Time GetLastModified() const override;
int32_t GetDataSize(int index) const override;
+ int64_t GetEntrySize() const override;
int ReadData(int stream_index,
int offset,
net::IOBuffer* buf,

Powered by Google App Engine
This is Rietveld 408576698