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 "base/macros.h" |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "media/cast/cast_environment.h" | 12 #include "media/cast/cast_environment.h" |
12 #include "media/cast/net/cast_transport_config.h" | 13 #include "media/cast/net/cast_transport_config.h" |
13 #include "media/cast/net/cast_transport_sender.h" | 14 #include "media/cast/net/cast_transport_sender.h" |
14 #include "net/base/io_buffer.h" | 15 #include "net/base/io_buffer.h" |
15 #include "net/base/ip_endpoint.h" | 16 #include "net/base/ip_endpoint.h" |
16 #include "net/udp/diff_serv_code_point.h" | 17 #include "net/udp/diff_serv_code_point.h" |
17 #include "net/udp/udp_socket.h" | 18 #include "net/udp/udp_socket.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // NOTE: Weak pointers must be invalidated before all other member variables. | 96 // NOTE: Weak pointers must be invalidated before all other member variables. |
96 base::WeakPtrFactory<UdpTransport> weak_factory_; | 97 base::WeakPtrFactory<UdpTransport> weak_factory_; |
97 | 98 |
98 DISALLOW_COPY_AND_ASSIGN(UdpTransport); | 99 DISALLOW_COPY_AND_ASSIGN(UdpTransport); |
99 }; | 100 }; |
100 | 101 |
101 } // namespace cast | 102 } // namespace cast |
102 } // namespace media | 103 } // namespace media |
103 | 104 |
104 #endif // MEDIA_CAST_NET_UDP_TRANSPORT_H_ | 105 #endif // MEDIA_CAST_NET_UDP_TRANSPORT_H_ |
OLD | NEW |