| OLD | NEW |
| 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 #include <vector> | 10 #include <vector> |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 bool force_spdy_single_domain; | 87 bool force_spdy_single_domain; |
| 88 bool enable_spdy_compression; | 88 bool enable_spdy_compression; |
| 89 bool enable_spdy_ping_based_connection_checking; | 89 bool enable_spdy_ping_based_connection_checking; |
| 90 NextProto spdy_default_protocol; | 90 NextProto spdy_default_protocol; |
| 91 // The protocols supported by NPN (next protocol negotiation) during the | 91 // The protocols supported by NPN (next protocol negotiation) during the |
| 92 // SSL handshake as well as by HTTP Alternate-Protocol. | 92 // SSL handshake as well as by HTTP Alternate-Protocol. |
| 93 // TODO(mmenke): This is currently empty by default, and alternate | 93 // TODO(mmenke): This is currently empty by default, and alternate |
| 94 // protocols are disabled. We should use some reasonable | 94 // protocols are disabled. We should use some reasonable |
| 95 // defaults. | 95 // defaults. |
| 96 NextProtoVector next_protos; | 96 NextProtoVector next_protos; |
| 97 size_t spdy_stream_initial_recv_window_size; | 97 size_t spdy_session_max_recv_window_size; |
| 98 size_t spdy_stream_max_recv_window_size; |
| 98 size_t spdy_initial_max_concurrent_streams; | 99 size_t spdy_initial_max_concurrent_streams; |
| 99 size_t spdy_max_concurrent_streams_limit; | 100 size_t spdy_max_concurrent_streams_limit; |
| 100 SpdySessionPool::TimeFunc time_func; | 101 SpdySessionPool::TimeFunc time_func; |
| 101 std::string trusted_spdy_proxy; | 102 std::string trusted_spdy_proxy; |
| 102 // Controls whether or not ssl is used when in SPDY mode. | 103 // Controls whether or not ssl is used when in SPDY mode. |
| 103 bool force_spdy_over_ssl; | 104 bool force_spdy_over_ssl; |
| 104 // Controls whether or not SPDY is used without NPN. | 105 // Controls whether or not SPDY is used without NPN. |
| 105 bool force_spdy_always; | 106 bool force_spdy_always; |
| 106 // URLs to exclude from forced SPDY. | 107 // URLs to exclude from forced SPDY. |
| 107 std::set<HostPortPair> forced_spdy_exclusions; | 108 std::set<HostPortPair> forced_spdy_exclusions; |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 | 245 |
| 245 NextProtoVector next_protos_; | 246 NextProtoVector next_protos_; |
| 246 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; | 247 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
| 247 | 248 |
| 248 Params params_; | 249 Params params_; |
| 249 }; | 250 }; |
| 250 | 251 |
| 251 } // namespace net | 252 } // namespace net |
| 252 | 253 |
| 253 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 254 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
| OLD | NEW |