#include "components/media_router/common/route_request_result.h"
#include "components/media_router/common/media_route.h"
namespace media_router {
std::unique_ptr<RouteRequestResult> RouteRequestResult::FromSuccess(
const MediaRoute& route,
const std::string& presentation_id) { … }
std::unique_ptr<RouteRequestResult> RouteRequestResult::FromError(
const std::string& error,
mojom::RouteRequestResultCode result_code) { … }
RouteRequestResult::RouteRequestResult(
std::unique_ptr<MediaRoute> route,
const std::string& presentation_id,
const std::string& error,
mojom::RouteRequestResultCode result_code)
: … { … }
RouteRequestResult::~RouteRequestResult() = default;
}