Chromium Code Reviews| Index: Source/core/dom/SecurityContext.h |
| diff --git a/Source/core/dom/SecurityContext.h b/Source/core/dom/SecurityContext.h |
| index e5c2e4ec593fa6c8c3cef357e7a522973eed0eb2..a83a7eb36781f527b914854d6ce0fbdf6a0bcd5e 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() { return m_hostedInReservedIPRange; } |
|
jochen (gone - plz use gerrit)
2015/01/13 15:04:55
const
|
| + |
| protected: |
| SecurityContext(); |
| virtual ~SecurityContext(); |
| @@ -70,6 +73,8 @@ private: |
| RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; |
| SandboxFlags m_sandboxFlags; |
| + |
| + bool m_hostedInReservedIPRange; |
| }; |
| } // namespace blink |