summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/frame/csp/source_list_directive.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/frame/csp/source_list_directive.h')
-rw-r--r--chromium/third_party/blink/renderer/core/frame/csp/source_list_directive.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/frame/csp/source_list_directive.h b/chromium/third_party/blink/renderer/core/frame/csp/source_list_directive.h
index 87a85279074..195c0af78f2 100644
--- a/chromium/third_party/blink/renderer/core/frame/csp/source_list_directive.h
+++ b/chromium/third_party/blink/renderer/core/frame/csp/source_list_directive.h
@@ -43,7 +43,7 @@ class CORE_EXPORT SourceListDirective final : public CSPDirective {
bool AllowDynamic() const;
bool AllowNonce(const String& nonce) const;
bool AllowHash(const CSPHashValue&) const;
- bool AllowHashedAttributes() const;
+ bool AllowUnsafeHashes() const;
bool AllowReportSample() const;
bool IsNone() const;
bool IsHashOrNoncePresent() const;
@@ -102,7 +102,7 @@ class CORE_EXPORT SourceListDirective final : public CSPDirective {
void AddSourceUnsafeEval();
void AddSourceWasmEval();
void AddSourceStrictDynamic();
- void AddSourceUnsafeHashedAttributes();
+ void AddSourceUnsafeHashes();
void AddReportSample();
void AddSourceNonce(const String& nonce);
void AddSourceHash(const ContentSecurityPolicyHashAlgorithm&,
@@ -132,7 +132,7 @@ class CORE_EXPORT SourceListDirective final : public CSPDirective {
bool allow_eval_;
bool allow_wasm_eval_;
bool allow_dynamic_;
- bool allow_hashed_attributes_;
+ bool allow_unsafe_hashes_;
bool allow_redirects_;
bool report_sample_;
HashSet<String> nonces_;