#include "cast/sender/public/cast_media_source.h"
#include <algorithm>
#include <utility>
#include "util/osp_logging.h"
#include "util/std_util.h"
namespace openscreen::cast {
ErrorOr<CastMediaSource> CastMediaSource::From(const std::string& source) { … }
CastMediaSource::CastMediaSource(std::string source,
std::vector<std::string> app_ids)
: … { … }
CastMediaSource::CastMediaSource(const CastMediaSource& other) = default;
CastMediaSource::CastMediaSource(CastMediaSource&& other) noexcept = default;
CastMediaSource::~CastMediaSource() = default;
CastMediaSource& CastMediaSource::operator=(const CastMediaSource& other) =
default;
CastMediaSource& CastMediaSource::operator=(CastMediaSource&& other) noexcept =
default;
bool CastMediaSource::ContainsAppId(const std::string& app_id) const { … }
bool CastMediaSource::ContainsAnyAppIdFrom(
const std::vector<std::string>& app_ids) const { … }
}