1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
media / base / media_url_params.cc [blame]
// Copyright 2019 The Chromium Authors
// 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"
#include "net/storage_access_api/status.h"
namespace media {
MediaUrlParams::MediaUrlParams(
const GURL& media_url,
const net::SiteForCookies& site_for_cookies,
const url::Origin& top_frame_origin,
net::StorageAccessApiStatus storage_access_api_status,
bool allow_credentials,
bool is_hls)
: media_url(media_url),
site_for_cookies(site_for_cookies),
top_frame_origin(top_frame_origin),
storage_access_api_status(storage_access_api_status),
allow_credentials(allow_credentials),
is_hls(is_hls) {}
MediaUrlParams::MediaUrlParams(const MediaUrlParams& other) = default;
MediaUrlParams::~MediaUrlParams() = default;
} // namespace media