| 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_QUIC_QUIC_DEFAULT_PACKET_WRITER_H_ | 5 #ifndef NET_QUIC_QUIC_DEFAULT_PACKET_WRITER_H_ |
| 6 #define NET_QUIC_QUIC_DEFAULT_PACKET_WRITER_H_ | 6 #define NET_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 "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 10 #include "net/base/ip_endpoint.h" | 12 #include "net/base/ip_endpoint.h" |
| 11 #include "net/quic/quic_connection.h" | 13 #include "net/quic/quic_connection.h" |
| 12 #include "net/quic/quic_packet_writer.h" | 14 #include "net/quic/quic_packet_writer.h" |
| 13 #include "net/quic/quic_protocol.h" | 15 #include "net/quic/quic_protocol.h" |
| 14 #include "net/udp/datagram_client_socket.h" | 16 #include "net/udp/datagram_client_socket.h" |
| 15 | 17 |
| 16 namespace net { | 18 namespace net { |
| 17 | 19 |
| 18 struct WriteResult; | 20 struct WriteResult; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 48 bool write_blocked_; | 50 bool write_blocked_; |
| 49 | 51 |
| 50 base::WeakPtrFactory<QuicDefaultPacketWriter> weak_factory_; | 52 base::WeakPtrFactory<QuicDefaultPacketWriter> weak_factory_; |
| 51 | 53 |
| 52 DISALLOW_COPY_AND_ASSIGN(QuicDefaultPacketWriter); | 54 DISALLOW_COPY_AND_ASSIGN(QuicDefaultPacketWriter); |
| 53 }; | 55 }; |
| 54 | 56 |
| 55 } // namespace net | 57 } // namespace net |
| 56 | 58 |
| 57 #endif // NET_QUIC_QUIC_DEFAULT_PACKET_WRITER_H_ | 59 #endif // NET_QUIC_QUIC_DEFAULT_PACKET_WRITER_H_ |
| OLD | NEW |