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

Side by Side Diff: net/http/http_network_session.h

Issue 127463003: Completely disable use of bind() with pseudo-random port selection on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: On Windows, avoid "port selection" in Stable or Beta channels automatically Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 bool enable_spdy_compression; 81 bool enable_spdy_compression;
82 bool enable_spdy_ping_based_connection_checking; 82 bool enable_spdy_ping_based_connection_checking;
83 NextProto spdy_default_protocol; 83 NextProto spdy_default_protocol;
84 size_t spdy_stream_initial_recv_window_size; 84 size_t spdy_stream_initial_recv_window_size;
85 size_t spdy_initial_max_concurrent_streams; 85 size_t spdy_initial_max_concurrent_streams;
86 size_t spdy_max_concurrent_streams_limit; 86 size_t spdy_max_concurrent_streams_limit;
87 SpdySessionPool::TimeFunc time_func; 87 SpdySessionPool::TimeFunc time_func;
88 std::string trusted_spdy_proxy; 88 std::string trusted_spdy_proxy;
89 bool enable_quic; 89 bool enable_quic;
90 bool enable_quic_https; 90 bool enable_quic_https;
91 bool enable_quic_port_selection;
91 HostPortPair origin_to_force_quic_on; 92 HostPortPair origin_to_force_quic_on;
92 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. 93 QuicClock* quic_clock; // Will be owned by QuicStreamFactory.
93 QuicRandom* quic_random; 94 QuicRandom* quic_random;
94 size_t quic_max_packet_length; 95 size_t quic_max_packet_length;
95 bool enable_user_alternate_protocol_ports; 96 bool enable_user_alternate_protocol_ports;
96 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; 97 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory;
97 QuicVersionVector quic_supported_versions; 98 QuicVersionVector quic_supported_versions;
98 }; 99 };
99 100
100 enum SocketPoolType { 101 enum SocketPoolType {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 scoped_ptr<HttpStreamFactory> http_stream_factory_; 203 scoped_ptr<HttpStreamFactory> http_stream_factory_;
203 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_; 204 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_;
204 std::set<HttpResponseBodyDrainer*> response_drainers_; 205 std::set<HttpResponseBodyDrainer*> response_drainers_;
205 206
206 Params params_; 207 Params params_;
207 }; 208 };
208 209
209 } // namespace net 210 } // namespace net
210 211
211 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 212 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698