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 9154fff2d31c5d8b9b0f90f1b10898bc017d8944..c4ac3a38dfafd53c5a0954a3a25a42a79690e07a 100644 |
--- a/third_party/WebKit/Source/core/html/parser/PreloadRequest.h |
+++ b/third_party/WebKit/Source/core/html/parser/PreloadRequest.h |
@@ -46,6 +46,10 @@ public: |
{ |
return m_crossOrigin; |
} |
+ |
+ void setNonce(const String& nonce) { m_nonce = nonce.isolatedCopy(); } |
+ const String& nonce() const { return m_nonce; } |
+ |
Resource::Type resourceType() const { return m_resourceType; } |
const String& resourceURL() const { return m_resourceURL; } |
@@ -97,6 +101,7 @@ private: |
String m_charset; |
Resource::Type m_resourceType; |
CrossOriginAttributeValue m_crossOrigin; |
+ String m_nonce; |
double m_discoveryTime; |
FetchRequest::DeferOption m_defer; |
FetchRequest::ResourceWidth m_resourceWidth; |