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

Unified Diff: chrome/browser/extensions/api/metrics/metrics.h

Issue 11342060: Histogram type support in HistogramBase and remove SetRangeDescription function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/browser/extensions/api/metrics/metrics.h
diff --git a/chrome/browser/extensions/api/metrics/metrics.h b/chrome/browser/extensions/api/metrics/metrics.h
index f7702565cba9f40e68854ae6e805a0473ad417de..0318f5bf6bfc1ef42295d0e5bbecd7ed8d67a223 100644
--- a/chrome/browser/extensions/api/metrics/metrics.h
+++ b/chrome/browser/extensions/api/metrics/metrics.h
@@ -28,7 +28,7 @@ class MetricsHistogramHelperFunction : public SyncExtensionFunction {
virtual ~MetricsHistogramHelperFunction() {}
bool GetNameAndSample(std::string* name, int* sample);
virtual bool RecordValue(const std::string& name,
- base::Histogram::ClassType type,
+ base::HistogramType type,
int min, int max, size_t buckets,
int sample);
};

Powered by Google App Engine
This is Rietveld 408576698