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

Unified Diff: content/common/child_process.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 | content/common/child_process.cc » ('j') | content/common/child_process.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_process.h
===================================================================
--- content/common/child_process.h (revision 147145)
+++ content/common/child_process.h (working copy)
@@ -11,6 +11,10 @@
#include "base/synchronization/waitable_event.h"
#include "content/common/content_export.h"
+namespace base {
+class StatisticsRecorder;
+}
+
class ChildThread;
// Base class for child processes of the browser process (i.e. renderer and
@@ -70,6 +74,9 @@
// io_thread_.
scoped_ptr<ChildThread> main_thread_;
+ // |statistics_recorder_| holds all histograms in the child process.
+ scoped_ptr<base::StatisticsRecorder> statistics_recorder_;
+
// The singleton instance for this process.
static ChildProcess* child_process_;
« no previous file with comments | « no previous file | content/common/child_process.cc » ('j') | content/common/child_process.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698