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

Unified Diff: content/renderer/renderer_main.cc

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 | « content/common/child_process.cc ('k') | net/base/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_main.cc
===================================================================
--- content/renderer/renderer_main.cc (revision 147155)
+++ content/renderer/renderer_main.cc (working copy)
@@ -12,7 +12,6 @@
#include "base/metrics/field_trial.h"
#include "base/message_loop.h"
#include "base/metrics/histogram.h"
-#include "base/metrics/statistics_recorder.h"
#include "base/metrics/stats_counters.h"
#include "base/path_service.h"
#include "base/process_util.h"
@@ -214,13 +213,6 @@
bool no_sandbox = parsed_command_line.HasSwitch(switches::kNoSandbox);
platform.InitSandboxTests(no_sandbox);
- // Initialize histogram statistics gathering system.
- // Don't create StatisticsRecorder in the single process mode.
- scoped_ptr<base::StatisticsRecorder> statistics;
- if (!base::StatisticsRecorder::IsActive()) {
- statistics.reset(new base::StatisticsRecorder());
- }
-
// Initialize statistical testing infrastructure. We set client_id to the
// empty string to disallow the renderer process from creating its own
// one-time randomized trials; they should be created in the browser process.
« no previous file with comments | « content/common/child_process.cc ('k') | net/base/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698