asapersson@webrtc.org | 580d367 | 2014-10-23 12:57:56 +0000 | [diff] [blame^] | 1 | // Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 2 | // |
| 3 | // Use of this source code is governed by a BSD-style license |
| 4 | // that can be found in the LICENSE file in the root of the source |
| 5 | // tree. An additional intellectual property rights grant can be found |
| 6 | // in the file PATENTS. All contributing project authors may |
| 7 | // be found in the AUTHORS file in the root of the source tree. |
| 8 | // |
| 9 | |
| 10 | #include "webrtc/system_wrappers/interface/metrics.h" |
| 11 | |
| 12 | // Default implementation of histogram methods for WebRTC clients that do not |
| 13 | // want to provide their own implementation. |
| 14 | |
| 15 | namespace webrtc { |
| 16 | namespace metrics { |
| 17 | |
| 18 | Histogram* HistogramFactoryGetCounts(const std::string& name, int min, int max, |
| 19 | int bucket_count) { return NULL; } |
| 20 | |
| 21 | Histogram* HistogramFactoryGetEnumeration(const std::string& name, |
| 22 | int boundary) { return NULL; } |
| 23 | |
| 24 | void HistogramAdd( |
| 25 | Histogram* histogram_pointer, const std::string& name, int sample) {} |
| 26 | |
| 27 | } // namespace metrics |
| 28 | } // namespace webrtc |
| 29 | |