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

Unified Diff: ash/metrics/user_metrics_recorder.cc

Issue 2857103007: [Night Light] CL2: Ash and system tray work (Closed)
Patch Set: Update comment Created 3 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
« no previous file with comments | « ash/metrics/user_metrics_action.h ('k') | ash/resources/vector_icons/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/metrics/user_metrics_recorder.cc
diff --git a/ash/metrics/user_metrics_recorder.cc b/ash/metrics/user_metrics_recorder.cc
index a6ff35eafe6f271c10eeb30f26cd1d2f4cf67d29..a28b656b04e519a80ca18e49b0ffbeefb579d6c1 100644
--- a/ash/metrics/user_metrics_recorder.cc
+++ b/ash/metrics/user_metrics_recorder.cc
@@ -547,6 +547,9 @@ void UserMetricsRecorder::RecordUserMetricsAction(UserMetricsAction action) {
case UMA_TRAY_LOCK_SCREEN:
RecordAction(UserMetricsAction("Tray_LockScreen"));
break;
+ case UMA_TRAY_NIGHT_LIGHT:
+ RecordAction(UserMetricsAction("Tray_NightLight"));
+ break;
case UMA_TRAY_OVERVIEW:
RecordAction(UserMetricsAction("Tray_Overview"));
break;
« no previous file with comments | « ash/metrics/user_metrics_action.h ('k') | ash/resources/vector_icons/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698