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

Unified Diff: media/base/mock_filters.cc

Issue 8936014: Removing DataSource from Filter hierarchy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved preload into a separate file. Created 9 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: media/base/mock_filters.cc
diff --git a/media/base/mock_filters.cc b/media/base/mock_filters.cc
index d398448e063f677fdd6c49a33660fc310d44ac83..a4066200f89b5b1b2346e9576ace4b5bf77d7c6c 100644
--- a/media/base/mock_filters.cc
+++ b/media/base/mock_filters.cc
@@ -20,8 +20,8 @@ MockDataSource::MockDataSource()
MockDataSource::~MockDataSource() {}
-void MockDataSource::set_host(FilterHost* filter_host) {
- Filter::set_host(filter_host);
+void MockDataSource::set_host(DataSourceHost* data_source_host) {
+ DataSource::set_host(data_source_host);
if (total_bytes_ > 0)
host()->SetTotalBytes(total_bytes_);
@@ -74,8 +74,8 @@ MockDemuxer::MockDemuxer()
MockDemuxer::~MockDemuxer() {}
-void MockDemuxer::set_host(FilterHost* filter_host) {
- Demuxer::set_host(filter_host);
+void MockDemuxer::set_host(DemuxerHost* demuxer_host) {
+ Demuxer::set_host(demuxer_host);
if (total_bytes_ > 0)
host()->SetTotalBytes(total_bytes_);
« no previous file with comments | « media/base/mock_filters.h ('k') | media/base/pipeline.h » ('j') | media/media.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698