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

Unified 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: 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
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
+
+
+

Powered by Google App Engine
This is Rietveld 408576698