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_TRANSPORT_TRANSPORT_UDP_TRANSPORT_H_ | 5 #ifndef MEDIA_CAST_TRANSPORT_UDP_TRANSPORT_H_ |
6 #define MEDIA_CAST_TRANSPORT_TRANSPORT_UDP_TRANSPORT_H_ | 6 #define MEDIA_CAST_TRANSPORT_UDP_TRANSPORT_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "media/cast/cast_environment.h" | 11 #include "media/cast/cast_environment.h" |
12 #include "media/cast/transport/cast_transport_config.h" | 12 #include "media/cast/transport/cast_transport_config.h" |
13 #include "media/cast/transport/cast_transport_sender.h" | 13 #include "media/cast/transport/cast_transport_sender.h" |
14 #include "net/base/ip_endpoint.h" | 14 #include "net/base/ip_endpoint.h" |
15 #include "net/base/net_util.h" | 15 #include "net/base/net_util.h" |
16 #include "net/udp/udp_socket.h" | 16 #include "net/udp/udp_socket.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // NOTE: Weak pointers must be invalidated before all other member variables. | 87 // NOTE: Weak pointers must be invalidated before all other member variables. |
88 base::WeakPtrFactory<UdpTransport> weak_factory_; | 88 base::WeakPtrFactory<UdpTransport> weak_factory_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(UdpTransport); | 90 DISALLOW_COPY_AND_ASSIGN(UdpTransport); |
91 }; | 91 }; |
92 | 92 |
93 } // namespace transport | 93 } // namespace transport |
94 } // namespace cast | 94 } // namespace cast |
95 } // namespace media | 95 } // namespace media |
96 | 96 |
97 #endif // MEDIA_CAST_TRANSPORT_TRANSPORT_UDP_TRANSPORT_H_ | 97 #endif // MEDIA_CAST_TRANSPORT_UDP_TRANSPORT_H_ |
OLD | NEW |