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_QUIC_QUIC_STREAM_FACTORY_H_ | 5 #ifndef NET_QUIC_QUIC_STREAM_FACTORY_H_ |
6 #define NET_QUIC_QUIC_STREAM_FACTORY_H_ | 6 #define NET_QUIC_QUIC_STREAM_FACTORY_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 // used to help seed a pseudo-random number generator (PortSuggester) so that | 292 // used to help seed a pseudo-random number generator (PortSuggester) so that |
293 // we consistently (within this profile) suggest the same ephemeral port when | 293 // we consistently (within this profile) suggest the same ephemeral port when |
294 // we re-connect to any given server/port. The differences between profiles | 294 // we re-connect to any given server/port. The differences between profiles |
295 // (probablistically) prevent two profiles from colliding in their ephemeral | 295 // (probablistically) prevent two profiles from colliding in their ephemeral |
296 // port requests. | 296 // port requests. |
297 uint64 port_seed_; | 297 uint64 port_seed_; |
298 | 298 |
299 // Local address of socket that was created in CreateSession. | 299 // Local address of socket that was created in CreateSession. |
300 IPEndPoint local_address_; | 300 IPEndPoint local_address_; |
301 bool check_persisted_supports_quic_; | 301 bool check_persisted_supports_quic_; |
| 302 std::set<HostPortPair> quic_supported_servers_at_startup_; |
302 | 303 |
303 base::TaskRunner* task_runner_; | 304 base::TaskRunner* task_runner_; |
304 | 305 |
305 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 306 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
306 | 307 |
307 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 308 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
308 }; | 309 }; |
309 | 310 |
310 } // namespace net | 311 } // namespace net |
311 | 312 |
312 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ | 313 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ |
OLD | NEW |