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

Side by Side Diff: net/tools/quic/test_tools/packet_dropping_test_writer.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_PACKET_DROPPING_TEST_WRITER_H_ 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_PACKET_DROPPING_TEST_WRITER_H_
6 #define NET_TOOLS_QUIC_TEST_TOOLS_PACKET_DROPPING_TEST_WRITER_H_ 6 #define NET_TOOLS_QUIC_TEST_TOOLS_PACKET_DROPPING_TEST_WRITER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <list> 11 #include <list>
12 #include <memory> 12 #include <memory>
13 #include <string> 13 #include <string>
14 14
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/synchronization/lock.h" 17 #include "base/synchronization/lock.h"
18 #include "net/base/ip_address.h" 18 #include "net/base/ip_address.h"
19 #include "net/quic/quic_alarm.h" 19 #include "net/quic/core/quic_alarm.h"
20 #include "net/quic/test_tools/quic_test_utils.h" 20 #include "net/quic/test_tools/quic_test_utils.h"
21 #include "net/tools/quic/quic_epoll_clock.h" 21 #include "net/tools/quic/quic_epoll_clock.h"
22 #include "net/tools/quic/quic_packet_writer_wrapper.h" 22 #include "net/tools/quic/quic_packet_writer_wrapper.h"
23 #include "net/tools/quic/test_tools/quic_test_client.h" 23 #include "net/tools/quic/test_tools/quic_test_client.h"
24 24
25 namespace net { 25 namespace net {
26 namespace test { 26 namespace test {
27 27
28 // Simulates a connection that drops packets a configured percentage of the time 28 // Simulates a connection that drops packets a configured percentage of the time
29 // and has a blocked socket a configured percentage of the time. Also provides 29 // and has a blocked socket a configured percentage of the time. Also provides
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 QuicBandwidth fake_bandwidth_; 172 QuicBandwidth fake_bandwidth_;
173 QuicByteCount buffer_size_; 173 QuicByteCount buffer_size_;
174 174
175 DISALLOW_COPY_AND_ASSIGN(PacketDroppingTestWriter); 175 DISALLOW_COPY_AND_ASSIGN(PacketDroppingTestWriter);
176 }; 176 };
177 177
178 } // namespace test 178 } // namespace test
179 } // namespace net 179 } // namespace net
180 180
181 #endif // NET_TOOLS_QUIC_TEST_TOOLS_PACKET_DROPPING_TEST_WRITER_H_ 181 #endif // NET_TOOLS_QUIC_TEST_TOOLS_PACKET_DROPPING_TEST_WRITER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/mock_quic_server_session_visitor.h ('k') | net/tools/quic/test_tools/quic_test_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698