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

Unified Diff: chrome/browser/chrome_browser_application_mac_unittest.mm

Issue 515033: Cleanup histogram classes mixing SetFlags into FactoryGet arguments... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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/browser/chrome_browser_application_mac.mm ('k') | chrome/browser/diagnostics/sqlite_diagnostics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_application_mac_unittest.mm
===================================================================
--- chrome/browser/chrome_browser_application_mac_unittest.mm (revision 35277)
+++ chrome/browser/chrome_browser_application_mac_unittest.mm (working copy)
@@ -65,7 +65,7 @@
// We should have exactly the right number of exceptions.
StatisticsRecorder::GetSnapshot("OSX.NSException", &histograms);
EXPECT_EQ(1U, histograms.size());
- EXPECT_EQ(kUmaTargetedHistogramFlag, histograms[0]->flags());
+ EXPECT_EQ(Histogram::kUmaTargetedHistogramFlag, histograms[0]->flags());
Histogram::SampleSet sample;
histograms[0]->SnapshotSample(&sample);
EXPECT_EQ(4, sample.counts(0));
« no previous file with comments | « chrome/browser/chrome_browser_application_mac.mm ('k') | chrome/browser/diagnostics/sqlite_diagnostics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698