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

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

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format Created 3 years, 8 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_
11 11
12 #include <stddef.h> 12 #include <stddef.h>
13 13
14 #include <deque> 14 #include <deque>
15 #include <memory> 15 #include <memory>
16 16
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "net/quic/core/quic_blocked_writer_interface.h" 18 #include "net/quic/core/quic_blocked_writer_interface.h"
19 #include "net/quic/core/quic_connection.h" 19 #include "net/quic/core/quic_connection.h"
20 #include "net/quic/core/quic_framer.h" 20 #include "net/quic/core/quic_framer.h"
21 #include "net/quic/core/quic_packet_writer.h" 21 #include "net/quic/core/quic_packet_writer.h"
22 #include "net/quic/core/quic_packets.h" 22 #include "net/quic/core/quic_packets.h"
23 #include "net/quic/core/quic_session.h" 23 #include "net/quic/core/quic_session.h"
24 #include "net/quic/platform/api/quic_containers.h" 24 #include "net/quic/platform/api/quic_containers.h"
25 #include "net/quic/platform/api/quic_flags.h"
25 26
26 namespace net { 27 namespace net {
27 28
28 namespace test { 29 namespace test {
29 class QuicDispatcherPeer; 30 class QuicDispatcherPeer;
30 class QuicTimeWaitListManagerPeer; 31 class QuicTimeWaitListManagerPeer;
31 } // namespace test 32 } // namespace test
32 33
33 // Maintains a list of all connection_ids that have been recently closed. A 34 // Maintains a list of all connection_ids that have been recently closed. A
34 // connection_id lives in this state for time_wait_period_. All packets received 35 // connection_id lives in this state for time_wait_period_. All packets received
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 205
205 // Interface that manages blocked writers. 206 // Interface that manages blocked writers.
206 Visitor* visitor_; 207 Visitor* visitor_;
207 208
208 DISALLOW_COPY_AND_ASSIGN(QuicTimeWaitListManager); 209 DISALLOW_COPY_AND_ASSIGN(QuicTimeWaitListManager);
209 }; 210 };
210 211
211 } // namespace net 212 } // namespace net
212 213
213 #endif // NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ 214 #endif // NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_simple_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