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

Unified Diff: net/quic/core/quic_server_session_base.cc

Issue 2326073002: Refactor QuicCryptoServerStream. (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
« no previous file with comments | « net/quic/core/quic_server_session_base.h ('k') | net/quic/core/quic_server_session_base_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_server_session_base.cc
diff --git a/net/quic/core/quic_server_session_base.cc b/net/quic/core/quic_server_session_base.cc
index 82fc096021af3773d990f23e23ae795a30690a20..7cdc014803ea17d0b388d3ae0f61da52dafd520c 100644
--- a/net/quic/core/quic_server_session_base.cc
+++ b/net/quic/core/quic_server_session_base.cc
@@ -20,7 +20,7 @@ QuicServerSessionBase::QuicServerSessionBase(
const QuicConfig& config,
QuicConnection* connection,
Visitor* visitor,
- Helper* helper,
+ QuicCryptoServerStream::Helper* helper,
const QuicCryptoServerConfig* crypto_config,
QuicCompressedCertsCache* compressed_certs_cache)
: QuicSpdySession(connection, config),
@@ -198,18 +198,6 @@ void QuicServerSessionBase::OnCongestionWindowChange(QuicTime now) {
last_scup_packet_number_ = connection()->packet_number_of_last_sent_packet();
}
-QuicConnectionId QuicServerSessionBase::GenerateConnectionIdForReject(
- QuicConnectionId connection_id) {
- return helper_->GenerateConnectionIdForReject(connection_id);
-}
-
-bool QuicServerSessionBase::CanAcceptClientHello(
- const CryptoHandshakeMessage& message,
- string* error_details) {
- return helper_->CanAcceptClientHello(message, connection()->self_address(),
- error_details);
-}
-
bool QuicServerSessionBase::ShouldCreateIncomingDynamicStream(QuicStreamId id) {
if (!connection()->connected()) {
QUIC_BUG << "ShouldCreateIncomingDynamicStream called when disconnected";
« no previous file with comments | « net/quic/core/quic_server_session_base.h ('k') | net/quic/core/quic_server_session_base_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698