#include "cast/receiver/channel/message_util.h"
#include <string>
#include <utility>
#include "util/json/json_serialization.h"
#include "util/json/json_value.h"
#include "util/osp_logging.h"
namespace openscreen::cast {
CastMessage;
namespace {
ErrorOr<CastMessage> CreateAppAvailabilityResponse(
int request_id,
const std::string& sender_id,
const std::string& app_id,
AppAvailabilityResult availability_result) { … }
}
ErrorOr<CastMessage> CreateAppAvailableResponse(int request_id,
const std::string& sender_id,
const std::string& app_id) { … }
ErrorOr<CastMessage> CreateAppUnavailableResponse(int request_id,
const std::string& sender_id,
const std::string& app_id) { … }
}