blob: af950b4d911cfe1fefb53f7bf553dd00d9cafb62 [file] [log] [blame]
asapersson@webrtc.org580d3672014-10-23 12:57:56 +00001// 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
15namespace webrtc {
16namespace metrics {
17
18Histogram* HistogramFactoryGetCounts(const std::string& name, int min, int max,
19 int bucket_count) { return NULL; }
20
21Histogram* HistogramFactoryGetEnumeration(const std::string& name,
22 int boundary) { return NULL; }
23
24void HistogramAdd(
25 Histogram* histogram_pointer, const std::string& name, int sample) {}
26
27} // namespace metrics
28} // namespace webrtc
29