Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Side by Side Diff: components/metrics/histogram_encoder.h

Issue 794493002: Add UMA Histogram Manager to Cronet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 class ChromeUserMetricsExtension;
Alexei Svitkine (slow) 2014/12/10 15:19:31 You have an include for this on line 14. You don't
ramant (doing other things) 2014/12/10 22:27:51 Done.
23
24 // Record any changes in a given histogram for transmission.
25 extern void RecordHistogramDelta(ChromeUserMetricsExtension* uma_proto,
Alexei Svitkine (slow) 2014/12/10 15:19:31 Nit: No need for extern.
ramant (doing other things) 2014/12/10 22:27:51 Done.
26 const std::string& histogram_name,
27 const base::HistogramSamples& snapshot);
28
29 } // namespace metrics
30
31 #endif // COMPONENTS_METRICS_HISTOGRAM_ENCODER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698