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

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

Issue 1034823002: QUIC - minor changes found while merging with the internal source. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0324
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | net/tools/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ 9 #ifndef NET_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_
10 #define NET_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ 10 #define NET_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 std::deque<QueuedPacket*> pending_packets_queue_; 167 std::deque<QueuedPacket*> pending_packets_queue_;
168 168
169 // Used to schedule alarms to delete old connection_ids which have been in the 169 // Used to schedule alarms to delete old connection_ids which have been in the
170 // list for too long. 170 // list for too long.
171 QuicConnectionHelperInterface* helper_; 171 QuicConnectionHelperInterface* helper_;
172 172
173 // Time period for which connection_ids should remain in time wait state. 173 // Time period for which connection_ids should remain in time wait state.
174 const QuicTime::Delta time_wait_period_; 174 const QuicTime::Delta time_wait_period_;
175 175
176 // Alarm registered with the connection helper to clean up connection_ids that 176 // Alarm registered with the connection helper to clean up connection_ids that
177 // have 177 // have out lived their duration in time wait state.
178 // out lived their duration in time wait state.
179 scoped_ptr<QuicAlarm> connection_id_clean_up_alarm_; 178 scoped_ptr<QuicAlarm> connection_id_clean_up_alarm_;
180 179
181 // Interface that writes given buffer to the socket. 180 // Interface that writes given buffer to the socket.
182 QuicPacketWriter* writer_; 181 QuicPacketWriter* writer_;
183 182
184 // Interface that manages blocked writers. 183 // Interface that manages blocked writers.
185 QuicServerSessionVisitor* visitor_; 184 QuicServerSessionVisitor* visitor_;
186 185
187 DISALLOW_COPY_AND_ASSIGN(QuicTimeWaitListManager); 186 DISALLOW_COPY_AND_ASSIGN(QuicTimeWaitListManager);
188 }; 187 };
189 188
190 } // namespace net 189 } // namespace net
191 190
192 #endif // NET_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ 191 #endif // NET_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | net/tools/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698