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

Unified Diff: public/platform/Platform.h

Issue 845303003: Tag SecurityContext objects as being hosted in reserved IP ranges. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Feedback. Created 5 years, 11 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
« no previous file with comments | « Source/core/loader/MixedContentChecker.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index be369762a4f30d439fe7a48569e884b6694368f9..0cd0fe96d45b3a8d91935d8b00422cc226a20a67 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -313,6 +313,9 @@ public:
virtual WebURLError cancelledError(const WebURL&) const { return WebURLError(); }
+ virtual bool isReservedIPAddress(const WebString& host) const { return false; }
+
+ // FIXME: Drop both of these once Chromium is updated.
virtual bool isReservedIPAddress(const WebURL&) const { return false; }
virtual bool isReservedIPAddress(const WebSecurityOrigin&) const { return false; }
« no previous file with comments | « Source/core/loader/MixedContentChecker.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698