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

Unified Diff: webrtc/modules/congestion_controller/congestion_controller.cc

Issue 2735423002: Mark |Clock*| as |const Clock*| (for some CongestionController and BWE related modules) (Closed)
Patch Set: Rebased Created 3 years, 9 months 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: webrtc/modules/congestion_controller/congestion_controller.cc
diff --git a/webrtc/modules/congestion_controller/congestion_controller.cc b/webrtc/modules/congestion_controller/congestion_controller.cc
index 6ed64a299d73799ef4781277eacdb0e8770a39d4..3c349399ce7f66307ebcc43d72d923f46c6ea75b 100644
--- a/webrtc/modules/congestion_controller/congestion_controller.cc
+++ b/webrtc/modules/congestion_controller/congestion_controller.cc
@@ -48,7 +48,7 @@ static void ClampBitrates(int* bitrate_bps,
} // namespace
CongestionController::WrappingBitrateEstimator::WrappingBitrateEstimator(
- RemoteBitrateObserver* observer, Clock* clock)
+ RemoteBitrateObserver* observer, const Clock* clock)
: observer_(observer),
clock_(clock),
rbe_(new RemoteBitrateEstimatorSingleStream(observer_, clock_)),
@@ -137,7 +137,7 @@ void CongestionController::WrappingBitrateEstimator::PickEstimator() {
}
CongestionController::CongestionController(
- Clock* clock,
+ const Clock* clock,
Observer* observer,
RemoteBitrateObserver* remote_bitrate_observer,
RtcEventLog* event_log,
@@ -152,7 +152,7 @@ CongestionController::CongestionController(
}
CongestionController::CongestionController(
- Clock* clock,
+ const Clock* clock,
Observer* observer,
RemoteBitrateObserver* remote_bitrate_observer,
RtcEventLog* event_log,
« no previous file with comments | « webrtc/modules/bitrate_controller/include/bitrate_controller.h ('k') | webrtc/modules/congestion_controller/delay_based_bwe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698