Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1669)

Unified Diff: media/cast/rtcp/rtcp.h

Issue 69603002: Incorporating logging into Cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing errors Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698