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

Unified Diff: content/browser/blob_storage/blob_reader_unittest.cc

Issue 2556363003: Refactor cache counting into a separate helper class (Closed)
Patch Set: extract cache_test_util and fixes 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: content/browser/blob_storage/blob_reader_unittest.cc
diff --git a/content/browser/blob_storage/blob_reader_unittest.cc b/content/browser/blob_storage/blob_reader_unittest.cc
index 399af8f4731de47bac1954b246d91678250d5e4d..ad1194bc1f51bf135f9b5f43ce3a77609f7353af 100644
--- a/content/browser/blob_storage/blob_reader_unittest.cc
+++ b/content/browser/blob_storage/blob_reader_unittest.cc
@@ -103,6 +103,8 @@ class DelayedReadEntry : public disk_cache::Entry {
return entry_->GetDataSize(index);
}
+ int64_t GetEntrySize() const override { return entry_->GetEntrySize(); }
+
int ReadData(int index,
int offset,
IOBuffer* buf,

Powered by Google App Engine
This is Rietveld 408576698