Chromium Code Reviews| Index: media/filters/stream_parser_factory.h |
| diff --git a/media/filters/stream_parser_factory.h b/media/filters/stream_parser_factory.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d004bfe11b3489e5bf4a946a7a18dfbb392d3b9b |
| --- /dev/null |
| +++ b/media/filters/stream_parser_factory.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef MEDIA_FILTERS_STREAM_PARSER_FACTORY_H_ |
| +#define MEDIA_FILTERS_STREAM_PARSER_FACTORY_H_ |
| + |
| +#include <string> |
| +#include <vector> |
| + |
| +#include "base/memory/scoped_ptr.h" |
| +#include "media/base/media_export.h" |
| +#include "media/base/media_log.h" |
| + |
| +namespace media { |
| + |
| +class StreamParser; |
| + |
| +class MEDIA_EXPORT StreamParserFactory { |
|
scherkus (not reviewing)
2013/03/14 18:49:40
needs docs for funcs (maybe move the ones in the .
acolwell GONE FROM CHROMIUM
2013/03/14 20:08:49
Done.
|
| + public: |
| + static bool IsTypeSupported( |
| + const std::string& type, const std::vector<std::string>& codecs); |
| + |
| + static scoped_ptr<media::StreamParser> Create( |
| + const std::string& type, const std::vector<std::string>& codecs, |
| + const LogCB& log_cb, bool* has_audio, bool* has_video); |
| +}; |
| + |
| +} // namespace media |
| + |
| +#endif // MEDIA_FILTERS_STREAM_PARSER_FACTORY_H_ |