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

Unified Diff: chrome/utility/media_galleries/ipc_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
Index: chrome/utility/media_galleries/ipc_data_source.cc
diff --git a/chrome/utility/media_galleries/ipc_data_source.cc b/chrome/utility/media_galleries/ipc_data_source.cc
index 569b6876999e25c63fdaa7e1b65f6fd0f8830890..a734fa1262735500faac42d7de02fa91b50f69c4 100644
--- a/chrome/utility/media_galleries/ipc_data_source.cc
+++ b/chrome/utility/media_galleries/ipc_data_source.cc
@@ -21,14 +21,6 @@ IPCDataSource::~IPCDataSource() {
DCHECK(utility_thread_checker_.CalledOnValidThread());
}
-void IPCDataSource::set_host(media::DataSourceHost* host) {
- DCHECK(data_source_thread_checker_.CalledOnValidThread());
- DataSource::set_host(host);
- if (media::DataSource::host()) {
- media::DataSource::host()->SetTotalBytes(total_size_);
- }
-}
-
void IPCDataSource::Stop(const base::Closure& callback) {
DCHECK(data_source_thread_checker_.CalledOnValidThread());
callback.Run();
« no previous file with comments | « chrome/utility/media_galleries/ipc_data_source.h ('k') | content/renderer/media/android/media_source_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698