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

Unified Diff: net/base/net_util.h

Issue 8898008: No longer preconnect to unsafe ports. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Add missing file Created 9 years 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 | « no previous file | net/http/http_stream_factory_impl_job.h » ('j') | net/http/http_stream_factory_impl_job.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_util.h
===================================================================
--- net/base/net_util.h (revision 113620)
+++ net/base/net_util.h (working copy)
@@ -314,11 +314,11 @@
// Checks |port| against a list of ports which are restricted by the FTP
// protocol. Returns true if |port| is allowed, false if it is restricted.
-bool IsPortAllowedByFtp(int port);
+NET_EXPORT_PRIVATE bool IsPortAllowedByFtp(int port);
// Check if banned |port| has been overriden by an entry in
// |explicitly_allowed_ports_|.
-bool IsPortAllowedByOverride(int port);
+NET_EXPORT_PRIVATE bool IsPortAllowedByOverride(int port);
// Set socket to non-blocking mode
NET_EXPORT int SetNonBlocking(int fd);
« no previous file with comments | « no previous file | net/http/http_stream_factory_impl_job.h » ('j') | net/http/http_stream_factory_impl_job.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698