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

Unified Diff: content/browser/browser_main_runner.cc

Issue 9570052: Add a boolean histogram "Chrome.CommandLineUseSystemSSL" to keep track of (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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/browser/browser_main_loop.cc ('k') | no next file » | 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 124300)
+++ content/browser/browser_main_runner.cc (working copy)
@@ -47,6 +47,8 @@
if (parameters.command_line.HasSwitch(switches::kWaitForDebugger))
ChildProcess::WaitForDebugger("Browser");
+ statistics_.reset(new base::StatisticsRecorder);
+
notification_service_.reset(new NotificationServiceImpl);
main_loop_.reset(new content::BrowserMainLoop(parameters));
@@ -76,8 +78,6 @@
com_initializer_.reset(new base::win::ScopedCOMInitializer);
#endif // OS_WIN
- statistics_.reset(new base::StatisticsRecorder);
-
main_loop_->CreateThreads();
int result_code = main_loop_->GetResultCode();
if (result_code > 0)
@@ -103,8 +103,6 @@
if (created_threads_)
main_loop_->ShutdownThreadsAndCleanUp();
- statistics_.reset(NULL);
-
#if defined(OS_WIN)
com_initializer_.reset(NULL);
#endif
@@ -113,6 +111,8 @@
notification_service_.reset(NULL);
+ statistics_.reset(NULL);
+
is_shutdown_ = true;
}
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698