#include "chrome/browser/ui/media_router/cast_modes_with_media_sources.h"
#include "base/containers/contains.h"
namespace media_router {
CastModesWithMediaSources::CastModesWithMediaSources(const MediaSink& sink)
: … { … }
CastModesWithMediaSources::CastModesWithMediaSources(
CastModesWithMediaSources&& other) = default;
CastModesWithMediaSources::~CastModesWithMediaSources() = default;
void CastModesWithMediaSources::AddSource(MediaCastMode cast_mode,
const MediaSource& source) { … }
void CastModesWithMediaSources::RemoveSource(MediaCastMode cast_mode,
const MediaSource& source) { … }
bool CastModesWithMediaSources::HasSource(MediaCastMode cast_mode,
const MediaSource& source) const { … }
CastModeSet CastModesWithMediaSources::GetCastModes() const { … }
bool CastModesWithMediaSources::IsEmpty() const { … }
}