| Index: net/tools/quic/quic_simple_crypto_server_stream_helper.cc
|
| diff --git a/net/tools/quic/quic_simple_server_session_helper.cc b/net/tools/quic/quic_simple_crypto_server_stream_helper.cc
|
| similarity index 53%
|
| copy from net/tools/quic/quic_simple_server_session_helper.cc
|
| copy to net/tools/quic/quic_simple_crypto_server_stream_helper.cc
|
| index 81ae13475584ddb57f41ced4ae3a22b9fbe33363..a2a7151c25c5608196535005b7aa1e46fb40db81 100644
|
| --- a/net/tools/quic/quic_simple_server_session_helper.cc
|
| +++ b/net/tools/quic/quic_simple_crypto_server_stream_helper.cc
|
| @@ -2,21 +2,23 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "net/tools/quic/quic_simple_server_session_helper.h"
|
| +#include "net/tools/quic/quic_simple_crypto_server_stream_helper.h"
|
|
|
| namespace net {
|
|
|
| -QuicSimpleServerSessionHelper::QuicSimpleServerSessionHelper(QuicRandom* random)
|
| +QuicSimpleCryptoServerStreamHelper::QuicSimpleCryptoServerStreamHelper(
|
| + QuicRandom* random)
|
| : random_(random) {}
|
|
|
| -QuicSimpleServerSessionHelper::~QuicSimpleServerSessionHelper() {}
|
| +QuicSimpleCryptoServerStreamHelper::~QuicSimpleCryptoServerStreamHelper() {}
|
|
|
| -QuicConnectionId QuicSimpleServerSessionHelper::GenerateConnectionIdForReject(
|
| +QuicConnectionId
|
| +QuicSimpleCryptoServerStreamHelper::GenerateConnectionIdForReject(
|
| QuicConnectionId /*connection_id*/) const {
|
| return random_->RandUint64();
|
| }
|
|
|
| -bool QuicSimpleServerSessionHelper::CanAcceptClientHello(
|
| +bool QuicSimpleCryptoServerStreamHelper::CanAcceptClientHello(
|
| const CryptoHandshakeMessage& message,
|
| const IPEndPoint& self_address,
|
| std::string* error_details) const {
|
| @@ -24,3 +26,6 @@ bool QuicSimpleServerSessionHelper::CanAcceptClientHello(
|
| }
|
|
|
| } // namespace net
|
| +
|
| +
|
| +
|
|
|