| Index: net/tools/quic/quic_dispatcher.cc
|
| diff --git a/net/tools/quic/quic_dispatcher.cc b/net/tools/quic/quic_dispatcher.cc
|
| index c4e1e53542e9a43fb14bf0383c4f1cdfa2bb31ae..758f8a0927c8e530620264dc31cba0d9cecc5aa2 100644
|
| --- a/net/tools/quic/quic_dispatcher.cc
|
| +++ b/net/tools/quic/quic_dispatcher.cc
|
| @@ -475,7 +475,7 @@ bool QuicDispatcher::HasPendingWrites() const {
|
|
|
| void QuicDispatcher::Shutdown() {
|
| while (!session_map_.empty()) {
|
| - QuicServerSessionBase* session = session_map_.begin()->second.get();
|
| + QuicSession* session = session_map_.begin()->second.get();
|
| session->connection()->CloseConnection(
|
| QUIC_PEER_GOING_AWAY, "Server shutdown imminent",
|
| ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET);
|
| @@ -654,7 +654,7 @@ void QuicDispatcher::ProcessBufferedChlos(size_t max_connections_to_create) {
|
| if (packets.empty()) {
|
| return;
|
| }
|
| - QuicServerSessionBase* session =
|
| + QuicSession* session =
|
| CreateQuicSession(connection_id, packets.front().client_address);
|
| DVLOG(1) << "Created new session for " << connection_id;
|
| session_map_.insert(
|
| @@ -751,7 +751,7 @@ void QuicDispatcher::ProcessChlo() {
|
| return;
|
| }
|
| // Creates a new session and process all buffered packets for this connection.
|
| - QuicServerSessionBase* session =
|
| + QuicSession* session =
|
| CreateQuicSession(current_connection_id_, current_client_address_);
|
| DVLOG(1) << "Created new session for " << current_connection_id_;
|
| session_map_.insert(
|
| @@ -1005,8 +1005,8 @@ const QuicVersionVector& QuicDispatcher::GetSupportedVersions() {
|
| }
|
|
|
| void QuicDispatcher::DeliverPacketsToSession(
|
| - const std::list<BufferedPacket>& packets,
|
| - QuicServerSessionBase* session) {
|
| + const list<BufferedPacket>& packets,
|
| + QuicSession* session) {
|
| for (const BufferedPacket& packet : packets) {
|
| session->ProcessUdpPacket(packet.server_address, packet.client_address,
|
| *(packet.packet));
|
|
|