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_PER_CONNECTION_PACKET_WRITER_H_ | 5 #ifndef NET_QUIC_TOOLS_QUIC_SIMPLE_PER_CONNECTION_PACKET_WRITER_H_ |
6 #define NET_QUIC_TOOLS_QUIC_SIMPLE_PER_CONNECTION_PACKET_WRITER_H_ | 6 #define NET_QUIC_TOOLS_QUIC_SIMPLE_PER_CONNECTION_PACKET_WRITER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 10 #include "base/macros.h" |
8 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
9 #include "net/quic/quic_connection.h" | 12 #include "net/quic/quic_connection.h" |
10 #include "net/quic/quic_packet_writer.h" | 13 #include "net/quic/quic_packet_writer.h" |
11 | 14 |
12 namespace net { | 15 namespace net { |
13 namespace tools { | 16 namespace tools { |
14 | 17 |
15 class QuicSimpleServerPacketWriter; | 18 class QuicSimpleServerPacketWriter; |
16 | 19 |
17 // A connection-specific packet writer that notifies its connection when its | 20 // A connection-specific packet writer that notifies its connection when its |
(...skipping 30 matching lines...) Expand all Loading... |
48 | 51 |
49 base::WeakPtrFactory<QuicSimplePerConnectionPacketWriter> weak_factory_; | 52 base::WeakPtrFactory<QuicSimplePerConnectionPacketWriter> weak_factory_; |
50 | 53 |
51 DISALLOW_COPY_AND_ASSIGN(QuicSimplePerConnectionPacketWriter); | 54 DISALLOW_COPY_AND_ASSIGN(QuicSimplePerConnectionPacketWriter); |
52 }; | 55 }; |
53 | 56 |
54 } // namespace tools | 57 } // namespace tools |
55 } // namespace net | 58 } // namespace net |
56 | 59 |
57 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_PER_CONNECTION_PACKET_WRITER_H_ | 60 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_PER_CONNECTION_PACKET_WRITER_H_ |
OLD | NEW |