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

Unified Diff: webrtc/base/numerics/exp_filter.h

Issue 2626203002: Rename base/analytics/ to base/numerics/ (Closed)
Patch Set: Rebase Created 3 years, 11 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
« no previous file with comments | « webrtc/base/analytics/percentile_filter_unittest.cc ('k') | webrtc/base/numerics/exp_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/numerics/exp_filter.h
diff --git a/webrtc/base/analytics/exp_filter.h b/webrtc/base/numerics/exp_filter.h
similarity index 82%
rename from webrtc/base/analytics/exp_filter.h
rename to webrtc/base/numerics/exp_filter.h
index e93de48963b4e3dfa547c62b7c200eca3dd43dd8..2361702c367785a278be8ae7b22b395a50b7b59a 100644
--- a/webrtc/base/analytics/exp_filter.h
+++ b/webrtc/base/numerics/exp_filter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_BASE_ANALYTICS_EXP_FILTER_H_
-#define WEBRTC_BASE_ANALYTICS_EXP_FILTER_H_
+#ifndef WEBRTC_BASE_NUMERICS_EXP_FILTER_H_
+#define WEBRTC_BASE_NUMERICS_EXP_FILTER_H_
namespace rtc {
@@ -20,8 +20,7 @@ class ExpFilter {
public:
static const float kValueUndefined;
- explicit ExpFilter(float alpha, float max = kValueUndefined)
- : max_(max) {
+ explicit ExpFilter(float alpha, float max = kValueUndefined) : max_(max) {
Reset(alpha);
}
@@ -40,10 +39,10 @@ class ExpFilter {
void UpdateBase(float alpha);
private:
- float alpha_; // Filter factor base.
+ float alpha_; // Filter factor base.
float filtered_; // Current filter output.
const float max_;
};
} // namespace rtc
-#endif // WEBRTC_BASE_ANALYTICS_EXP_FILTER_H_
+#endif // WEBRTC_BASE_NUMERICS_EXP_FILTER_H_
« no previous file with comments | « webrtc/base/analytics/percentile_filter_unittest.cc ('k') | webrtc/base/numerics/exp_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698