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

Unified Diff: media/base/mock_demuxer_host.h

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
« no previous file with comments | « media/base/mock_data_source_host.h ('k') | media/base/pipeline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mock_demuxer_host.h
diff --git a/media/base/mock_demuxer_host.h b/media/base/mock_demuxer_host.h
index 4c46fa9e567185faaadff5182c0faa301590df41..cdb550972ab8ad5b341125e6380b5ac82bb5ca78 100644
--- a/media/base/mock_demuxer_host.h
+++ b/media/base/mock_demuxer_host.h
@@ -19,13 +19,12 @@ class MockDemuxerHost : public DemuxerHost {
// DataSourceHost implementation.
MOCK_METHOD1(SetTotalBytes, void(int64 total_bytes));
- MOCK_METHOD1(SetBufferedBytes, void(int64 buffered_bytes));
+ MOCK_METHOD2(AddBufferedByteRange, void(int64 start, int64 end));
MOCK_METHOD1(SetNetworkActivity, void(bool network_activity));
// DemuxerHost implementation.
MOCK_METHOD1(OnDemuxerError, void(PipelineStatus error));
MOCK_METHOD1(SetDuration, void(base::TimeDelta duration));
- MOCK_METHOD1(SetCurrentReadPosition, void(int64 offset));
private:
DISALLOW_COPY_AND_ASSIGN(MockDemuxerHost);
« no previous file with comments | « media/base/mock_data_source_host.h ('k') | media/base/pipeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698