OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Implements the DemuxerFactory interface using DummyDemuxer. | |
6 | |
7 #ifndef MEDIA_FILTERS_DUMMY_DEMUXER_FACTORY_H_ | |
8 #define MEDIA_FILTERS_DUMMY_DEMUXER_FACTORY_H_ | |
9 | |
10 #include "base/compiler_specific.h" | |
11 #include "media/base/demuxer_factory.h" | |
12 | |
13 namespace media { | |
14 | |
15 class MEDIA_EXPORT DummyDemuxerFactory : public DemuxerFactory { | |
16 public: | |
17 DummyDemuxerFactory(bool has_video, bool has_audio, bool local_source); | |
18 virtual ~DummyDemuxerFactory(); | |
19 | |
20 // DemuxerFactory methods. | |
21 virtual void Build(const std::string& url, const BuildCallback& cb) OVERRIDE; | |
22 | |
23 private: | |
24 bool has_video_; | |
25 bool has_audio_; | |
26 bool local_source_; | |
27 | |
28 DISALLOW_IMPLICIT_CONSTRUCTORS(DummyDemuxerFactory); | |
29 }; | |
30 | |
31 } // namespace media | |
32 | |
33 #endif // MEDIA_FILTERS_DUMMY_DEMUXER_FACTORY_H_ | |
OLD | NEW |