Index: Source/core/dom/SecurityContext.h |
diff --git a/Source/core/dom/SecurityContext.h b/Source/core/dom/SecurityContext.h |
index e5c2e4ec593fa6c8c3cef357e7a522973eed0eb2..41d8f3fe1651e1674d2361b0ebacd2857c96df77 100644 |
--- a/Source/core/dom/SecurityContext.h |
+++ b/Source/core/dom/SecurityContext.h |
@@ -55,6 +55,9 @@ public: |
bool isSandboxed(SandboxFlags mask) const { return m_sandboxFlags & mask; } |
void enforceSandboxFlags(SandboxFlags mask); |
+ void setHostedInReservedIPRange() { m_hostedInReservedIPRange = true; } |
+ bool isHostedInReservedIPRange() const { return m_hostedInReservedIPRange; } |
+ |
protected: |
SecurityContext(); |
virtual ~SecurityContext(); |
@@ -70,6 +73,8 @@ private: |
RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; |
SandboxFlags m_sandboxFlags; |
+ |
+ bool m_hostedInReservedIPRange; |
}; |
} // namespace blink |