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

Side by Side Diff: webrtc/base/numerics/percentile_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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 10
11 #ifndef WEBRTC_BASE_ANALYTICS_PERCENTILE_FILTER_H_ 11 #ifndef WEBRTC_BASE_NUMERICS_PERCENTILE_FILTER_H_
12 #define WEBRTC_BASE_ANALYTICS_PERCENTILE_FILTER_H_ 12 #define WEBRTC_BASE_NUMERICS_PERCENTILE_FILTER_H_
13 13
14 #include <stdint.h> 14 #include <stdint.h>
15 15
16 #include <iterator> 16 #include <iterator>
17 #include <set> 17 #include <set>
18 18
19 #include "webrtc/base/checks.h" 19 #include "webrtc/base/checks.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 22
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 percentile_index_ = index; 105 percentile_index_ = index;
106 } 106 }
107 107
108 template <typename T> 108 template <typename T>
109 T PercentileFilter<T>::GetPercentileValue() const { 109 T PercentileFilter<T>::GetPercentileValue() const {
110 return set_.empty() ? 0 : *percentile_it_; 110 return set_.empty() ? 0 : *percentile_it_;
111 } 111 }
112 112
113 } // namespace webrtc 113 } // namespace webrtc
114 114
115 #endif // WEBRTC_BASE_ANALYTICS_PERCENTILE_FILTER_H_ 115 #endif // WEBRTC_BASE_NUMERICS_PERCENTILE_FILTER_H_
OLDNEW
« no previous file with comments | « webrtc/base/numerics/exp_filter_unittest.cc ('k') | webrtc/base/numerics/percentile_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698