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

Unified Diff: ui/gl/angle_platform_impl.cc

Issue 1141263004: Add ANGLE platform methods for boolean histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« tools/metrics/histograms/histograms.xml ('K') | « ui/gl/angle_platform_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/angle_platform_impl.cc
diff --git a/ui/gl/angle_platform_impl.cc b/ui/gl/angle_platform_impl.cc
index 732f0882ac76258c5479f52d343690539c4283b9..80033f8ae3d648a1bb5e6817d6d5e37ef27ac133 100644
--- a/ui/gl/angle_platform_impl.cc
+++ b/ui/gl/angle_platform_impl.cc
@@ -95,4 +95,8 @@ void ANGLEPlatformImpl::histogramSparse(const char* name, int sample) {
UMA_HISTOGRAM_SPARSE_SLOWLY(name, sample);
}
+void ANGLEPlatformImpl::histogramBoolean(const char* name, bool sample) {
+ UMA_HISTOGRAM_BOOLEAN(name, sample);
Alexei Svitkine (slow) 2015/05/19 17:32:55 You have to expand out the macro, like you do for
Jamie Madill 2015/05/19 17:55:33 Done.
+}
+
} // namespace gfx
« tools/metrics/histograms/histograms.xml ('K') | « ui/gl/angle_platform_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698