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/include/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
HistogramFactoryGetCounts(const std::string & name,int min,int max,int bucket_count)18 Histogram* HistogramFactoryGetCounts(const std::string& name, int min, int max,
19 int bucket_count) { return NULL; }
20
HistogramFactoryGetEnumeration(const std::string & name,int boundary)21 Histogram* HistogramFactoryGetEnumeration(const std::string& name,
22 int boundary) { return NULL; }
23
HistogramAdd(Histogram * histogram_pointer,const std::string & name,int sample)24 void HistogramAdd(
25 Histogram* histogram_pointer, const std::string& name, int sample) {}
26
27 } // namespace metrics
28 } // namespace webrtc
29
30