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

Side by Side Diff: net/quic/quic_stream_factory.h

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « net/quic/quic_sent_packet_manager.cc ('k') | net/quic/quic_stream_factory.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_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
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_
OLDNEW
« no previous file with comments | « net/quic/quic_sent_packet_manager.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698