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