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

Unified Diff: webrtc/modules/remote_bitrate_estimator/include/send_time_history.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/include/send_time_history.h
diff --git a/webrtc/modules/remote_bitrate_estimator/include/send_time_history.h b/webrtc/modules/remote_bitrate_estimator/include/send_time_history.h
index e0ed6bff704ffe39578913ee4082b0ab2f1ccc43..d26ea8b65757ad79cbf732243103c047f6110f51 100644
--- a/webrtc/modules/remote_bitrate_estimator/include/send_time_history.h
+++ b/webrtc/modules/remote_bitrate_estimator/include/send_time_history.h
@@ -23,7 +23,7 @@ struct PacketFeedback;
class SendTimeHistory {
public:
- SendTimeHistory(Clock* clock, int64_t packet_age_limit_ms);
+ SendTimeHistory(const Clock* clock, int64_t packet_age_limit_ms);
~SendTimeHistory();
void Clear();
@@ -43,7 +43,7 @@ class SendTimeHistory {
bool GetFeedback(PacketFeedback* packet_feedback, bool remove);
private:
- Clock* const clock_;
+ const Clock* const clock_;
const int64_t packet_age_limit_ms_;
SequenceNumberUnwrapper seq_num_unwrapper_;
std::map<int64_t, PacketFeedback> history_;

Powered by Google App Engine
This is Rietveld 408576698