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

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

Issue 498373002: Refactor pooling logic into a helper method Disable pooling when there are cert errors. Disable poo… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2125
Patch Set: Created 6 years, 3 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
« no previous file with comments | « net/quic/quic_http_stream_test.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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 const scoped_ptr<QuicServerInfo>& server_info); 230 const scoped_ptr<QuicServerInfo>& server_info);
231 231
232 void ProcessGoingAwaySession(QuicClientSession* session, 232 void ProcessGoingAwaySession(QuicClientSession* session,
233 const QuicServerId& server_id, 233 const QuicServerId& server_id,
234 bool was_session_active); 234 bool was_session_active);
235 235
236 bool require_confirmation_; 236 bool require_confirmation_;
237 HostResolver* host_resolver_; 237 HostResolver* host_resolver_;
238 ClientSocketFactory* client_socket_factory_; 238 ClientSocketFactory* client_socket_factory_;
239 base::WeakPtr<HttpServerProperties> http_server_properties_; 239 base::WeakPtr<HttpServerProperties> http_server_properties_;
240 TransportSecurityState* transport_security_state_;
240 QuicServerInfoFactory* quic_server_info_factory_; 241 QuicServerInfoFactory* quic_server_info_factory_;
241 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_; 242 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_;
242 QuicRandom* random_generator_; 243 QuicRandom* random_generator_;
243 scoped_ptr<QuicClock> clock_; 244 scoped_ptr<QuicClock> clock_;
244 const size_t max_packet_length_; 245 const size_t max_packet_length_;
245 246
246 // The helper used for all connections. 247 // The helper used for all connections.
247 scoped_ptr<QuicConnectionHelper> helper_; 248 scoped_ptr<QuicConnectionHelper> helper_;
248 249
249 // Contains owning pointers to all sessions that currently exist. 250 // Contains owning pointers to all sessions that currently exist.
(...skipping 32 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/quic_http_stream_test.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698