blob: 2f6fdcae64ee8a8faa35750dcda797faf53eca29 [file] [log] [blame]
Tsuyoshi Horoeaf3b292019-05-14 00:52:271// Copyright 2019 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "content/common/prefetched_signed_exchange_info.h"
6
7namespace content {
8
9PrefetchedSignedExchangeInfo::PrefetchedSignedExchangeInfo() = default;
10PrefetchedSignedExchangeInfo::PrefetchedSignedExchangeInfo(
11 const PrefetchedSignedExchangeInfo&) = default;
12PrefetchedSignedExchangeInfo::PrefetchedSignedExchangeInfo(
13 const GURL& outer_url,
14 const net::SHA256HashValue& header_integrity,
15 const GURL& inner_url,
16 const network::ResourceResponseHead& inner_response,
17 mojo::MessagePipeHandle loader_factory_handle)
18 : outer_url(outer_url),
19 header_integrity(header_integrity),
20 inner_url(inner_url),
21 inner_response(inner_response),
22 loader_factory_handle(loader_factory_handle) {}
23PrefetchedSignedExchangeInfo::~PrefetchedSignedExchangeInfo() = default;
24
25} // namespace content