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

Unified Diff: webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.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/remote_bitrate_estimator/remote_estimator_proxy.h
diff --git a/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h b/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h
index c6931515e1ae9212c8941e74d2a11298ce467fb2..83ae07844536810a078af53ea66bdd507fd5881d 100644
--- a/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h
+++ b/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h
@@ -32,7 +32,7 @@ class TransportFeedback;
class RemoteEstimatorProxy : public RemoteBitrateEstimator {
public:
- RemoteEstimatorProxy(Clock* clock, PacketRouter* packet_router);
+ RemoteEstimatorProxy(const Clock* clock, PacketRouter* packet_router);
virtual ~RemoteEstimatorProxy();
void IncomingPacket(int64_t arrival_time_ms,
@@ -57,7 +57,7 @@ class RemoteEstimatorProxy : public RemoteBitrateEstimator {
EXCLUSIVE_LOCKS_REQUIRED(&lock_);
bool BuildFeedbackPacket(rtcp::TransportFeedback* feedback_packet);
- Clock* const clock_;
+ const Clock* const clock_;
PacketRouter* const packet_router_;
int64_t last_process_time_ms_;

Powered by Google App Engine
This is Rietveld 408576698