Index: media/cast/rtcp/rtcp.h |
diff --git a/media/cast/rtcp/rtcp.h b/media/cast/rtcp/rtcp.h |
index 2e2bc91a673db74a72f870945779e237cdbe640a..523d3754dda441b524c4817bd2022adecdd73bbb 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, |
@@ -115,6 +116,7 @@ class Rtcp { |
void UpdateNextTimeToSendRtcp(); |
base::TickClock* const clock_; // Not owned by this class. |
Alpha Left Google
2013/11/14 00:29:24
While you're at it please remove this member. The
mikhal
2013/11/14 17:42:31
Done.
|
+ scoped_refptr<CastEnvironment> cast_environment_; |
const base::TimeDelta rtcp_interval_; |
const RtcpMode rtcp_mode_; |
const bool sending_media_; |