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

Unified Diff: base/metrics/statistics_recorder.h

Issue 10779040: Initialize StatisticsRecorder in Child Process to hold (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | « no previous file | base/metrics/statistics_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/statistics_recorder.h
===================================================================
--- base/metrics/statistics_recorder.h (revision 147155)
+++ base/metrics/statistics_recorder.h (working copy)
@@ -31,6 +31,9 @@
~StatisticsRecorder();
+ // Initializes the StatisticsRecorder system.
+ static void Initialize();
+
// Find out if histograms can now be registered into our list.
static bool IsActive();
@@ -77,7 +80,6 @@
// pointer to be copied.
static void GetSnapshot(const std::string& query, Histograms* snapshot);
-
private:
// We keep all registered histograms in a map, from name to histogram.
typedef std::map<std::string, Histogram*> HistogramMap;
« no previous file with comments | « no previous file | base/metrics/statistics_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698