chromium/components/media_router/common/route_request_result.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/media_router/common/route_request_result.h"

#include "components/media_router/common/media_route.h"

namespace media_router {

// static
std::unique_ptr<RouteRequestResult> RouteRequestResult::FromSuccess(
    const MediaRoute& route,
    const std::string& presentation_id) {}

// static
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;

}  // namespace media_router