| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MEDIA_FILTERS_DECODER_SELECTOR_H_ | 5 #ifndef MEDIA_FILTERS_DECODER_SELECTOR_H_ |
| 6 #define MEDIA_FILTERS_DECODER_SELECTOR_H_ | 6 #define MEDIA_FILTERS_DECODER_SELECTOR_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
| 12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 13 #include "build/build_config.h" | 14 #include "build/build_config.h" |
| 14 #include "media/base/demuxer_stream.h" | 15 #include "media/base/demuxer_stream.h" |
| 15 #include "media/base/pipeline_status.h" | 16 #include "media/base/pipeline_status.h" |
| 16 #include "media/filters/decoder_stream_traits.h" | 17 #include "media/filters/decoder_stream_traits.h" |
| 17 | 18 |
| 18 namespace base { | 19 namespace base { |
| 19 class SingleThreadTaskRunner; | 20 class SingleThreadTaskRunner; |
| 20 } | 21 } |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 106 |
| 106 DISALLOW_IMPLICIT_CONSTRUCTORS(DecoderSelector); | 107 DISALLOW_IMPLICIT_CONSTRUCTORS(DecoderSelector); |
| 107 }; | 108 }; |
| 108 | 109 |
| 109 typedef DecoderSelector<DemuxerStream::VIDEO> VideoDecoderSelector; | 110 typedef DecoderSelector<DemuxerStream::VIDEO> VideoDecoderSelector; |
| 110 typedef DecoderSelector<DemuxerStream::AUDIO> AudioDecoderSelector; | 111 typedef DecoderSelector<DemuxerStream::AUDIO> AudioDecoderSelector; |
| 111 | 112 |
| 112 } // namespace media | 113 } // namespace media |
| 113 | 114 |
| 114 #endif // MEDIA_FILTERS_DECODER_SELECTOR_H_ | 115 #endif // MEDIA_FILTERS_DECODER_SELECTOR_H_ |
| OLD | NEW |