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

Unified Diff: media/base/mock_data_source_host.h

Issue 10581050: Ensure media's buffered ranges always have a range that includes currentTime. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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/demuxer_stream.h ('k') | media/base/mock_demuxer_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mock_data_source_host.h
diff --git a/media/base/mock_data_source_host.h b/media/base/mock_data_source_host.h
index 83db55011a550676d3ee8acd821a86bdf97c614e..914d0556136cf903d9ce95b34b9a0f1354777688 100644
--- a/media/base/mock_data_source_host.h
+++ b/media/base/mock_data_source_host.h
@@ -20,6 +20,8 @@ class MockDataSourceHost : public DataSourceHost {
// DataSourceHost implementation.
MOCK_METHOD1(SetTotalBytes, void(int64 total_bytes));
MOCK_METHOD2(AddBufferedByteRange, void(int64 start, int64 end));
+ MOCK_METHOD2(AddBufferedTimeRange, void(base::TimeDelta start,
+ base::TimeDelta end));
private:
DISALLOW_COPY_AND_ASSIGN(MockDataSourceHost);
« no previous file with comments | « media/base/demuxer_stream.h ('k') | media/base/mock_demuxer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698