Index: third_party/WebKit/Source/core/loader/FrameLoader.h |
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.h b/third_party/WebKit/Source/core/loader/FrameLoader.h |
index b914ef977a4a9a2130a7cd2c920654b8d4ae218d..357e264c543e13523d511a15c60717f9e97011a1 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameLoader.h |
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.h |
@@ -148,11 +148,15 @@ public: |
WebInsecureRequestPolicy getInsecureRequestPolicy() const; |
SecurityContext::InsecureNavigationsSet* insecureNavigationsToUpgrade() const; |
- void upgradeInsecureRequest(ResourceRequest&, Document*) const; |
+ void addOutgoingSecurityHeaders(ResourceRequest&, Document*) const; |
Frame* opener(); |
void setOpener(LocalFrame*); |
+ const AtomicString& requiredCSP() const { return m_requiredCSP; } |
+ void setRequiredCSP(const AtomicString& requiredCSP) { m_requiredCSP = requiredCSP; } |
+ void recordLatestRequiredCSP(); |
+ |
void detach(); |
void finishedParsing(); |
@@ -227,6 +231,7 @@ private: |
void takeObjectSnapshot() const; |
Member<LocalFrame> m_frame; |
+ AtomicString m_requiredCSP; |
// FIXME: These should be std::unique_ptr<T> to reduce build times and simplify |
// header dependencies unless performance testing proves otherwise. |