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

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

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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/core/crypto/quic_random.h"
8 #include "net/quic/quic_server_id.h" 8 #include "net/quic/core/quic_server_id.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 QuicClientBase::QuicClientBase(const QuicServerId& server_id, 12 QuicClientBase::QuicClientBase(const QuicServerId& server_id,
13 const QuicVersionVector& supported_versions, 13 const QuicVersionVector& supported_versions,
14 const QuicConfig& config, 14 const QuicConfig& config,
15 QuicConnectionHelperInterface* helper, 15 QuicConnectionHelperInterface* helper,
16 QuicAlarmFactory* alarm_factory, 16 QuicAlarmFactory* alarm_factory,
17 std::unique_ptr<ProofVerifier> proof_verifier) 17 std::unique_ptr<ProofVerifier> proof_verifier)
18 : server_id_(server_id), 18 : server_id_(server_id),
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 return cached->has_server_designated_connection_id() 144 return cached->has_server_designated_connection_id()
145 ? cached->GetNextServerDesignatedConnectionId() 145 ? cached->GetNextServerDesignatedConnectionId()
146 : 0; 146 : 0;
147 } 147 }
148 148
149 QuicConnectionId QuicClientBase::GenerateNewConnectionId() { 149 QuicConnectionId QuicClientBase::GenerateNewConnectionId() {
150 return QuicRandom::GetInstance()->RandUint64(); 150 return QuicRandom::GetInstance()->RandUint64();
151 } 151 }
152 152
153 } // namespace net 153 } // 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