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 MEDIA_CAST_NET_UDP_TRANSPORT_H_ | 5 #ifndef MEDIA_CAST_NET_UDP_TRANSPORT_H_ |
6 #define MEDIA_CAST_NET_UDP_TRANSPORT_H_ | 6 #define MEDIA_CAST_NET_UDP_TRANSPORT_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "build/build_config.h" |
12 #include "media/cast/cast_environment.h" | 15 #include "media/cast/cast_environment.h" |
13 #include "media/cast/net/cast_transport_config.h" | 16 #include "media/cast/net/cast_transport_config.h" |
14 #include "media/cast/net/cast_transport_sender.h" | 17 #include "media/cast/net/cast_transport_sender.h" |
15 #include "net/base/io_buffer.h" | 18 #include "net/base/io_buffer.h" |
16 #include "net/base/ip_endpoint.h" | 19 #include "net/base/ip_endpoint.h" |
17 #include "net/udp/diff_serv_code_point.h" | 20 #include "net/udp/diff_serv_code_point.h" |
18 #include "net/udp/udp_socket.h" | 21 #include "net/udp/udp_socket.h" |
19 | 22 |
20 namespace net { | 23 namespace net { |
21 class NetLog; | 24 class NetLog; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 // NOTE: Weak pointers must be invalidated before all other member variables. | 99 // NOTE: Weak pointers must be invalidated before all other member variables. |
97 base::WeakPtrFactory<UdpTransport> weak_factory_; | 100 base::WeakPtrFactory<UdpTransport> weak_factory_; |
98 | 101 |
99 DISALLOW_COPY_AND_ASSIGN(UdpTransport); | 102 DISALLOW_COPY_AND_ASSIGN(UdpTransport); |
100 }; | 103 }; |
101 | 104 |
102 } // namespace cast | 105 } // namespace cast |
103 } // namespace media | 106 } // namespace media |
104 | 107 |
105 #endif // MEDIA_CAST_NET_UDP_TRANSPORT_H_ | 108 #endif // MEDIA_CAST_NET_UDP_TRANSPORT_H_ |
OLD | NEW |