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

Unified Diff: media/base/pipeline_impl.h

Issue 6648004: DemuxerFactory is born! (Closed)
Patch Set: Responses to scherkus@ CR Created 9 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/mock_filters.cc ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline_impl.h
diff --git a/media/base/pipeline_impl.h b/media/base/pipeline_impl.h
index a5106d3ec74f310f516530cc301cde05b0a76d03..735cd8350eb36140795034f14d8489ae58d4b45d 100644
--- a/media/base/pipeline_impl.h
+++ b/media/base/pipeline_impl.h
@@ -100,7 +100,6 @@ class PipelineImpl : public Pipeline, public FilterHost {
// Pipeline states, as described above.
enum State {
kCreated,
- kInitDataSource,
kInitDemuxer,
kInitAudioDecoder,
kInitAudioRenderer,
@@ -251,10 +250,8 @@ class PipelineImpl : public Pipeline, public FilterHost {
// The following initialize methods are used to select a specific type of
// Filter object from FilterCollection and initialize it asynchronously.
- void InitializeDataSource();
- void OnDataSourceBuilt(PipelineError error, DataSource* data_source);
-
- void InitializeDemuxer(const scoped_refptr<DataSource>& data_source);
+ void InitializeDemuxer();
+ void OnDemuxerBuilt(PipelineError error, Demuxer* demuxer);
// Returns true if the asynchronous action of creating decoder has started.
// Returns false if this method did nothing because the corresponding
« no previous file with comments | « media/base/mock_filters.cc ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698