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

Unified Diff: net/disk_cache/memory/mem_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/memory/mem_entry_impl.h
diff --git a/net/disk_cache/memory/mem_entry_impl.h b/net/disk_cache/memory/mem_entry_impl.h
index fe5104bb845785717fdcce29d5213eb06c979472..c079d57e37008f0b5f124713e15866443252a444 100644
--- a/net/disk_cache/memory/mem_entry_impl.h
+++ b/net/disk_cache/memory/mem_entry_impl.h
@@ -93,6 +93,7 @@ class MemEntryImpl : 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 index,
int offset,
IOBuffer* buf,

Powered by Google App Engine
This is Rietveld 408576698