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

Unified Diff: base/metrics/statistics_recorder.h

Issue 19866004: Reland "Add a HistogramRecorder class and use cases." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: This is the fix. Created 7 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 side-by-side diff with in-line comments
Download patch
Index: base/metrics/statistics_recorder.h
diff --git a/base/metrics/statistics_recorder.h b/base/metrics/statistics_recorder.h
index 0716e80572d4e314e537a7400e9f8fab294f32e1..e1564f460f02929f36724bcd17078d6f6663a6c5 100644
--- a/base/metrics/statistics_recorder.h
+++ b/base/metrics/statistics_recorder.h
@@ -70,9 +70,9 @@ class BASE_EXPORT StatisticsRecorder {
static HistogramBase* FindHistogram(const std::string& name);
// GetSnapshot copies some of the pointers to registered histograms into the
- // caller supplied vector (Histograms). Only histograms with names matching
- // query are returned. The query must be a substring of histogram name for its
- // pointer to be copied.
+ // caller supplied vector (Histograms). Only histograms which have query as
ppi 2013/12/19 16:57:27 nit: remove double space, put "query" in pipes: |q
lpromero 2013/12/20 11:53:44 Done.
+ // a substring are copied (an empty string will process all registered
+ // histograms).
static void GetSnapshot(const std::string& query, Histograms* snapshot);
private:
« no previous file with comments | « base/base.gyp ('k') | base/test/histogram_recorder.h » ('j') | base/test/histogram_recorder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698