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

Unified Diff: base/metrics/histogram_snapshot_manager.h

Issue 12207058: Connect SparseHistogram with the rest of stats system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 10 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
« no previous file with comments | « base/metrics/histogram_flattener.h ('k') | base/metrics/histogram_snapshot_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/histogram_snapshot_manager.h
diff --git a/base/metrics/histogram_snapshot_manager.h b/base/metrics/histogram_snapshot_manager.h
index 0ec1ac3549cd510174ea7a9c1ce9d06f9a90eb31..3c7050859e3f92230a83a491a364585eed57db91 100644
--- a/base/metrics/histogram_snapshot_manager.h
+++ b/base/metrics/histogram_snapshot_manager.h
@@ -9,7 +9,7 @@
#include <string>
#include "base/basictypes.h"
-#include "base/metrics/histogram.h"
+#include "base/metrics/histogram_base.h"
namespace base {
@@ -31,11 +31,11 @@ class BASE_EXPORT HistogramSnapshotManager {
// Snapshot all histograms, and ask |histogram_flattener_| to record the
// delta. The arguments allow selecting only a subset of histograms for
// recording, or to set a flag in each recorded histogram.
- void PrepareDeltas(Histogram::Flags flags_to_set, bool record_only_uma);
+ void PrepareDeltas(HistogramBase::Flags flags_to_set, bool record_only_uma);
private:
// Snapshot this histogram, and record the delta.
- void PrepareDelta(const Histogram& histogram);
+ void PrepareDelta(const HistogramBase& histogram);
// Try to detect and fix count inconsistency of logged samples.
void InspectLoggedSamplesInconsistency(
« no previous file with comments | « base/metrics/histogram_flattener.h ('k') | base/metrics/histogram_snapshot_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698