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

Unified Diff: content/browser/browser_main_runner.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 | « chrome_frame/metrics_service.cc ('k') | content/common/child_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_runner.cc
===================================================================
--- content/browser/browser_main_runner.cc (revision 147155)
+++ content/browser/browser_main_runner.cc (working copy)
@@ -52,7 +52,7 @@
if (parameters.command_line.HasSwitch(switches::kSingleProcess))
content::RenderProcessHost::set_run_renderer_in_process(true);
- statistics_.reset(new base::StatisticsRecorder);
+ base::StatisticsRecorder::Initialize();
notification_service_.reset(new NotificationServiceImpl);
@@ -116,8 +116,6 @@
notification_service_.reset(NULL);
- statistics_.reset(NULL);
-
is_shutdown_ = true;
}
@@ -136,7 +134,6 @@
#if defined(OS_WIN)
scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_;
#endif
- scoped_ptr<base::StatisticsRecorder> statistics_;
DISALLOW_COPY_AND_ASSIGN(BrowserMainRunnerImpl);
};
« no previous file with comments | « chrome_frame/metrics_service.cc ('k') | content/common/child_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698