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"
15 class MEDIA_EXPORT DummyDemuxerFactory
: public DemuxerFactory
{
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
;
28 DISALLOW_IMPLICIT_CONSTRUCTORS(DummyDemuxerFactory
);
33 #endif // MEDIA_FILTERS_DUMMY_DEMUXER_FACTORY_H_