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

Unified Diff: media/base/pipeline_impl.cc

Issue 1904793002: Move Pipeline permanent callbacks into Pipeline::Client interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed permanent callbacks Created 4 years, 8 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: media/base/pipeline_impl.cc
diff --git a/media/base/pipeline_impl.cc b/media/base/pipeline_impl.cc
index 5f4705b5d2639c6b4b2dd65bceacc72178d26d9c..b7d184ef1035a05b956143718ae7817d0e7cc680 100644
--- a/media/base/pipeline_impl.cc
+++ b/media/base/pipeline_impl.cc
@@ -33,9 +33,11 @@ using base::TimeDelta;
namespace media {
PipelineImpl::PipelineImpl(
+ PipelineClient* client,
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
MediaLog* media_log)
- : task_runner_(task_runner),
+ : Pipeline(client),
+ task_runner_(task_runner),
media_log_(media_log),
running_(false),
did_loading_progress_(false),

Powered by Google App Engine
This is Rietveld 408576698