#include "media/mojo/services/media_service_factory.h"
#include <memory>
#include "base/notreached.h"
#include "build/build_config.h"
#include "media/mojo/buildflags.h"
#include "media/mojo/services/gpu_mojo_media_client.h"
#include "media/mojo/services/media_service.h"
#include "media/mojo/services/test_mojo_media_client.h"
#if BUILDFLAG(IS_ANDROID)
#include "media/mojo/services/android_mojo_media_client.h"
#endif
#if BUILDFLAG(IS_WIN)
#include "media/mojo/services/media_foundation_mojo_media_client.h"
#endif
namespace media {
std::unique_ptr<MediaService> CreateMediaService(
mojo::PendingReceiver<mojom::MediaService> receiver) { … }
std::unique_ptr<MediaService> CreateGpuMediaService(
mojo::PendingReceiver<mojom::MediaService> receiver,
std::unique_ptr<GpuMojoMediaClient> client) { … }
std::unique_ptr<MediaService> CreateMediaServiceForTesting(
mojo::PendingReceiver<mojom::MediaService> receiver) { … }
}