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

Side by Side Diff: net/http/http_network_session.cc

Issue 1796253002: Add an option to disable net::BidirectionalStreamQuicImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 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/http/http_network_session.h ('k') | net/http/http_stream_factory_impl.h » ('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 #include "net/http/http_network_session.h" 5 #include "net/http/http_network_session.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/atomic_sequence_num.h" 9 #include "base/atomic_sequence_num.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 quic_crypto_client_stream_factory( 123 quic_crypto_client_stream_factory(
124 QuicCryptoClientStreamFactory::GetDefaultFactory()), 124 QuicCryptoClientStreamFactory::GetDefaultFactory()),
125 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons), 125 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons),
126 quic_threshold_public_resets_post_handshake(0), 126 quic_threshold_public_resets_post_handshake(0),
127 quic_threshold_timeouts_streams_open(0), 127 quic_threshold_timeouts_streams_open(0),
128 quic_close_sessions_on_ip_change(false), 128 quic_close_sessions_on_ip_change(false),
129 quic_idle_connection_timeout_seconds(kIdleConnectionTimeoutSeconds), 129 quic_idle_connection_timeout_seconds(kIdleConnectionTimeoutSeconds),
130 quic_disable_preconnect_if_0rtt(false), 130 quic_disable_preconnect_if_0rtt(false),
131 quic_migrate_sessions_on_network_change(false), 131 quic_migrate_sessions_on_network_change(false),
132 quic_migrate_sessions_early(false), 132 quic_migrate_sessions_early(false),
133 quic_disable_bidirectional_streams(false),
133 proxy_delegate(NULL), 134 proxy_delegate(NULL),
134 enable_token_binding(false) { 135 enable_token_binding(false) {
135 quic_supported_versions.push_back(QUIC_VERSION_30); 136 quic_supported_versions.push_back(QUIC_VERSION_30);
136 } 137 }
137 138
138 HttpNetworkSession::Params::Params(const Params& other) = default; 139 HttpNetworkSession::Params::Params(const Params& other) = default;
139 140
140 HttpNetworkSession::Params::~Params() {} 141 HttpNetworkSession::Params::~Params() {}
141 142
142 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. 143 // TODO(mbelshe): Move the socket factories into HttpStreamFactory.
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 case WEBSOCKET_SOCKET_POOL: 383 case WEBSOCKET_SOCKET_POOL:
383 return websocket_socket_pool_manager_.get(); 384 return websocket_socket_pool_manager_.get();
384 default: 385 default:
385 NOTREACHED(); 386 NOTREACHED();
386 break; 387 break;
387 } 388 }
388 return NULL; 389 return NULL;
389 } 390 }
390 391
391 } // namespace net 392 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_stream_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698