OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_ | 5 #ifndef NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_ |
6 #define NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_ | 6 #define NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "net/base/ip_endpoint.h" | 13 #include "net/base/ip_endpoint.h" |
14 #include "net/quic/quic_connection.h" | 14 #include "net/quic/core/quic_connection.h" |
15 #include "net/quic/quic_packet_writer.h" | 15 #include "net/quic/core/quic_packet_writer.h" |
16 #include "net/quic/quic_protocol.h" | 16 #include "net/quic/core/quic_protocol.h" |
17 | 17 |
18 namespace net { | 18 namespace net { |
19 | 19 |
20 class IPAddress; | 20 class IPAddress; |
21 class QuicBlockedWriterInterface; | 21 class QuicBlockedWriterInterface; |
22 class UDPServerSocket; | 22 class UDPServerSocket; |
23 struct WriteResult; | 23 struct WriteResult; |
24 | 24 |
25 | 25 |
26 // Chrome specific packet writer which uses a UDPServerSocket for writing | 26 // Chrome specific packet writer which uses a UDPServerSocket for writing |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 bool write_blocked_; | 68 bool write_blocked_; |
69 | 69 |
70 base::WeakPtrFactory<QuicSimpleServerPacketWriter> weak_factory_; | 70 base::WeakPtrFactory<QuicSimpleServerPacketWriter> weak_factory_; |
71 | 71 |
72 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerPacketWriter); | 72 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerPacketWriter); |
73 }; | 73 }; |
74 | 74 |
75 } // namespace net | 75 } // namespace net |
76 | 76 |
77 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_ | 77 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_ |
OLD | NEW |