| 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 <stddef.h> |
| 11 #include <stdint.h> |
| 12 |
| 10 #include <map> | 13 #include <map> |
| 11 #include <set> | 14 #include <set> |
| 12 | 15 |
| 13 #include "base/macros.h" | 16 #include "base/macros.h" |
| 14 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 16 #include "base/time/time.h" | 19 #include "base/time/time.h" |
| 17 #include "media/cast/cast_environment.h" | 20 #include "media/cast/cast_environment.h" |
| 18 #include "media/cast/net/cast_transport_defines.h" | 21 #include "media/cast/net/cast_transport_defines.h" |
| 19 #include "media/cast/net/cast_transport_sender.h" | 22 #include "media/cast/net/cast_transport_sender.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // NOTE: Weak pointers must be invalidated before all other member variables. | 80 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 78 base::WeakPtrFactory<RtpSender> weak_factory_; | 81 base::WeakPtrFactory<RtpSender> weak_factory_; |
| 79 | 82 |
| 80 DISALLOW_COPY_AND_ASSIGN(RtpSender); | 83 DISALLOW_COPY_AND_ASSIGN(RtpSender); |
| 81 }; | 84 }; |
| 82 | 85 |
| 83 } // namespace cast | 86 } // namespace cast |
| 84 } // namespace media | 87 } // namespace media |
| 85 | 88 |
| 86 #endif // MEDIA_CAST_NET_RTP_SENDER_RTP_SENDER_H_ | 89 #endif // MEDIA_CAST_NET_RTP_SENDER_RTP_SENDER_H_ |
| OLD | NEW |