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

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

Issue 1304363013: Add a size estimation mechanism to StoragePartitionHttpCacheDataRemover. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed some spots again. Created 5 years, 3 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_entry_impl.h
diff --git a/net/disk_cache/simple/simple_entry_impl.h b/net/disk_cache/simple/simple_entry_impl.h
index ba544e3616eb3ad675f54e7b104bfe4cdcbb3746..be8e57cdf92440ec1d939ebd9caf104155319844 100644
--- a/net/disk_cache/simple/simple_entry_impl.h
+++ b/net/disk_cache/simple/simple_entry_impl.h
@@ -86,6 +86,7 @@ class NET_EXPORT_PRIVATE SimpleEntryImpl : public Entry,
base::Time GetLastUsed() const override;
base::Time GetLastModified() const override;
int32 GetDataSize(int index) const override;
+ int GetEntrySize() const override;
int ReadData(int stream_index,
int offset,
net::IOBuffer* buf,

Powered by Google App Engine
This is Rietveld 408576698