#include "components/media_router/common/discovery/media_sink_internal.h"
#include <new>
#include "base/logging.h"
#include "base/notreached.h"
#include "base/strings/string_util.h"
namespace media_router {
MediaSinkInternal::MediaSinkInternal(const MediaSink& sink,
const DialSinkExtraData& dial_data)
: … { … }
MediaSinkInternal::MediaSinkInternal(const MediaSink& sink,
const CastSinkExtraData& cast_data)
: … { … }
MediaSinkInternal::MediaSinkInternal() : … { … }
MediaSinkInternal::MediaSinkInternal(const MediaSinkInternal& other) { … }
MediaSinkInternal::MediaSinkInternal(MediaSinkInternal&& other) noexcept { … }
MediaSinkInternal::~MediaSinkInternal() { … }
MediaSinkInternal& MediaSinkInternal::operator=(
const MediaSinkInternal& other) { … }
MediaSinkInternal& MediaSinkInternal::operator=(
MediaSinkInternal&& other) noexcept { … }
bool MediaSinkInternal::operator==(const MediaSinkInternal& other) const { … }
bool MediaSinkInternal::operator!=(const MediaSinkInternal& other) const { … }
bool MediaSinkInternal::operator<(const MediaSinkInternal& other) const { … }
void MediaSinkInternal::set_sink(const MediaSink& sink) { … }
void MediaSinkInternal::set_dial_data(const DialSinkExtraData& dial_data) { … }
const DialSinkExtraData& MediaSinkInternal::dial_data() const { … }
void MediaSinkInternal::set_cast_data(const CastSinkExtraData& cast_data) { … }
const CastSinkExtraData& MediaSinkInternal::cast_data() const { … }
CastSinkExtraData& MediaSinkInternal::cast_data() { … }
bool MediaSinkInternal::IsValidSinkId(const std::string& sink_id) { … }
std::string MediaSinkInternal::ProcessDeviceUUID(
const std::string& device_uuid) { … }
void MediaSinkInternal::InternalCopyConstructFrom(
const MediaSinkInternal& other) { … }
void MediaSinkInternal::InternalMoveConstructFrom(MediaSinkInternal&& other) { … }
void MediaSinkInternal::InternalCleanup() { … }
DialSinkExtraData::DialSinkExtraData() = default;
DialSinkExtraData::DialSinkExtraData(const DialSinkExtraData& other) = default;
DialSinkExtraData::DialSinkExtraData(DialSinkExtraData&& other) = default;
DialSinkExtraData::~DialSinkExtraData() = default;
bool DialSinkExtraData::operator==(const DialSinkExtraData& other) const { … }
CastSinkExtraData::CastSinkExtraData() = default;
CastSinkExtraData::CastSinkExtraData(const CastSinkExtraData& other) = default;
CastSinkExtraData::CastSinkExtraData(CastSinkExtraData&& other) = default;
CastSinkExtraData::~CastSinkExtraData() = default;
bool CastSinkExtraData::operator==(const CastSinkExtraData& other) const { … }
}