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

Side by Side Diff: net/tools/quic/quic_time_wait_list_manager.h

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Handles packets for connection_ids in time wait state by discarding the 5 // Handles packets for connection_ids in time wait state by discarding the
6 // packet and sending the clients a public reset packet with exponential 6 // packet and sending the clients a public reset packet with exponential
7 // backoff. 7 // backoff.
8 8
9 #ifndef NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ 9 #ifndef NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_
10 #define NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ 10 #define NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // state. virtual to override in tests. 76 // state. virtual to override in tests.
77 virtual void ProcessPacket(const IPEndPoint& server_address, 77 virtual void ProcessPacket(const IPEndPoint& server_address,
78 const IPEndPoint& client_address, 78 const IPEndPoint& client_address,
79 QuicConnectionId connection_id, 79 QuicConnectionId connection_id,
80 QuicPacketSequenceNumber sequence_number, 80 QuicPacketSequenceNumber sequence_number,
81 const QuicEncryptedPacket& packet); 81 const QuicEncryptedPacket& packet);
82 82
83 // Called by the dispatcher when the underlying socket becomes writable again, 83 // Called by the dispatcher when the underlying socket becomes writable again,
84 // since we might need to send pending public reset packets which we didn't 84 // since we might need to send pending public reset packets which we didn't
85 // send because the underlying socket was write blocked. 85 // send because the underlying socket was write blocked.
86 virtual void OnCanWrite() OVERRIDE; 86 virtual void OnCanWrite() override;
87 87
88 // Used to delete connection_id entries that have outlived their time wait 88 // Used to delete connection_id entries that have outlived their time wait
89 // period. 89 // period.
90 void CleanUpOldConnectionIds(); 90 void CleanUpOldConnectionIds();
91 91
92 // Given a ConnectionId that exists in the time wait list, returns the 92 // Given a ConnectionId that exists in the time wait list, returns the
93 // QuicVersion associated with it. 93 // QuicVersion associated with it.
94 QuicVersion GetQuicVersionFromConnectionId(QuicConnectionId connection_id); 94 QuicVersion GetQuicVersionFromConnectionId(QuicConnectionId connection_id);
95 95
96 protected: 96 protected:
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // Interface that manages blocked writers. 172 // Interface that manages blocked writers.
173 QuicServerSessionVisitor* visitor_; 173 QuicServerSessionVisitor* visitor_;
174 174
175 DISALLOW_COPY_AND_ASSIGN(QuicTimeWaitListManager); 175 DISALLOW_COPY_AND_ASSIGN(QuicTimeWaitListManager);
176 }; 176 };
177 177
178 } // namespace tools 178 } // namespace tools
179 } // namespace net 179 } // namespace net
180 180
181 #endif // NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ 181 #endif // NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_spdy_server_stream_test.cc ('k') | net/tools/quic/quic_time_wait_list_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698