Tsuyoshi Horo | eaf3b29 | 2019-05-14 00:52:27 | [diff] [blame] | 1 | // 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 | |
| 7 | namespace content { |
| 8 | |
| 9 | PrefetchedSignedExchangeInfo::PrefetchedSignedExchangeInfo() = default; |
| 10 | PrefetchedSignedExchangeInfo::PrefetchedSignedExchangeInfo( |
| 11 | const PrefetchedSignedExchangeInfo&) = default; |
| 12 | PrefetchedSignedExchangeInfo::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) {} |
| 23 | PrefetchedSignedExchangeInfo::~PrefetchedSignedExchangeInfo() = default; |
| 24 | |
| 25 | } // namespace content |