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

Unified Diff: net/http/http_network_session.cc

Issue 3041019: Remove --testing-fixed-http-port and --testing-fixed-https-port. (Closed)
Patch Set: Remove use of --testing-fixed-http-port and --testing-fixed-https-port Created 10 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
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index 971786a50533b5cf210e9011964913cb1e38c25d..05690af1bfa93de5976d3a661ba0c8fd2cb1eef5 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -30,9 +30,6 @@ int g_max_sockets_per_group = 6;
// http://crbug.com/44501 for details about proxy server connection limits.
int g_max_sockets_per_proxy_server = 32;
-uint16 g_fixed_http_port = 0;
-uint16 g_fixed_https_port = 0;
-
} // namespace
HttpNetworkSession::HttpNetworkSession(
@@ -148,24 +145,4 @@ void HttpNetworkSession::set_max_sockets_per_group(int socket_count) {
g_max_sockets_per_group = socket_count;
}
-// static
-uint16 HttpNetworkSession::fixed_http_port() {
- return g_fixed_http_port;
-}
-
-// static
-void HttpNetworkSession::set_fixed_http_port(uint16 port) {
- g_fixed_http_port = port;
-}
-
-// static
-uint16 HttpNetworkSession::fixed_https_port() {
- return g_fixed_https_port;
-}
-
-// static
-void HttpNetworkSession::set_fixed_https_port(uint16 port) {
- g_fixed_https_port = port;
-}
-
} // namespace net
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698