OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // This file defines an utility function that records any changes in a given | |
6 // histogram for transmission. | |
7 | |
8 #ifndef COMPONENTS_METRICS_HISTOGRAM_ENCODER_H_ | |
9 #define COMPONENTS_METRICS_HISTOGRAM_ENCODER_H_ | |
10 | |
11 #include <string> | |
12 | |
13 #include "base/basictypes.h" | |
14 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h" | |
15 | |
16 namespace base { | |
17 class HistogramSamples; | |
18 } | |
19 | |
20 namespace metrics { | |
21 | |
22 // Record any changes in a given histogram for transmission. | |
mef
2014/12/11 23:11:41
maybe better comment?
ramant (doing other things)
2014/12/12 02:43:05
Done.
| |
23 void EncodeHistogramDelta(const std::string& histogram_name, | |
24 const base::HistogramSamples& snapshot, | |
25 ChromeUserMetricsExtension* uma_proto); | |
26 | |
27 } // namespace metrics | |
28 | |
29 #endif // COMPONENTS_METRICS_HISTOGRAM_ENCODER_H_ | |
OLD | NEW |