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

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: Created 6 years, 5 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 259143d042d95541d8b18bded3782dbfab592196..69b7480b64c91352e19e2f160329a290e73b188d 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -330,6 +330,7 @@ public:
virtual WebURLError cancelledError(const WebURL&) const { return WebURLError(); }
+ virtual bool isHostnameReservedIPAddress(const WebString&) const { return false; }
// Plugins -------------------------------------------------------------
« Source/platform/weborigin/SecurityOrigin.cpp ('K') | « Source/platform/weborigin/SecurityOrigin.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698