diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-06 12:48:11 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:33:43 +0000 |
commit | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (patch) | |
tree | fa14ba0ca8d2683ba2efdabd246dc9b18a1229c6 /chromium/third_party/blink/renderer/core/fetch/trust_token_issuance_authorization.h | |
parent | 79b4f909db1049fca459c07cca55af56a9b54fe3 (diff) | |
download | qtwebengine-chromium-7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3.tar.gz |
BASELINE: Update Chromium to 84.0.4147.141
Change-Id: Ib85eb4cfa1cbe2b2b81e5022c8cad5c493969535
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/fetch/trust_token_issuance_authorization.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/fetch/trust_token_issuance_authorization.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/core/fetch/trust_token_issuance_authorization.h b/chromium/third_party/blink/renderer/core/fetch/trust_token_issuance_authorization.h new file mode 100644 index 00000000000..a2c1d10b294 --- /dev/null +++ b/chromium/third_party/blink/renderer/core/fetch/trust_token_issuance_authorization.h @@ -0,0 +1,24 @@ +// Copyright 2020 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. + +#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_FETCH_TRUST_TOKEN_ISSUANCE_AUTHORIZATION_H_ +#define THIRD_PARTY_BLINK_RENDERER_CORE_FETCH_TRUST_TOKEN_ISSUANCE_AUTHORIZATION_H_ + +namespace blink { + +class ExecutionContext; + +// Returns whether it's OK to execute Trust Tokens issuance in the given +// execution context. This depends on whether the context is participating in +// the kTrustTokens origin trial, and whether the embedder has specified an +// override of this requirement (e.g. for testing). +// +// For more information on Trust Tokens configuration, see the comment on +// network::features::kTrustTokens. +bool IsTrustTokenIssuanceAvailableInExecutionContext( + const ExecutionContext& context); + +} // namespace blink + +#endif // THIRD_PARTY_BLINK_RENDERER_CORE_FETCH_TRUST_TOKEN_ISSUANCE_AUTHORIZATION_H_ |