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

Unified Diff: net/disk_cache/blockfile/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: Created 5 years, 4 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/blockfile/entry_impl.h
diff --git a/net/disk_cache/blockfile/entry_impl.h b/net/disk_cache/blockfile/entry_impl.h
index aafb59b66a295d0df8f1b417d85430ee0ef5bf28..160b4d8736f76d0b5f414f0b79e75296eded3277 100644
--- a/net/disk_cache/blockfile/entry_impl.h
+++ b/net/disk_cache/blockfile/entry_impl.h
@@ -153,6 +153,7 @@ class NET_EXPORT_PRIVATE EntryImpl
base::Time GetLastUsed() const override;
base::Time GetLastModified() const override;
int32 GetDataSize(int index) const override;
+ int GetEntrySize() const override;
int ReadData(int index,
int offset,
IOBuffer* buf,

Powered by Google App Engine
This is Rietveld 408576698