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

Unified Diff: base/metrics/statistics_recorder_unittest.cc

Issue 2973863002: Remove std::string histogram name from HistogramBase object.
Patch Set: rebased Created 3 years, 4 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 | « base/metrics/statistics_recorder.cc ('k') | chromecast/base/metrics/grouped_histogram.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/statistics_recorder_unittest.cc
diff --git a/base/metrics/statistics_recorder_unittest.cc b/base/metrics/statistics_recorder_unittest.cc
index 7d0cd8f9ed661d5e022d4602836ee3f5d377d5db..f286b21a2b3fe3f37585702897c77dffb3be50bc 100644
--- a/base/metrics/statistics_recorder_unittest.cc
+++ b/base/metrics/statistics_recorder_unittest.cc
@@ -77,7 +77,7 @@ class StatisticsRecorderTest : public testing::TestWithParam<bool> {
StatisticsRecorder::UninitializeForTesting();
}
- Histogram* CreateHistogram(const std::string& name,
+ Histogram* CreateHistogram(const char* name,
HistogramBase::Sample min,
HistogramBase::Sample max,
size_t bucket_count) {
« no previous file with comments | « base/metrics/statistics_recorder.cc ('k') | chromecast/base/metrics/grouped_histogram.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698