| Index: net/tools/quic/quic_simple_crypto_server_stream_helper.h
|
| diff --git a/net/tools/quic/quic_simple_server_session_helper.h b/net/tools/quic/quic_simple_crypto_server_stream_helper.h
|
| similarity index 55%
|
| copy from net/tools/quic/quic_simple_server_session_helper.h
|
| copy to net/tools/quic/quic_simple_crypto_server_stream_helper.h
|
| index 663061fa75e05023c4a84787a52444eaea7ef6ba..5402a21fc7a98c46e85a340a04ecd480a0f6fa5c 100644
|
| --- a/net/tools/quic/quic_simple_server_session_helper.h
|
| +++ b/net/tools/quic/quic_simple_crypto_server_stream_helper.h
|
| @@ -2,21 +2,22 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SESSION_HELPER_H_
|
| -#define NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SESSION_HELPER_H_
|
| +#ifndef NET_QUIC_TOOLS_QUIC_SIMPLE_CRYPTO_SERVER_STREAM_HELPER_H_
|
| +#define NET_QUIC_TOOLS_QUIC_SIMPLE_CRYPTO_SERVER_STREAM_HELPER_H_
|
|
|
| #include "net/quic/core/crypto/quic_random.h"
|
| -#include "net/quic/core/quic_server_session_base.h"
|
| +#include "net/quic/core/quic_crypto_server_stream.h"
|
|
|
| namespace net {
|
|
|
| -// Simple helper for server sessions which generates a new random
|
| +// Simple helper for server crypto streams which generates a new random
|
| // connection ID for stateless rejects.
|
| -class QuicSimpleServerSessionHelper : public QuicServerSessionBase::Helper {
|
| +class QuicSimpleCryptoServerStreamHelper
|
| + : public QuicCryptoServerStream::Helper {
|
| public:
|
| - explicit QuicSimpleServerSessionHelper(QuicRandom* random);
|
| + explicit QuicSimpleCryptoServerStreamHelper(QuicRandom* random);
|
|
|
| - ~QuicSimpleServerSessionHelper() override;
|
| + ~QuicSimpleCryptoServerStreamHelper() override;
|
|
|
| QuicConnectionId GenerateConnectionIdForReject(
|
| QuicConnectionId /*connection_id*/) const override;
|
| @@ -31,4 +32,4 @@ class QuicSimpleServerSessionHelper : public QuicServerSessionBase::Helper {
|
|
|
| } // namespace net
|
|
|
| -#endif // NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SESSION_HELPER_H_
|
| +#endif // NET_QUIC_TOOLS_QUIC_SIMPLE_CRYPTO_SERVER_STREAM_HELPER_H_
|
|
|