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

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

Issue 2322233004: Landing Recent QUIC changes until Sun Sep 4 03:41:00 (Closed)
Patch Set: Remove simulation files from the build. Created 4 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "net/tools/quic/quic_simple_crypto_server_stream_helper.h"
6
7 namespace net {
8
9 QuicSimpleCryptoServerStreamHelper::QuicSimpleCryptoServerStreamHelper(
10 QuicRandom* random)
11 : random_(random) {}
12
13 QuicSimpleCryptoServerStreamHelper::~QuicSimpleCryptoServerStreamHelper() {}
14
15 QuicConnectionId
16 QuicSimpleCryptoServerStreamHelper::GenerateConnectionIdForReject(
17 QuicConnectionId /*connection_id*/) const {
18 return random_->RandUint64();
19 }
20
21 bool QuicSimpleCryptoServerStreamHelper::CanAcceptClientHello(
22 const CryptoHandshakeMessage& message,
23 const IPEndPoint& self_address,
24 std::string* error_details) const {
25 return true;
26 }
27
28 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_simple_crypto_server_stream_helper.h ('k') | net/tools/quic/quic_simple_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698