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

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

Issue 1378613004: Set Token-Binding HTTP header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tb-tls-ext-new
Patch Set: Add UMA logging of Token Binding support and NetLog event for Token Binding key lookup Created 5 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
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/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/debug/stack_trace.h" 10 #include "base/debug/stack_trace.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 quic_store_server_configs_in_properties(false), 111 quic_store_server_configs_in_properties(false),
112 quic_clock(NULL), 112 quic_clock(NULL),
113 quic_random(NULL), 113 quic_random(NULL),
114 quic_max_packet_length(kDefaultMaxPacketSize), 114 quic_max_packet_length(kDefaultMaxPacketSize),
115 enable_user_alternate_protocol_ports(false), 115 enable_user_alternate_protocol_ports(false),
116 quic_crypto_client_stream_factory(NULL), 116 quic_crypto_client_stream_factory(NULL),
117 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons), 117 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons),
118 quic_threshold_public_resets_post_handshake(0), 118 quic_threshold_public_resets_post_handshake(0),
119 quic_threshold_timeouts_streams_open(0), 119 quic_threshold_timeouts_streams_open(0),
120 quic_close_sessions_on_ip_change(false), 120 quic_close_sessions_on_ip_change(false),
121 proxy_delegate(NULL) { 121 proxy_delegate(NULL),
122 enable_token_binding(false) {
122 quic_supported_versions.push_back(QUIC_VERSION_27); 123 quic_supported_versions.push_back(QUIC_VERSION_27);
123 } 124 }
124 125
125 HttpNetworkSession::Params::~Params() {} 126 HttpNetworkSession::Params::~Params() {}
126 127
127 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. 128 // TODO(mbelshe): Move the socket factories into HttpStreamFactory.
128 HttpNetworkSession::HttpNetworkSession(const Params& params) 129 HttpNetworkSession::HttpNetworkSession(const Params& params)
129 : net_log_(params.net_log), 130 : net_log_(params.net_log),
130 network_delegate_(params.network_delegate), 131 network_delegate_(params.network_delegate),
131 http_server_properties_(params.http_server_properties), 132 http_server_properties_(params.http_server_properties),
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 case WEBSOCKET_SOCKET_POOL: 354 case WEBSOCKET_SOCKET_POOL:
354 return websocket_socket_pool_manager_.get(); 355 return websocket_socket_pool_manager_.get();
355 default: 356 default:
356 NOTREACHED(); 357 NOTREACHED();
357 break; 358 break;
358 } 359 }
359 return NULL; 360 return NULL;
360 } 361 }
361 362
362 } // namespace net 363 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698