| Index: net/tools/quic/quic_dispatcher.h
|
| diff --git a/net/tools/quic/quic_dispatcher.h b/net/tools/quic/quic_dispatcher.h
|
| index fb9df23478c4653beb0c8cf52b07b6a3297878df..121794c1ef367672270040c7a2830482d337a942 100644
|
| --- a/net/tools/quic/quic_dispatcher.h
|
| +++ b/net/tools/quic/quic_dispatcher.h
|
| @@ -25,7 +25,7 @@ namespace net {
|
| class EpollServer;
|
| class QuicConfig;
|
| class QuicCryptoServerConfig;
|
| -class QuicSession;
|
| +class QuicServerSession;
|
|
|
| namespace tools {
|
|
|
| @@ -119,7 +119,7 @@ class QuicDispatcher : public QuicServerSessionVisitor,
|
| void OnConnectionRemovedFromTimeWaitList(
|
| QuicConnectionId connection_id) override;
|
|
|
| - typedef base::hash_map<QuicConnectionId, QuicSession*> SessionMap;
|
| + typedef base::hash_map<QuicConnectionId, QuicServerSession*> SessionMap;
|
|
|
| // Deletes all sessions on the closed session list and clears the list.
|
| void DeleteSessions();
|
| @@ -131,9 +131,10 @@ class QuicDispatcher : public QuicServerSessionVisitor,
|
| // returned object.
|
| virtual QuicPacketWriter* CreateWriter(int fd);
|
|
|
| - virtual QuicSession* CreateQuicSession(QuicConnectionId connection_id,
|
| - const IPEndPoint& server_address,
|
| - const IPEndPoint& client_address);
|
| + virtual QuicServerSession* CreateQuicSession(
|
| + QuicConnectionId connection_id,
|
| + const IPEndPoint& server_address,
|
| + const IPEndPoint& client_address);
|
|
|
| // Called by |framer_visitor_| when the public header has been parsed.
|
| virtual bool OnUnauthenticatedPublicHeader(
|
| @@ -144,9 +145,9 @@ class QuicDispatcher : public QuicServerSessionVisitor,
|
| // certain simple processing rules. This method may apply validity checks to
|
| // reject stray packets. If the packet appears to be valid, it calls
|
| // CreateQuicSession to create a new session for the packet. Returns the
|
| - // QuicSession that was created, or nullptr if the packet failed the validity
|
| - // checks.
|
| - virtual QuicSession* AdditionalValidityChecksThenCreateSession(
|
| + // QuicServerSession that was created, or nullptr if the packet failed the
|
| + // validity checks.
|
| + virtual QuicServerSession* AdditionalValidityChecksThenCreateSession(
|
| const QuicPacketPublicHeader& header,
|
| QuicConnectionId connection_id);
|
|
|
| @@ -233,7 +234,7 @@ class QuicDispatcher : public QuicServerSessionVisitor,
|
| scoped_ptr<DeleteSessionsAlarm> delete_sessions_alarm_;
|
|
|
| // The list of closed but not-yet-deleted sessions.
|
| - std::list<QuicSession*> closed_session_list_;
|
| + std::list<QuicServerSession*> closed_session_list_;
|
|
|
| EpollServer* epoll_server_; // Owned by the server.
|
|
|
|
|