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

Unified Diff: net/tools/quic/quic_simple_crypto_server_stream_helper.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/quic/quic_server_test.cc ('k') | net/tools/quic/quic_simple_crypto_server_stream_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « net/tools/quic/quic_server_test.cc ('k') | net/tools/quic/quic_simple_crypto_server_stream_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698