| Index: media/cast/rtcp/rtcp.h
|
| diff --git a/media/cast/rtcp/rtcp.h b/media/cast/rtcp/rtcp.h
|
| index 2e2bc91a673db74a72f870945779e237cdbe640a..a188039f6fbac145f91200290d039060b5bf55be 100644
|
| --- a/media/cast/rtcp/rtcp.h
|
| +++ b/media/cast/rtcp/rtcp.h
|
| @@ -16,6 +16,7 @@
|
| #include "base/time/time.h"
|
| #include "media/cast/cast_config.h"
|
| #include "media/cast/cast_defines.h"
|
| +#include "media/cast/cast_environment.h"
|
| #include "media/cast/rtcp/rtcp_defines.h"
|
|
|
| namespace media {
|
| @@ -54,7 +55,7 @@ class RtpReceiverStatistics {
|
|
|
| class Rtcp {
|
| public:
|
| - Rtcp(base::TickClock* clock,
|
| + Rtcp(scoped_refptr<CastEnvironment> cast_environment,
|
| RtcpSenderFeedback* sender_feedback,
|
| PacedPacketSender* paced_packet_sender,
|
| RtpSenderStatistics* rtp_sender_statistics,
|
| @@ -114,7 +115,7 @@ class Rtcp {
|
|
|
| void UpdateNextTimeToSendRtcp();
|
|
|
| - base::TickClock* const clock_; // Not owned by this class.
|
| + scoped_refptr<CastEnvironment> cast_environment_;
|
| const base::TimeDelta rtcp_interval_;
|
| const RtcpMode rtcp_mode_;
|
| const bool sending_media_;
|
|
|