blob: ed47b3941bb07829a7e5f8d1555296e58bc2118f [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/base/media_url_params.h"
namespace media {
MediaUrlParams::MediaUrlParams(GURL media_url,
GURL site_for_cookies,
url::Origin top_frame_origin,
bool allow_credentials,
bool is_hls)
: media_url(std::move(media_url)),
site_for_cookies(std::move(site_for_cookies)),
top_frame_origin(std::move(top_frame_origin)),
allow_credentials(allow_credentials),
is_hls(is_hls) {}
MediaUrlParams::MediaUrlParams(const MediaUrlParams& other) = default;
MediaUrlParams::~MediaUrlParams() = default;
} // namespace media