| 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 "base/basictypes.h" | 8 #include <stddef.h> |
| 9 |
| 9 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
| 10 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 11 #include "net/base/ip_endpoint.h" | 13 #include "net/base/ip_endpoint.h" |
| 12 #include "net/quic/quic_connection.h" | 14 #include "net/quic/quic_connection.h" |
| 13 #include "net/quic/quic_packet_writer.h" | 15 #include "net/quic/quic_packet_writer.h" |
| 14 #include "net/quic/quic_protocol.h" | 16 #include "net/quic/quic_protocol.h" |
| 15 | 17 |
| 16 namespace net { | 18 namespace net { |
| 17 | 19 |
| 18 class QuicBlockedWriterInterface; | 20 class QuicBlockedWriterInterface; |
| 19 class UDPServerSocket; | 21 class UDPServerSocket; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 72 |
| 71 base::WeakPtrFactory<QuicSimpleServerPacketWriter> weak_factory_; | 73 base::WeakPtrFactory<QuicSimpleServerPacketWriter> weak_factory_; |
| 72 | 74 |
| 73 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerPacketWriter); | 75 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerPacketWriter); |
| 74 }; | 76 }; |
| 75 | 77 |
| 76 } // namespace tools | 78 } // namespace tools |
| 77 } // namespace net | 79 } // namespace net |
| 78 | 80 |
| 79 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_ | 81 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_PACKET_WRITER_H_ |
| OLD | NEW |