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

Unified Diff: webrtc/modules/remote_bitrate_estimator/overuse_detector.h

Issue 2580733004: Remove OverUseDetectorOptions from OveruseDetector since it isn't used. (Closed)
Patch Set: Update comment Created 4 years 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/overuse_detector.h
diff --git a/webrtc/modules/remote_bitrate_estimator/overuse_detector.h b/webrtc/modules/remote_bitrate_estimator/overuse_detector.h
index ce61e3b4d9a8c7d9bd40411e22ff354336f95071..03ddb1ee6a3a77a6249eae0a38f8a4977aa99b78 100644
--- a/webrtc/modules/remote_bitrate_estimator/overuse_detector.h
+++ b/webrtc/modules/remote_bitrate_estimator/overuse_detector.h
@@ -24,7 +24,7 @@ bool AdaptiveThresholdExperimentIsDisabled();
class OveruseDetector {
public:
- explicit OveruseDetector(const OverUseDetectorOptions& options);
+ OveruseDetector();
virtual ~OveruseDetector();
// Update the detection state based on the estimated inter-arrival time delta
@@ -49,9 +49,6 @@ class OveruseDetector {
double k_up_;
double k_down_;
double overusing_time_threshold_;
- // Must be first member variable. Cannot be const because we need to be
- // copyable.
- webrtc::OverUseDetectorOptions options_;
double threshold_;
int64_t last_update_ms_;
double prev_offset_;

Powered by Google App Engine
This is Rietveld 408576698