Updating trunk VERSION from 935.0 to 936.0
[chromium-blink-merge.git] / media / filters / dummy_demuxer_factory.h
blob66627998690f0c12fb1b836f5ab30c8f05e0fc7d
1 // Copyright (c) 2011 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.
5 // Implements the DemuxerFactory interface using DummyDemuxer.
7 #ifndef MEDIA_FILTERS_DUMMY_DEMUXER_FACTORY_H_
8 #define MEDIA_FILTERS_DUMMY_DEMUXER_FACTORY_H_
10 #include "base/compiler_specific.h"
11 #include "media/base/filter_factories.h"
13 namespace media {
15 class MEDIA_EXPORT DummyDemuxerFactory : public DemuxerFactory {
16 public:
17 DummyDemuxerFactory(bool has_video, bool has_audio);
18 virtual ~DummyDemuxerFactory();
20 // DemuxerFactory methods.
21 virtual void Build(const std::string& url, const BuildCallback& cb) OVERRIDE;
22 virtual DemuxerFactory* Clone() const OVERRIDE;
24 private:
25 bool has_video_;
26 bool has_audio_;
28 DISALLOW_IMPLICIT_CONSTRUCTORS(DummyDemuxerFactory);
31 } // namespace media
33 #endif // MEDIA_FILTERS_DUMMY_DEMUXER_FACTORY_H_