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

Side by Side Diff: net/tools/quic/quic_client_base.cc

Issue 1397983007: relnote: remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rch_insecure_quic
Patch Set: Compile fix Created 5 years, 2 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/tools/quic/quic_client_base.h ('k') | net/tools/quic/quic_client_bin.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) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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/tools/quic/quic_client_base.h" 5 #include "net/tools/quic/quic_client_base.h"
6 6
7 #include "net/quic/crypto/quic_random.h" 7 #include "net/quic/crypto/quic_random.h"
8 #include "net/quic/quic_server_id.h" 8 #include "net/quic/quic_server_id.h"
9 9
10 namespace net { 10 namespace net {
11 namespace tools { 11 namespace tools {
12 12
13 QuicClientBase::QuicClientBase(const QuicServerId& server_id, 13 QuicClientBase::QuicClientBase(const QuicServerId& server_id,
14 const QuicVersionVector& supported_versions, 14 const QuicVersionVector& supported_versions,
15 const QuicConfig& config) 15 const QuicConfig& config,
16 ProofVerifier* proof_verifier)
16 : server_id_(server_id), 17 : server_id_(server_id),
17 config_(config), 18 config_(config),
19 crypto_config_(proof_verifier),
18 supported_versions_(supported_versions), 20 supported_versions_(supported_versions),
19 initial_max_packet_length_(0), 21 initial_max_packet_length_(0),
20 num_stateless_rejects_received_(0), 22 num_stateless_rejects_received_(0),
21 num_sent_client_hellos_(0), 23 num_sent_client_hellos_(0),
22 connection_error_(QUIC_NO_ERROR), 24 connection_error_(QUIC_NO_ERROR),
23 connected_or_attempting_connect_(false) {} 25 connected_or_attempting_connect_(false) {}
24 26
25 QuicClientBase::~QuicClientBase() {} 27 QuicClientBase::~QuicClientBase() {}
26 28
27 bool QuicClientBase::Initialize() { 29 bool QuicClientBase::Initialize() {
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 ? cached->GetNextServerDesignatedConnectionId() 138 ? cached->GetNextServerDesignatedConnectionId()
137 : 0; 139 : 0;
138 } 140 }
139 141
140 QuicConnectionId QuicClientBase::GenerateNewConnectionId() { 142 QuicConnectionId QuicClientBase::GenerateNewConnectionId() {
141 return QuicRandom::GetInstance()->RandUint64(); 143 return QuicRandom::GetInstance()->RandUint64();
142 } 144 }
143 145
144 } // namespace tools 146 } // namespace tools
145 } // namespace net 147 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_client_base.h ('k') | net/tools/quic/quic_client_bin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698