Index: chrome/browser/notifications/message_center_stats_collector.cc |
diff --git a/chrome/browser/notifications/message_center_stats_collector.cc b/chrome/browser/notifications/message_center_stats_collector.cc |
index f0257a94235cf2b6791f799bc47b8f687df646df..3279728b7a1ba5aadb38ce020fb2c1d9898dcab9 100644 |
--- a/chrome/browser/notifications/message_center_stats_collector.cc |
+++ b/chrome/browser/notifications/message_center_stats_collector.cc |
@@ -134,5 +134,12 @@ void MessageCenterStatsCollector::OnCenterVisibilityChanged( |
} |
void MessageCenterStatsCollector::OnQuietModeChanged(bool in_quiet_mode) { |
+ if (in_quiet_mode) { |
+ content::RecordAction( |
+ content::UserMetricsAction("Notifications.Mute")); |
+ } else { |
+ content::RecordAction( |
+ content::UserMetricsAction("Notifications.Unmute")); |
+ } |
} |