Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: public/platform/Platform.h

Issue 417153004: Treat reserved IP addresses as mixed content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Layering. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index 7a2841dff4716260a81d12150a653517dbf64597..a1e0a23c147ff8ed04e5061d4f9079401c77eeb1 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -91,6 +91,7 @@ class WebRTCPeerConnectionHandler;
class WebRTCPeerConnectionHandlerClient;
class WebSandboxSupport;
class WebScrollbarBehavior;
+class WebSecurityOrigin;
class WebSocketHandle;
class WebSocketStreamHandle;
class WebSpeechSynthesizer;
@@ -330,6 +331,8 @@ public:
virtual WebURLError cancelledError(const WebURL&) const { return WebURLError(); }
+ virtual bool isReservedIPAddress(const WebURL&) const { return false; }
+ virtual bool isReservedIPAddress(const WebSecurityOrigin&) const { return false; }
// Plugins -------------------------------------------------------------
« Source/core/loader/MixedContentChecker.cpp ('K') | « Source/core/loader/MixedContentChecker.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698