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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/overuse_detector.h

Issue 2834753002: Remove unneeded enum forward declaration (Closed)
Patch Set: Remove forward declaration Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_OVERUSE_DETECTOR_H_ 10 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_OVERUSE_DETECTOR_H_
11 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_OVERUSE_DETECTOR_H_ 11 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_OVERUSE_DETECTOR_H_
12 12
13 #include <list> 13 #include <list>
14 14
15 #include "webrtc/base/constructormagic.h" 15 #include "webrtc/base/constructormagic.h"
16 #include "webrtc/modules/include/module_common_types.h" 16 #include "webrtc/modules/include/module_common_types.h"
17 #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h" 17 #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h"
18 #include "webrtc/typedefs.h" 18 #include "webrtc/typedefs.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 enum RateControlRegion;
22 21
23 bool AdaptiveThresholdExperimentIsDisabled(); 22 bool AdaptiveThresholdExperimentIsDisabled();
24 23
25 class OveruseDetector { 24 class OveruseDetector {
26 public: 25 public:
27 OveruseDetector(); 26 OveruseDetector();
28 virtual ~OveruseDetector(); 27 virtual ~OveruseDetector();
29 28
30 // Update the detection state based on the estimated inter-arrival time delta 29 // Update the detection state based on the estimated inter-arrival time delta
31 // offset. |timestamp_delta| is the delta between the last timestamp which the 30 // offset. |timestamp_delta| is the delta between the last timestamp which the
(...skipping 22 matching lines...) Expand all
54 double prev_offset_; 53 double prev_offset_;
55 double time_over_using_; 54 double time_over_using_;
56 int overuse_counter_; 55 int overuse_counter_;
57 BandwidthUsage hypothesis_; 56 BandwidthUsage hypothesis_;
58 57
59 RTC_DISALLOW_COPY_AND_ASSIGN(OveruseDetector); 58 RTC_DISALLOW_COPY_AND_ASSIGN(OveruseDetector);
60 }; 59 };
61 } // namespace webrtc 60 } // namespace webrtc
62 61
63 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_OVERUSE_DETECTOR_H_ 62 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_OVERUSE_DETECTOR_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698