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 c4ac3a38dfafd53c5a0954a3a25a42a79690e07a..827bbc8fb94112287e7e413f6312c194724f064e 100644 |
--- a/third_party/WebKit/Source/core/html/parser/PreloadRequest.h |
+++ b/third_party/WebKit/Source/core/html/parser/PreloadRequest.h |
@@ -56,6 +56,7 @@ public: |
float resourceWidth() const { return m_resourceWidth.isSet ? m_resourceWidth.width : 0; } |
const KURL& baseURL() const { return m_baseURL; } |
bool isPreconnect() const { return m_requestType == RequestTypePreconnect; } |
+ bool isLinkRelPreload() const { return m_requestType == RequestTypeLinkRelPreload; } |
const ClientHintsPreferences& preferences() const { return m_clientHintsPreferences; } |
ReferrerPolicy getReferrerPolicy() const { return m_referrerPolicy; } |
void setIntegrityMetadata(const IntegrityMetadataSet& metadataSet) |