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

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

Issue 293063013: Now that the HttpStreamFactoryImpl::Job is not marking Alternate-Protocol (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better test Created 6 years, 7 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
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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 void ActivateSession(const QuicServerId& key, 215 void ActivateSession(const QuicServerId& key,
216 QuicClientSession* session); 216 QuicClientSession* session);
217 217
218 // Initializes the cached state associated with |server_id| in 218 // Initializes the cached state associated with |server_id| in
219 // |crypto_config_| with the information in |server_info|. 219 // |crypto_config_| with the information in |server_info|.
220 void InitializeCachedStateInCryptoConfig( 220 void InitializeCachedStateInCryptoConfig(
221 const QuicServerId& server_id, 221 const QuicServerId& server_id,
222 const scoped_ptr<QuicServerInfo>& server_info); 222 const scoped_ptr<QuicServerInfo>& server_info);
223 223
224 void ProcessGoingAwaySession(QuicClientSession* session, 224 void ProcessGoingAwaySession(QuicClientSession* session,
225 const QuicServerId& server_id); 225 const QuicServerId& server_id,
226 bool was_session_active);
226 227
227 bool require_confirmation_; 228 bool require_confirmation_;
228 HostResolver* host_resolver_; 229 HostResolver* host_resolver_;
229 ClientSocketFactory* client_socket_factory_; 230 ClientSocketFactory* client_socket_factory_;
230 base::WeakPtr<HttpServerProperties> http_server_properties_; 231 base::WeakPtr<HttpServerProperties> http_server_properties_;
231 CertVerifier* cert_verifier_; 232 CertVerifier* cert_verifier_;
232 QuicServerInfoFactory* quic_server_info_factory_; 233 QuicServerInfoFactory* quic_server_info_factory_;
233 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_; 234 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_;
234 QuicRandom* random_generator_; 235 QuicRandom* random_generator_;
235 scoped_ptr<QuicClock> clock_; 236 scoped_ptr<QuicClock> clock_;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 uint64 port_seed_; 278 uint64 port_seed_;
278 279
279 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; 280 base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
280 281
281 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); 282 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
282 }; 283 };
283 284
284 } // namespace net 285 } // namespace net
285 286
286 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ 287 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698