Index: third_party/WebKit/Source/core/dom/SecurityContext.h |
diff --git a/third_party/WebKit/Source/core/dom/SecurityContext.h b/third_party/WebKit/Source/core/dom/SecurityContext.h |
index 1693b3578fb3e0b31fb047b21142dc2b10e35643..3721f5c42486eacfe7f744ee4f18fcd04cb3a461 100644 |
--- a/third_party/WebKit/Source/core/dom/SecurityContext.h |
+++ b/third_party/WebKit/Source/core/dom/SecurityContext.h |
@@ -30,6 +30,7 @@ |
#include "core/CoreExport.h" |
#include "core/dom/SandboxFlags.h" |
#include "platform/heap/Handle.h" |
+#include "public/platform/WebURLRequest.h" |
#include "wtf/HashSet.h" |
#include "wtf/Noncopyable.h" |
#include "wtf/PassRefPtr.h" |
@@ -71,8 +72,8 @@ 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; } |
+ void setHostedInReservedIPRange(bool value) { m_hostedInReservedIPRange = value; } |
+ WebURLRequest::AddressSpace addressSpace() const; |
void setInsecureRequestsPolicy(InsecureRequestsPolicy policy) { m_insecureRequestsPolicy = policy; } |
InsecureRequestsPolicy getInsecureRequestsPolicy() const { return m_insecureRequestsPolicy; } |