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 035ecafb3f4746862182e5642d0202c9ca0341b5..c15a4edb2782dfc3f696b6e0fa95ea7bb0375806 100644 |
--- a/third_party/WebKit/Source/core/dom/SecurityContext.h |
+++ b/third_party/WebKit/Source/core/dom/SecurityContext.h |
@@ -80,6 +80,9 @@ public: |
void addInsecureNavigationUpgrade(unsigned hashedHost) { m_insecureNavigationsToUpgrade.add(hashedHost); } |
InsecureNavigationsSet* insecureNavigationsToUpgrade() { return &m_insecureNavigationsToUpgrade; } |
+ void setShouldEnforceStrictMixedContentChecking(bool shouldEnforce) { m_enforceStrictMixedContentChecking = shouldEnforce; } |
+ bool shouldEnforceStrictMixedContentChecking() { return m_enforceStrictMixedContentChecking; } |
+ |
protected: |
SecurityContext(); |
virtual ~SecurityContext(); |
@@ -99,6 +102,7 @@ private: |
bool m_hostedInReservedIPRange; |
InsecureRequestsPolicy m_insecureRequestsPolicy; |
InsecureNavigationsSet m_insecureNavigationsToUpgrade; |
+ bool m_enforceStrictMixedContentChecking; |
}; |
} // namespace blink |