Index: Source/core/loader/MixedContentChecker.h |
diff --git a/Source/core/loader/MixedContentChecker.h b/Source/core/loader/MixedContentChecker.h |
index 17e3b975ce2128714ef4d25f8e92aeaef4bd2cc3..d7badd919188c444a3c297e6b4950ecebf909265 100644 |
--- a/Source/core/loader/MixedContentChecker.h |
+++ b/Source/core/loader/MixedContentChecker.h |
@@ -58,8 +58,13 @@ public: |
bool canSubmitToInsecureForm(SecurityOrigin*, const KURL&) const; |
bool canConnectInsecureWebSocket(SecurityOrigin*, const KURL&) const; |
bool canFrameInsecureContent(SecurityOrigin*, const KURL&) const; |
+ |
+ // Returns true if |url| is insecure, while |origin|'s protocol is HTTPS. |
static bool isMixedContent(SecurityOrigin*, const KURL&); |
+ // Returns true if |url| is a reserved IP address, and |origin| isn't. |
+ static bool isMixedRealm(SecurityOrigin*, const KURL&); |
+ |
private: |
enum MixedContentType { |
Display, |