#include "components/media_router/browser/presentation/start_presentation_context.h"
#include "components/media_router/common/mojom/media_router.mojom.h"
#include "components/media_router/common/route_request_result.h"
namespace media_router {
StartPresentationContext::StartPresentationContext(
const content::PresentationRequest& presentation_request,
PresentationConnectionCallback success_cb,
PresentationConnectionErrorCallback error_cb)
: … { … }
StartPresentationContext::~StartPresentationContext() { … }
void StartPresentationContext::InvokeSuccessCallback(
const std::string& presentation_id,
const GURL& presentation_url,
const MediaRoute& route,
mojom::RoutePresentationConnectionPtr connection) { … }
void StartPresentationContext::InvokeErrorCallback(
const blink::mojom::PresentationError& error) { … }
void StartPresentationContext::HandleRouteResponse(
mojom::RoutePresentationConnectionPtr connection,
const RouteRequestResult& result) { … }
}