forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass prefetched signed exchanges to renderer process
This CL introduces PrefetchedSignedExchangeInfo struct, which keeps the information about a prefetched signed exchange. It is created in PrefetchedSignedExchangeCache and passed to SubresourceLoaderParams and will be passed to the renderer process in CommitNavigation IPC's CommitNavigationParams. Bug: 935267 Change-Id: Id67c2ce99801f6c89d679cf9efaf65617d68cdfa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1600438 Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org> Commit-Queue: Tsuyoshi Horo <horo@chromium.org> Cr-Commit-Position: refs/heads/master@{#659318}
- Loading branch information
Showing
14 changed files
with
241 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// 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 "content/common/prefetched_signed_exchange_info.h" | ||
|
||
namespace content { | ||
|
||
PrefetchedSignedExchangeInfo::PrefetchedSignedExchangeInfo() = default; | ||
PrefetchedSignedExchangeInfo::PrefetchedSignedExchangeInfo( | ||
const PrefetchedSignedExchangeInfo&) = default; | ||
PrefetchedSignedExchangeInfo::PrefetchedSignedExchangeInfo( | ||
const GURL& outer_url, | ||
const net::SHA256HashValue& header_integrity, | ||
const GURL& inner_url, | ||
const network::ResourceResponseHead& inner_response, | ||
mojo::MessagePipeHandle loader_factory_handle) | ||
: outer_url(outer_url), | ||
header_integrity(header_integrity), | ||
inner_url(inner_url), | ||
inner_response(inner_response), | ||
loader_factory_handle(loader_factory_handle) {} | ||
PrefetchedSignedExchangeInfo::~PrefetchedSignedExchangeInfo() = default; | ||
|
||
} // namespace content |
Oops, something went wrong.