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

Unified Diff: media/filters/file_data_source_unittest.cc

Issue 10451049: Track buffered byte ranges correctly in media::Pipeline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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
Index: media/filters/file_data_source_unittest.cc
diff --git a/media/filters/file_data_source_unittest.cc b/media/filters/file_data_source_unittest.cc
index c7748ab58c9759bc4833f9708470d83b003d83c1..e80695bd87aac7d5fd1c67a39d8e10f86e201a21 100644
--- a/media/filters/file_data_source_unittest.cc
+++ b/media/filters/file_data_source_unittest.cc
@@ -53,7 +53,7 @@ std::string TestFileURL() {
TEST(FileDataSourceTest, OpenFile) {
StrictMock<MockDataSourceHost> host;
EXPECT_CALL(host, SetTotalBytes(10));
- EXPECT_CALL(host, SetBufferedBytes(10));
+ EXPECT_CALL(host, AddBufferedByteRange(0, 10));
scoped_refptr<FileDataSource> filter(new FileDataSource());
filter->set_host(&host);

Powered by Google App Engine
This is Rietveld 408576698