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

Unified Diff: chrome/common/metrics/metrics_log_base.h

Issue 10829466: SampleSet -> HistogramSamples (will be reused by SparseHistogram) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/metrics/metrics_log_base.h
===================================================================
--- chrome/common/metrics/metrics_log_base.h (revision 155400)
+++ chrome/common/metrics/metrics_log_base.h (working copy)
@@ -18,6 +18,10 @@
class GURL;
+namespace base {
+class HistogramSamples;
+} // namespace base
+
// This class provides base functionality for logging metrics data.
class MetricsLogBase {
public:
@@ -72,7 +76,7 @@
// Record any changes in a given histogram for transmission.
void RecordHistogramDelta(const base::Histogram& histogram,
- const base::Histogram::SampleSet& snapshot);
+ const base::HistogramSamples& snapshot);
// Stop writing to this record and generate the encoded representation.
// None of the Record* methods can be called after this is called.
« no previous file with comments | « chrome/browser/protector/default_search_provider_change_browsertest.cc ('k') | chrome/common/metrics/metrics_log_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698