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

Unified Diff: chrome/browser/chrome_browser_application_mac_unittest.mm

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
Index: chrome/browser/chrome_browser_application_mac_unittest.mm
===================================================================
--- chrome/browser/chrome_browser_application_mac_unittest.mm (revision 147155)
+++ chrome/browser/chrome_browser_application_mac_unittest.mm (working copy)
@@ -45,7 +45,8 @@
TEST(ChromeApplicationMacTest, RecordException) {
// Start up a histogram recorder.
- StatisticsRecorder recorder;
+ // TODO(rtenneti): Leaks StatisticsRecorder and will update suppressions.
+ base::StatisticsRecorder::Initialize();
StatisticsRecorder::Histograms histograms;
StatisticsRecorder::GetSnapshot("OSX.NSException", &histograms);
« no previous file with comments | « base/metrics/statistics_recorder.cc ('k') | chrome/browser/net/http_pipelining_compatibility_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698