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

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

Issue 312193005: Pass chrome version and channel in CHLO message to server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile fix Created 6 years, 6 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 | « net/quic/crypto/quic_crypto_client_config.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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 public: 88 public:
89 QuicStreamFactory( 89 QuicStreamFactory(
90 HostResolver* host_resolver, 90 HostResolver* host_resolver,
91 ClientSocketFactory* client_socket_factory, 91 ClientSocketFactory* client_socket_factory,
92 base::WeakPtr<HttpServerProperties> http_server_properties, 92 base::WeakPtr<HttpServerProperties> http_server_properties,
93 CertVerifier* cert_verifier, 93 CertVerifier* cert_verifier,
94 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, 94 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory,
95 QuicRandom* random_generator, 95 QuicRandom* random_generator,
96 QuicClock* clock, 96 QuicClock* clock,
97 size_t max_packet_length, 97 size_t max_packet_length,
98 const std::string& user_agent_id,
98 const QuicVersionVector& supported_versions, 99 const QuicVersionVector& supported_versions,
99 bool enable_port_selection, 100 bool enable_port_selection,
100 bool enable_pacing, 101 bool enable_pacing,
101 bool enable_time_based_loss_detection); 102 bool enable_time_based_loss_detection);
102 virtual ~QuicStreamFactory(); 103 virtual ~QuicStreamFactory();
103 104
104 // Creates a new QuicHttpStream to |host_port_pair| which will be 105 // Creates a new QuicHttpStream to |host_port_pair| which will be
105 // owned by |request|. |is_https| specifies if the protocol is https or not. 106 // owned by |request|. |is_https| specifies if the protocol is https or not.
106 // |cert_verifier| is used by ProofVerifier for verifying the certificate 107 // |cert_verifier| is used by ProofVerifier for verifying the certificate
107 // chain and signature. For http, this can be null. If a matching session 108 // chain and signature. For http, this can be null. If a matching session
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 uint64 port_seed_; 283 uint64 port_seed_;
283 284
284 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; 285 base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
285 286
286 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); 287 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
287 }; 288 };
288 289
289 } // namespace net 290 } // namespace net
290 291
291 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ 292 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/quic_crypto_client_config.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698