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 // This file contains the interface to the cast RTP sender. | 5 // This file contains the interface to the cast RTP sender. |
6 | 6 |
7 #ifndef MEDIA_CAST_NET_RTP_RTP_SENDER_H_ | 7 #ifndef MEDIA_CAST_NET_RTP_RTP_SENDER_H_ |
8 #define MEDIA_CAST_NET_RTP_RTP_SENDER_H_ | 8 #define MEDIA_CAST_NET_RTP_RTP_SENDER_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 | 12 |
| 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
15 #include "base/time/time.h" | 16 #include "base/time/time.h" |
16 #include "media/cast/cast_environment.h" | 17 #include "media/cast/cast_environment.h" |
17 #include "media/cast/net/cast_transport_defines.h" | 18 #include "media/cast/net/cast_transport_defines.h" |
18 #include "media/cast/net/cast_transport_sender.h" | 19 #include "media/cast/net/cast_transport_sender.h" |
19 #include "media/cast/net/pacing/paced_sender.h" | 20 #include "media/cast/net/pacing/paced_sender.h" |
20 #include "media/cast/net/rtp/packet_storage.h" | 21 #include "media/cast/net/rtp/packet_storage.h" |
21 #include "media/cast/net/rtp/rtp_packetizer.h" | 22 #include "media/cast/net/rtp/rtp_packetizer.h" |
22 | 23 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // NOTE: Weak pointers must be invalidated before all other member variables. | 77 // NOTE: Weak pointers must be invalidated before all other member variables. |
77 base::WeakPtrFactory<RtpSender> weak_factory_; | 78 base::WeakPtrFactory<RtpSender> weak_factory_; |
78 | 79 |
79 DISALLOW_COPY_AND_ASSIGN(RtpSender); | 80 DISALLOW_COPY_AND_ASSIGN(RtpSender); |
80 }; | 81 }; |
81 | 82 |
82 } // namespace cast | 83 } // namespace cast |
83 } // namespace media | 84 } // namespace media |
84 | 85 |
85 #endif // MEDIA_CAST_NET_RTP_SENDER_RTP_SENDER_H_ | 86 #endif // MEDIA_CAST_NET_RTP_SENDER_RTP_SENDER_H_ |
OLD | NEW |