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

Unified Diff: media/base/data_source.cc

Issue 212803004: Separate DemuxerHost from DataSourceHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 9 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/data_source.h ('k') | media/base/demuxer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/data_source.cc
diff --git a/media/base/data_source.cc b/media/base/data_source.cc
index 91f526086091b8d1dcc6c97ced79a8bb7a75ad92..fb5012810d4ec2bd10905edba5a356574a288519 100644
--- a/media/base/data_source.cc
+++ b/media/base/data_source.cc
@@ -13,16 +13,8 @@ const int DataSource::kReadError = -1;
DataSourceHost::~DataSourceHost() {}
-DataSource::DataSource() : host_(NULL) {}
+DataSource::DataSource() {}
DataSource::~DataSource() {}
-void DataSource::set_host(DataSourceHost* host) {
- DCHECK(host);
- DCHECK(!host_);
- host_ = host;
-}
-
-DataSourceHost* DataSource::host() { return host_; }
-
} // namespace media
« no previous file with comments | « media/base/data_source.h ('k') | media/base/demuxer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698