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

Unified Diff: webrtc/system_wrappers/include/metrics.h

Issue 2320473002: Make UMA stats creation available in the Java interface. (Closed)
Patch Set: New approach that doesn't involve macros Created 4 years, 3 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: webrtc/system_wrappers/include/metrics.h
diff --git a/webrtc/system_wrappers/include/metrics.h b/webrtc/system_wrappers/include/metrics.h
index 0fee344aa407ac295861ece924f56486b5fff553..dd518eedb60ee64fb29a22cfecac75e63fe24bf7 100644
--- a/webrtc/system_wrappers/include/metrics.h
+++ b/webrtc/system_wrappers/include/metrics.h
@@ -289,6 +289,9 @@ Histogram* HistogramFactoryGetEnumeration(
void HistogramAdd(
Histogram* histogram_pointer, const std::string& name, int sample);
+// Function for adding a |sample| to a histogram without checkking the name.
+void HistogramAdd(Histogram* histogram_pointer, int sample);
+
} // namespace metrics
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698