OLD | NEW |
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_QUIC_DEFAULT_PACKET_WRITER_H_ | 5 #ifndef NET_TOOLS_QUIC_QUIC_DEFAULT_PACKET_WRITER_H_ |
6 #define NET_TOOLS_QUIC_QUIC_DEFAULT_PACKET_WRITER_H_ | 6 #define NET_TOOLS_QUIC_QUIC_DEFAULT_PACKET_WRITER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stddef.h> |
| 9 |
| 10 #include "base/macros.h" |
9 #include "net/base/ip_endpoint.h" | 11 #include "net/base/ip_endpoint.h" |
10 #include "net/quic/quic_packet_writer.h" | 12 #include "net/quic/quic_packet_writer.h" |
11 | 13 |
12 namespace net { | 14 namespace net { |
13 | 15 |
14 struct WriteResult; | 16 struct WriteResult; |
15 | 17 |
16 namespace tools { | 18 namespace tools { |
17 | 19 |
18 // Default packet writer which wraps QuicSocketUtils WritePacket. | 20 // Default packet writer which wraps QuicSocketUtils WritePacket. |
(...skipping 22 matching lines...) Expand all Loading... |
41 int fd_; | 43 int fd_; |
42 bool write_blocked_; | 44 bool write_blocked_; |
43 | 45 |
44 DISALLOW_COPY_AND_ASSIGN(QuicDefaultPacketWriter); | 46 DISALLOW_COPY_AND_ASSIGN(QuicDefaultPacketWriter); |
45 }; | 47 }; |
46 | 48 |
47 } // namespace tools | 49 } // namespace tools |
48 } // namespace net | 50 } // namespace net |
49 | 51 |
50 #endif // NET_TOOLS_QUIC_QUIC_DEFAULT_PACKET_WRITER_H_ | 52 #endif // NET_TOOLS_QUIC_QUIC_DEFAULT_PACKET_WRITER_H_ |
OLD | NEW |