#include "chrome/browser/media/router/providers/cast/cast_app_availability_tracker.h"
#include "base/containers/contains.h"
#include "base/not_fatal_until.h"
#include "components/media_router/common/providers/cast/cast_media_source.h"
GetAppAvailabilityResult;
namespace media_router {
CastAppAvailabilityTracker::CastAppAvailabilityTracker() = default;
CastAppAvailabilityTracker::~CastAppAvailabilityTracker() = default;
base::flat_set<std::string> CastAppAvailabilityTracker::RegisterSource(
const CastMediaSource& source) { … }
void CastAppAvailabilityTracker::UnregisterSource(
const CastMediaSource& source) { … }
std::vector<CastMediaSource> CastAppAvailabilityTracker::UpdateAppAvailability(
const MediaSinkInternal& sink,
const std::string& app_id,
CastAppAvailabilityTracker::AppAvailability availability) { … }
std::vector<CastMediaSource> CastAppAvailabilityTracker::RemoveResultsForSink(
const MediaSink::Id& sink_id) { … }
std::vector<CastMediaSource> CastAppAvailabilityTracker::GetSupportedSources(
const MediaSink::Id& sink_id) const { … }
CastAppAvailabilityTracker::AppAvailability
CastAppAvailabilityTracker::GetAvailability(const MediaSink::Id& sink_id,
const std::string& app_id) const { … }
std::vector<std::string> CastAppAvailabilityTracker::GetRegisteredApps() const { … }
base::flat_set<MediaSink::Id> CastAppAvailabilityTracker::GetAvailableSinks(
const CastMediaSource& source) const { … }
CastAppAvailabilityTracker::CapabilitiesAndAvailabilityMap::
CapabilitiesAndAvailabilityMap(const MediaSinkInternal& sink)
: … { … }
CastAppAvailabilityTracker::CapabilitiesAndAvailabilityMap::
CapabilitiesAndAvailabilityMap(const CapabilitiesAndAvailabilityMap&) =
default;
CastAppAvailabilityTracker::CapabilitiesAndAvailabilityMap::
~CapabilitiesAndAvailabilityMap() = default;
}