#include "chrome/services/media_gallery_util/media_parser_factory.h"
#include "build/build_config.h"
#include "chrome/services/media_gallery_util/media_parser.h"
#include "media/base/media.h"
#include "media/media_buildflags.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
#if BUILDFLAG(IS_ANDROID)
#include "chrome/services/media_gallery_util/media_parser_android.h"
#endif
MediaParserFactory::MediaParserFactory(
mojo::PendingReceiver<chrome::mojom::MediaParserFactory> receiver)
: … { … }
MediaParserFactory::~MediaParserFactory() = default;
void MediaParserFactory::CreateMediaParser(int64_t libyuv_cpu_flags,
int64_t libavutil_cpu_flags,
CreateMediaParserCallback callback) { … }