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

Unified Diff: base/metrics/sparse_histogram_unittest.cc

Issue 484603006: Add LOCAL_ prefix to non-UMA histogram macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove spellcheck histograms. Created 6 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
Index: base/metrics/sparse_histogram_unittest.cc
diff --git a/base/metrics/sparse_histogram_unittest.cc b/base/metrics/sparse_histogram_unittest.cc
index 825381d8535dca6e045e47cf8fd592f72eb55500..a513b5327baa71e2dd3158398b5e7ee282b0c531 100644
--- a/base/metrics/sparse_histogram_unittest.cc
+++ b/base/metrics/sparse_histogram_unittest.cc
@@ -64,9 +64,9 @@ TEST_F(SparseHistogramTest, BasicTest) {
}
TEST_F(SparseHistogramTest, MacroBasicTest) {
- HISTOGRAM_SPARSE_SLOWLY("Sparse", 100);
- HISTOGRAM_SPARSE_SLOWLY("Sparse", 200);
- HISTOGRAM_SPARSE_SLOWLY("Sparse", 100);
+ LOCAL_HISTOGRAM_SPARSE_SLOWLY("Sparse", 100);
+ LOCAL_HISTOGRAM_SPARSE_SLOWLY("Sparse", 200);
+ LOCAL_HISTOGRAM_SPARSE_SLOWLY("Sparse", 100);
StatisticsRecorder::Histograms histograms;
StatisticsRecorder::GetHistograms(&histograms);

Powered by Google App Engine
This is Rietveld 408576698