Index: third_party/WebKit/Source/platform/loader/fetch/FetchParameters.h |
diff --git a/third_party/WebKit/Source/platform/loader/fetch/FetchParameters.h b/third_party/WebKit/Source/platform/loader/fetch/FetchParameters.h |
index 3e5ea2faf7d5867671c6360e658aea17f9cdd570..5df9362c2a3f794635d2c92d6f1ba3a648b143a6 100644 |
--- a/third_party/WebKit/Source/platform/loader/fetch/FetchParameters.h |
+++ b/third_party/WebKit/Source/platform/loader/fetch/FetchParameters.h |
@@ -155,6 +155,10 @@ class PLATFORM_EXPORT FetchParameters { |
options_.integrity_metadata = metadata; |
} |
+ void SetIntegrityValue(const String& integrity) { |
yhirano
2017/06/30 09:11:57
Please remove this and use MutableResourceRequest(
xiaofengzhang
2017/07/07 00:10:14
Done.
|
+ resource_request_.SetFetchIntegrity(AtomicString(integrity)); |
+ } |
+ |
String ContentSecurityPolicyNonce() const { |
return options_.content_security_policy_nonce; |
} |