#include "chrome/browser/media/cast_mirroring_service_host_factory.h"
#include "chrome/browser/media/cast_mirroring_service_host.h"
#include "components/media_router/common/media_source.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/desktop_media_id.h"
namespace mirroring {
CastMirroringServiceHostFactory&
CastMirroringServiceHostFactory::GetInstance() { … }
std::unique_ptr<MirroringServiceHost>
CastMirroringServiceHostFactory::GetForTab(int32_t frame_tree_node_id) { … }
std::unique_ptr<MirroringServiceHost>
CastMirroringServiceHostFactory::GetForDesktop(
const std::optional<std::string>& media_id) { … }
std::unique_ptr<MirroringServiceHost>
CastMirroringServiceHostFactory::GetForOffscreenTab(
const GURL& presentation_url,
const std::string& presentation_id,
int32_t frame_tree_node_id) { … }
CastMirroringServiceHostFactory::CastMirroringServiceHostFactory() = default;
CastMirroringServiceHostFactory::~CastMirroringServiceHostFactory() = default;
}