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

Unified Diff: trunk/src/base/metrics/statistics_recorder.h

Issue 120273002: Revert 242121 "Reland "Add a HistogramRecorder class and use cas..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
« no previous file with comments | « trunk/src/base/base.gyp ('k') | trunk/src/base/test/histogram_recorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/base/metrics/statistics_recorder.h
===================================================================
--- trunk/src/base/metrics/statistics_recorder.h (revision 242174)
+++ trunk/src/base/metrics/statistics_recorder.h (working copy)
@@ -70,9 +70,9 @@
static HistogramBase* FindHistogram(const std::string& name);
// GetSnapshot copies some of the pointers to registered histograms into the
- // caller supplied vector (Histograms). Only histograms which have |query| as
- // a substring are copied (an empty string will process all registered
- // histograms).
+ // 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.
static void GetSnapshot(const std::string& query, Histograms* snapshot);
private:
« no previous file with comments | « trunk/src/base/base.gyp ('k') | trunk/src/base/test/histogram_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698