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

Unified Diff: webrtc/modules/congestion_controller/probe_controller.h

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/probe_controller.h
diff --git a/webrtc/modules/congestion_controller/probe_controller.h b/webrtc/modules/congestion_controller/probe_controller.h
index ccce7d3ec6c1d75147529f9181bf1dc04a48f404..28cd10225fe50f9d88b96aca3cfa610348e82ed4 100644
--- a/webrtc/modules/congestion_controller/probe_controller.h
+++ b/webrtc/modules/congestion_controller/probe_controller.h
@@ -26,7 +26,7 @@ class Clock;
// bitrate is adjusted by an application.
class ProbeController {
public:
- ProbeController(PacedSender* pacer, Clock* clock);
+ ProbeController(PacedSender* pacer, const Clock* clock);
void SetBitrates(int64_t min_bitrate_bps,
int64_t start_bitrate_bps,
@@ -61,7 +61,7 @@ class ProbeController {
rtc::CriticalSection critsect_;
PacedSender* const pacer_;
- Clock* const clock_;
+ const Clock* const clock_;
NetworkState network_state_ GUARDED_BY(critsect_);
State state_ GUARDED_BY(critsect_);
int64_t min_bitrate_to_probe_further_bps_ GUARDED_BY(critsect_);

Powered by Google App Engine
This is Rietveld 408576698