| Index: third_party/WebKit/Source/core/html/parser/PreloadRequest.h
|
| diff --git a/third_party/WebKit/Source/core/html/parser/PreloadRequest.h b/third_party/WebKit/Source/core/html/parser/PreloadRequest.h
|
| index 5cceca0b6fc6bd56fd34e6499247eb1b7063a76d..02081e3441c9b49ce82cfd52cd671a3bd24b6456 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/PreloadRequest.h
|
| +++ b/third_party/WebKit/Source/core/html/parser/PreloadRequest.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "core/fetch/ClientHintsPreferences.h"
|
| #include "core/fetch/FetchRequest.h"
|
| +#include "core/fetch/IntegrityMetadata.h"
|
| #include "core/fetch/Resource.h"
|
| #include "platform/weborigin/SecurityPolicy.h"
|
| #include "wtf/Allocator.h"
|
| @@ -50,6 +51,14 @@ public:
|
| bool isAllowCredentials() const { return m_allowCredentials == AllowStoredCredentials; }
|
| const ClientHintsPreferences& preferences() const { return m_clientHintsPreferences; }
|
| ReferrerPolicy referrerPolicy() const { return m_referrerPolicy; }
|
| + void setIntegrityMetadata(const IntegrityMetadataSet& metadataSet)
|
| + {
|
| + m_integrityMetadata = metadataSet;
|
| + }
|
| + IntegrityMetadataSet integrityMetadata() const
|
| + {
|
| + return m_integrityMetadata;
|
| + }
|
|
|
| private:
|
| PreloadRequest(const String& initiatorName,
|
| @@ -93,6 +102,7 @@ private:
|
| ClientHintsPreferences m_clientHintsPreferences;
|
| RequestType m_requestType;
|
| ReferrerPolicy m_referrerPolicy;
|
| + IntegrityMetadataSet m_integrityMetadata;
|
| };
|
|
|
| typedef Vector<OwnPtr<PreloadRequest>> PreloadRequestStream;
|
|
|