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

Unified Diff: public/platform/Platform.h

Issue 908483002: Fix to respect --explicitly-allowed-ports command line option (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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/platform/weborigin/KnownPorts.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 ba29cdc917c98a608e47829834f868a84e89741f..ad4a04ab522b4e815f2d38df223f549c61dee3d8 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -343,6 +343,8 @@ public:
virtual bool isReservedIPAddress(const WebString& host) const { return false; }
+ virtual bool portAllowed(const WebURL&) const { return false; }
+
// Plugins -------------------------------------------------------------
// If refresh is true, then cached information should not be used to
« no previous file with comments | « Source/platform/weborigin/KnownPorts.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698