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

Unified Diff: content/child/child_histogram_message_filter.cc

Issue 484603006: Add LOCAL_ prefix to non-UMA histogram macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. 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: content/child/child_histogram_message_filter.cc
diff --git a/content/child/child_histogram_message_filter.cc b/content/child/child_histogram_message_filter.cc
index 3cf36ce46c00afbed479f935a0351123c4e2c81e..3e895fcfe8d176248652972e0764fa68b3af0e2e 100644
--- a/content/child/child_histogram_message_filter.cc
+++ b/content/child/child_histogram_message_filter.cc
@@ -63,9 +63,11 @@ void ChildHistogramMessageFilter::UploadAllHistograms(int sequence_number) {
sender_->Send(
new ChildProcessHostMsg_ChildHistogramData(sequence_number, deltas));
+#ifndef NDEBUG
static int count = 0;
count++;
- DHISTOGRAM_COUNTS("Histogram.ChildProcessHistogramSentCount", count);
+ LOCAL_HISTOGRAM_COUNTS("Histogram.ChildProcessHistogramSentCount", count);
+#endif
}
} // namespace content
« no previous file with comments | « content/browser/renderer_host/input/input_router_impl.cc ('k') | content/child/web_database_observer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698