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

Unified Diff: media/blink/multibuffer_unittest.cc

Issue 1989123003: Fix progress reporting for multibuffers to report progress for every byte we receive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 7 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
« no previous file with comments | « media/blink/multibuffer_reader.cc ('k') | media/blink/resource_multibuffer_data_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/multibuffer_unittest.cc
diff --git a/media/blink/multibuffer_unittest.cc b/media/blink/multibuffer_unittest.cc
index ba1fde5b0542ef5cc889571f6eea318a677a5f4a..c9aa7e055e9a14c793b0ef7ec85598470374ff08 100644
--- a/media/blink/multibuffer_unittest.cc
+++ b/media/blink/multibuffer_unittest.cc
@@ -65,6 +65,7 @@ class FakeMultiBufferDataProvider : public MultiBuffer::DataProvider {
MultiBufferBlockId Tell() const override { return pos_; }
bool Available() const override { return !fifo_.empty(); }
+ int64_t AvailableBytes() const override { return 0; }
scoped_refptr<DataBuffer> Read() override {
DCHECK(Available());
« no previous file with comments | « media/blink/multibuffer_reader.cc ('k') | media/blink/resource_multibuffer_data_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698