| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TRANSPORT_RTP_SENDER_RTP_SENDER_H_ | 7 #ifndef MEDIA_CAST_TRANSPORT_RTP_SENDER_RTP_SENDER_H_ |
| 8 #define MEDIA_CAST_TRANSPORT_RTP_SENDER_RTP_SENDER_H_ | 8 #define MEDIA_CAST_TRANSPORT_RTP_SENDER_RTP_SENDER_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 73 |
| 74 base::TickClock* clock_; // Not owned by this class. | 74 base::TickClock* clock_; // Not owned by this class. |
| 75 LoggingImpl* logging_; // Not owned by this class. | 75 LoggingImpl* logging_; // Not owned by this class. |
| 76 RtpPacketizerConfig config_; | 76 RtpPacketizerConfig config_; |
| 77 scoped_ptr<RtpPacketizer> packetizer_; | 77 scoped_ptr<RtpPacketizer> packetizer_; |
| 78 scoped_ptr<PacketStorage> storage_; | 78 scoped_ptr<PacketStorage> storage_; |
| 79 PacedSender* const transport_; | 79 PacedSender* const transport_; |
| 80 CastTransportRtpStatistics stats_callback_; | 80 CastTransportRtpStatistics stats_callback_; |
| 81 scoped_refptr<base::SingleThreadTaskRunner> transport_task_runner_; | 81 scoped_refptr<base::SingleThreadTaskRunner> transport_task_runner_; |
| 82 | 82 |
| 83 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 83 base::WeakPtrFactory<RtpSender> weak_factory_; | 84 base::WeakPtrFactory<RtpSender> weak_factory_; |
| 84 | 85 |
| 85 DISALLOW_COPY_AND_ASSIGN(RtpSender); | 86 DISALLOW_COPY_AND_ASSIGN(RtpSender); |
| 86 }; | 87 }; |
| 87 | 88 |
| 88 } // namespace transport | 89 } // namespace transport |
| 89 } // namespace cast | 90 } // namespace cast |
| 90 } // namespace media | 91 } // namespace media |
| 91 | 92 |
| 92 #endif // MEDIA_CAST_TRANSPORT_RTP_SENDER_RTP_SENDER_H_ | 93 #endif // MEDIA_CAST_TRANSPORT_RTP_SENDER_RTP_SENDER_H_ |
| OLD | NEW |