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_ |