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

Unified Diff: ash/common/system/chromeos/brightness/tray_brightness.cc

Issue 2162153002: Added Ash.SystemMenu.DefaultView.VisibleItems histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed the COUNT value from the SystemMenuDefaultViewRows enum. Created 4 years, 5 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: ash/common/system/chromeos/brightness/tray_brightness.cc
diff --git a/ash/common/system/chromeos/brightness/tray_brightness.cc b/ash/common/system/chromeos/brightness/tray_brightness.cc
index 8703cb2bd129d23bdabdb969c848bf17080d9fab..cdfb64127485e2b274e1b1e5e622eee477f41a66 100644
--- a/ash/common/system/chromeos/brightness/tray_brightness.cc
+++ b/ash/common/system/chromeos/brightness/tray_brightness.cc
@@ -171,7 +171,7 @@ void BrightnessView::SliderDragEnded(views::Slider* slider) {
} // namespace tray
TrayBrightness::TrayBrightness(SystemTray* system_tray)
- : SystemTrayItem(system_tray),
+ : SystemTrayItem(system_tray, UMA_DISPLAY_BRIGHTNESS),
brightness_view_(NULL),
current_percent_(100.0),
got_current_percent_(false),
« no previous file with comments | « ash/common/system/chromeos/bluetooth/tray_bluetooth.cc ('k') | ash/common/system/chromeos/enterprise/tray_enterprise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698