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

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

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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/base/linked_hash_map.h" 18 #include "net/base/linked_hash_map.h"
19 #include "net/quic/quic_blocked_writer_interface.h" 19 #include "net/quic/core/quic_blocked_writer_interface.h"
20 #include "net/quic/quic_connection.h" 20 #include "net/quic/core/quic_connection.h"
21 #include "net/quic/quic_framer.h" 21 #include "net/quic/core/quic_framer.h"
22 #include "net/quic/quic_packet_writer.h" 22 #include "net/quic/core/quic_packet_writer.h"
23 #include "net/quic/quic_protocol.h" 23 #include "net/quic/core/quic_protocol.h"
24 #include "net/quic/quic_server_session_base.h" 24 #include "net/quic/core/quic_server_session_base.h"
25 25
26 namespace net { 26 namespace net {
27 27
28 namespace test { 28 namespace test {
29 class QuicTimeWaitListManagerPeer; 29 class QuicTimeWaitListManagerPeer;
30 } // namespace test 30 } // namespace test
31 31
32 // Maintains a list of all connection_ids that have been recently closed. A 32 // Maintains a list of all connection_ids that have been recently closed. A
33 // connection_id lives in this state for time_wait_period_. All packets received 33 // connection_id lives in this state for time_wait_period_. All packets received
34 // for connection_ids in this state are handed over to the 34 // for connection_ids in this state are handed over to the
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 195
196 // Interface that manages blocked writers. 196 // Interface that manages blocked writers.
197 QuicServerSessionBase::Visitor* visitor_; 197 QuicServerSessionBase::Visitor* visitor_;
198 198
199 DISALLOW_COPY_AND_ASSIGN(QuicTimeWaitListManager); 199 DISALLOW_COPY_AND_ASSIGN(QuicTimeWaitListManager);
200 }; 200 };
201 201
202 } // namespace net 202 } // namespace net
203 203
204 #endif // NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_ 204 #endif // NET_TOOLS_QUIC_QUIC_TIME_WAIT_LIST_MANAGER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_spdy_client_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