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

Issue 26943002: Add UMA histogram data representing the Synced Notifications feature. (Closed)

Created:
7 years, 2 months ago by Pete Williamson
Modified:
7 years, 2 months ago
CC:
chromium-reviews, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org
Visibility:
Public.

Description

Add UMA histogram data representing the Synced Notifications feature. 1. First, I added a new data point for muting and unmuting the notification system. 2. Second, I added a new histogram for Synced Notifications that measures common events that happen with them. 3. In a follow up chekin, I will also measure how often individual synced notification services are turned off. BUG=280251 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229720

Patch Set 1 #

Total comments: 12

Patch Set 2 : Synced Notifications UMA - cr fixes per ASvitkine #

Patch Set 3 : Synced Notifications UMA - remove unused data #

Total comments: 2

Patch Set 4 : Synced Notifications UMA - remove actions array and fix bug. #

Total comments: 1

Patch Set 5 : Synced Notifications UMA - remove stats class #

Total comments: 2

Patch Set 6 : Synced Notifications UMA - fix histograms.xml formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -5 lines) Patch
M chrome/browser/notifications/message_center_stats_collector.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.h View 1 2 3 4 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc View 1 2 3 4 5 chunks +22 lines, -0 lines 0 comments Download
M tools/metrics/actions/chromeactions.txt View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 4 chunks +21 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Pete Williamson
thakis@ Please review changes to chrome_browser.gypi (two files only) asvitkine@ Please review changes to histogram.xml ...
7 years, 2 months ago (2013-10-10 23:19:39 UTC) #1
Alexei Svitkine (slow)
https://codereview.chromium.org/26943002/diff/1/chrome/browser/notifications/message_center_stats_collector.cc File chrome/browser/notifications/message_center_stats_collector.cc (right): https://codereview.chromium.org/26943002/diff/1/chrome/browser/notifications/message_center_stats_collector.cc#newcode137 chrome/browser/notifications/message_center_stats_collector.cc:137: if (in_quiet_mode) Nit: This needs {}. https://codereview.chromium.org/26943002/diff/1/chrome/browser/notifications/message_center_stats_collector.cc#newcode139 chrome/browser/notifications/message_center_stats_collector.cc:139: content::UserMetricsAction("Notification.Mute")); ...
7 years, 2 months ago (2013-10-11 14:50:11 UTC) #2
Pete Williamson
CR changes per ASvitkine, added changes to chromeactions.txt https://codereview.chromium.org/26943002/diff/1/chrome/browser/notifications/message_center_stats_collector.cc File chrome/browser/notifications/message_center_stats_collector.cc (right): https://codereview.chromium.org/26943002/diff/1/chrome/browser/notifications/message_center_stats_collector.cc#newcode137 chrome/browser/notifications/message_center_stats_collector.cc:137: if ...
7 years, 2 months ago (2013-10-14 03:46:06 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/26943002/diff/1/chrome/browser/notifications/sync_notifier/synced_notification_stats.cc File chrome/browser/notifications/sync_notifier/synced_notification_stats.cc (right): https://codereview.chromium.org/26943002/diff/1/chrome/browser/notifications/sync_notifier/synced_notification_stats.cc#newcode43 chrome/browser/notifications/sync_notifier/synced_notification_stats.cc:43: SYNCED_NOTIFICATION_ACTION_COUNT); On 2013/10/14 03:46:07, Pete Williamson wrote: > On ...
7 years, 2 months ago (2013-10-15 17:12:02 UTC) #4
Pete Williamson
CR fixes per ASvitkine https://codereview.chromium.org/26943002/diff/1/chrome/browser/notifications/sync_notifier/synced_notification_stats.cc File chrome/browser/notifications/sync_notifier/synced_notification_stats.cc (right): https://codereview.chromium.org/26943002/diff/1/chrome/browser/notifications/sync_notifier/synced_notification_stats.cc#newcode43 chrome/browser/notifications/sync_notifier/synced_notification_stats.cc:43: SYNCED_NOTIFICATION_ACTION_COUNT); On 2013/10/15 17:12:03, Alexei ...
7 years, 2 months ago (2013-10-16 02:24:21 UTC) #5
Alexei Svitkine (slow)
https://codereview.chromium.org/26943002/diff/21001/chrome/browser/notifications/sync_notifier/synced_notification_stats.cc File chrome/browser/notifications/sync_notifier/synced_notification_stats.cc (right): https://codereview.chromium.org/26943002/diff/21001/chrome/browser/notifications/sync_notifier/synced_notification_stats.cc#newcode19 chrome/browser/notifications/sync_notifier/synced_notification_stats.cc:19: actions_[i] = false; Now that you're no longer using ...
7 years, 2 months ago (2013-10-16 13:51:01 UTC) #6
Pete Williamson
1. Got rid of the actions[] array per CR feedback from ASvitkine 2. I was ...
7 years, 2 months ago (2013-10-17 05:26:41 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/26943002/diff/27001/chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc File chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc (right): https://codereview.chromium.org/26943002/diff/27001/chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc#newcode74 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc:74: notification_stat.CollectAction(SYNCED_NOTIFICATION_ACTION_BUTTON_CLICK); I don't think you need the new class ...
7 years, 2 months ago (2013-10-17 16:38:00 UTC) #8
Pete Williamson
CR fixes per ASvitkine: Removed the stats class, and put the UMA calls inline into ...
7 years, 2 months ago (2013-10-18 04:32:46 UTC) #9
Alexei Svitkine (slow)
LGTM % comments https://codereview.chromium.org/26943002/diff/38001/chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc File chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc (right): https://codereview.chromium.org/26943002/diff/38001/chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc#newcode7 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc:7: Nit: Remove extra blank line? https://codereview.chromium.org/26943002/diff/38001/chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc#newcode67 ...
7 years, 2 months ago (2013-10-18 13:09:08 UTC) #10
dewittj
lgtm % Alexei's comments
7 years, 2 months ago (2013-10-18 16:49:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/petewil@chromium.org/26943002/38001
7 years, 2 months ago (2013-10-20 22:30:45 UTC) #12
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=31474
7 years, 2 months ago (2013-10-20 22:50:18 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/petewil@chromium.org/26943002/158001
7 years, 2 months ago (2013-10-20 23:04:42 UTC) #14
commit-bot: I haz the power
7 years, 2 months ago (2013-10-21 01:20:40 UTC) #15
Message was sent while issue was closed.
Change committed as 229720

Powered by Google App Engine
This is Rietveld 408576698