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

Side by Side Diff: net/tools/quic/test_tools/packet_dropping_test_writer.cc

Issue 2548213002: Move quic_socket_utils to platform/impl/ (Closed)
Patch Set: Created 4 years 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 | « net/tools/quic/quic_socket_utils.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "net/tools/quic/test_tools/packet_dropping_test_writer.h" 5 #include "net/tools/quic/test_tools/packet_dropping_test_writer.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/rand_util.h" 9 #include "base/rand_util.h"
10 #include "net/tools/quic/platform/impl/quic_socket_utils.h"
10 #include "net/tools/quic/quic_epoll_connection_helper.h" 11 #include "net/tools/quic/quic_epoll_connection_helper.h"
11 #include "net/tools/quic/quic_socket_utils.h"
12 12
13 namespace net { 13 namespace net {
14 namespace test { 14 namespace test {
15 15
16 // An alarm that is scheduled if a blocked socket is simulated to indicate 16 // An alarm that is scheduled if a blocked socket is simulated to indicate
17 // it's writable again. 17 // it's writable again.
18 class WriteUnblockedAlarm : public QuicAlarm::Delegate { 18 class WriteUnblockedAlarm : public QuicAlarm::Delegate {
19 public: 19 public:
20 explicit WriteUnblockedAlarm(PacketDroppingTestWriter* writer) 20 explicit WriteUnblockedAlarm(PacketDroppingTestWriter* writer)
21 : writer_(writer) {} 21 : writer_(writer) {}
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 // IPAddress has no move assignment operator. 237 // IPAddress has no move assignment operator.
238 // 238 //
239 // PacketDroppingTestWriter::DelayedWrite& 239 // PacketDroppingTestWriter::DelayedWrite&
240 // PacketDroppingTestWriter::DelayedWrite::operator=( 240 // PacketDroppingTestWriter::DelayedWrite::operator=(
241 // PacketDroppingTestWriter::DelayedWrite&& other) = default; 241 // PacketDroppingTestWriter::DelayedWrite&& other) = default;
242 242
243 PacketDroppingTestWriter::DelayedWrite::~DelayedWrite() {} 243 PacketDroppingTestWriter::DelayedWrite::~DelayedWrite() {}
244 244
245 } // namespace test 245 } // namespace test
246 } // namespace net 246 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_socket_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698