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

Issue 1155483002: Adding UMA for persistent notifications. (Closed)

Created:
5 years, 7 months ago by Deepak
Modified:
5 years, 6 months ago
CC:
chromium-reviews, peter+watch_chromium.org, mlamouri+watch-notifications_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding UMA for persistent notifications callbacks so that when these functions get called we will have record. BUG=490583 Committed: https://crrev.com/67992a64a582f725c38f9317479beaaa9bc962d9 Cr-Commit-Position: refs/heads/master@{#331742}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Changes as per review comments. #

Patch Set 3 : Changes as per review comments. #

Total comments: 7

Patch Set 4 : Changes as per review comments. #

Total comments: 10

Patch Set 5 : Changes in histogram as per review comments. #

Total comments: 9

Patch Set 6 : Changes as per review comments. #

Total comments: 15

Patch Set 7 : Changes as per review comments. #

Patch Set 8 : Changing histgram enum label. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -4 lines) Patch
M chrome/browser/notifications/platform_notification_service_impl.cc View 1 2 3 4 5 2 chunks +9 lines, -4 lines 0 comments Download
M content/public/common/persistent_notification_status.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 2 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (7 generated)
Deepak
PTAL
5 years, 7 months ago (2015-05-21 10:34:54 UTC) #2
Peter Beverloo
Cheers! Please see my comments. https://codereview.chromium.org/1155483002/diff/1/chrome/browser/notifications/platform_notification_service_impl.cc File chrome/browser/notifications/platform_notification_service_impl.cc (right): https://codereview.chromium.org/1155483002/diff/1/chrome/browser/notifications/platform_notification_service_impl.cc#newcode54 chrome/browser/notifications/platform_notification_service_impl.cc:54: content::RecordAction( I was thinking ...
5 years, 7 months ago (2015-05-21 11:33:10 UTC) #3
Deepak
@Peter Thanks for review. PTAL https://codereview.chromium.org/1155483002/diff/1/chrome/browser/notifications/platform_notification_service_impl.cc File chrome/browser/notifications/platform_notification_service_impl.cc (right): https://codereview.chromium.org/1155483002/diff/1/chrome/browser/notifications/platform_notification_service_impl.cc#newcode54 chrome/browser/notifications/platform_notification_service_impl.cc:54: content::RecordAction( On 2015/05/21 11:33:10, ...
5 years, 7 months ago (2015-05-21 14:37:02 UTC) #4
Deepak
@Peter I have removed dependency from action.xml file.. may be it was due to rebase ...
5 years, 7 months ago (2015-05-22 09:48:52 UTC) #6
Peter Beverloo
https://codereview.chromium.org/1155483002/diff/40001/chrome/browser/notifications/platform_notification_service_impl.cc File chrome/browser/notifications/platform_notification_service_impl.cc (right): https://codereview.chromium.org/1155483002/diff/40001/chrome/browser/notifications/platform_notification_service_impl.cc#newcode57 chrome/browser/notifications/platform_notification_service_impl.cc:57: "PlatformNotificationService.PersistentNotificationDataDeleted", success); These need to be added to tools/metrics/histograms/histograms.xml, ...
5 years, 7 months ago (2015-05-22 13:40:35 UTC) #7
Deepak
Thanks for review. PTAL https://codereview.chromium.org/1155483002/diff/40001/chrome/browser/notifications/platform_notification_service_impl.cc File chrome/browser/notifications/platform_notification_service_impl.cc (right): https://codereview.chromium.org/1155483002/diff/40001/chrome/browser/notifications/platform_notification_service_impl.cc#newcode57 chrome/browser/notifications/platform_notification_service_impl.cc:57: "PlatformNotificationService.PersistentNotificationDataDeleted", success); On 2015/05/22 13:40:34, ...
5 years, 7 months ago (2015-05-22 14:09:29 UTC) #8
Peter Beverloo
https://codereview.chromium.org/1155483002/diff/60001/chrome/browser/notifications/platform_notification_service_impl.cc File chrome/browser/notifications/platform_notification_service_impl.cc (right): https://codereview.chromium.org/1155483002/diff/60001/chrome/browser/notifications/platform_notification_service_impl.cc#newcode56 chrome/browser/notifications/platform_notification_service_impl.cc:56: UMA_HISTOGRAM_BOOLEAN("PNS.PersistentNotificationDataDeleted", success); Oh dear. Sorry, I typed PNS as ...
5 years, 7 months ago (2015-05-22 15:35:43 UTC) #9
Deepak
@Peter Thanks for review. PTAL https://codereview.chromium.org/1155483002/diff/60001/chrome/browser/notifications/platform_notification_service_impl.cc File chrome/browser/notifications/platform_notification_service_impl.cc (right): https://codereview.chromium.org/1155483002/diff/60001/chrome/browser/notifications/platform_notification_service_impl.cc#newcode56 chrome/browser/notifications/platform_notification_service_impl.cc:56: UMA_HISTOGRAM_BOOLEAN("PNS.PersistentNotificationDataDeleted", success); On 2015/05/22 ...
5 years, 7 months ago (2015-05-23 04:41:22 UTC) #10
Alexei Svitkine (slow)
https://codereview.chromium.org/1155483002/diff/80001/content/public/common/persistent_notification_status.h File content/public/common/persistent_notification_status.h (right): https://codereview.chromium.org/1155483002/diff/80001/content/public/common/persistent_notification_status.h#newcode10 content/public/common/persistent_notification_status.h:10: // Delivery status for persistent notification clicks to a ...
5 years, 7 months ago (2015-05-26 19:21:23 UTC) #12
Deepak
@Alexei Thanks for review, Changes done as suggested. PTAL https://codereview.chromium.org/1155483002/diff/80001/content/public/common/persistent_notification_status.h File content/public/common/persistent_notification_status.h (right): https://codereview.chromium.org/1155483002/diff/80001/content/public/common/persistent_notification_status.h#newcode10 content/public/common/persistent_notification_status.h:10: ...
5 years, 7 months ago (2015-05-27 04:41:18 UTC) #13
Peter Beverloo
Cool, thanks! A few naming nits remaining, lgtm otherwise. https://codereview.chromium.org/1155483002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1155483002/diff/80001/tools/metrics/histograms/histograms.xml#newcode28496 tools/metrics/histograms/histograms.xml:28496: ...
5 years, 7 months ago (2015-05-27 12:28:49 UTC) #14
Deepak
@Peter Thanks for review. nit addressed. @nasko for persistent_notification_status.h @ASvitkine for histograms.xml https://codereview.chromium.org/1155483002/diff/100001/content/public/common/persistent_notification_status.h File content/public/common/persistent_notification_status.h ...
5 years, 7 months ago (2015-05-27 12:42:39 UTC) #15
Peter Beverloo
https://codereview.chromium.org/1155483002/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1155483002/diff/100001/tools/metrics/histograms/histograms.xml#newcode63447 tools/metrics/histograms/histograms.xml:63447: + label="PERSISTENT_NOTIFICATION_STATUS_EVENT_WAITUNTIL_REJECTED"/> On 2015/05/27 12:42:39, Deepak wrote: > On ...
5 years, 7 months ago (2015-05-27 12:45:45 UTC) #16
Deepak
On 2015/05/27 12:45:45, Peter Beverloo wrote: > https://codereview.chromium.org/1155483002/diff/100001/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (right): > > https://codereview.chromium.org/1155483002/diff/100001/tools/metrics/histograms/histograms.xml#newcode63447 ...
5 years, 7 months ago (2015-05-27 12:52:25 UTC) #17
Alexei Svitkine (slow)
lgtm
5 years, 6 months ago (2015-05-27 20:55:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1155483002/140001
5 years, 6 months ago (2015-05-28 02:42:19 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/66440)
5 years, 6 months ago (2015-05-28 02:50:02 UTC) #23
Deepak
@nasko Please provide approval for content/public/common/persistent_notification_status.h Thanks
5 years, 6 months ago (2015-05-28 03:39:38 UTC) #24
nasko
content/public Rubberstamp LGTM
5 years, 6 months ago (2015-05-28 05:04:09 UTC) #25
Deepak
On 2015/05/28 05:04:09, nasko wrote: > content/public Rubberstamp LGTM Thankyou all for review.
5 years, 6 months ago (2015-05-28 05:06:33 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1155483002/140001
5 years, 6 months ago (2015-05-28 05:07:00 UTC) #28
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 6 months ago (2015-05-28 05:10:57 UTC) #29
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/67992a64a582f725c38f9317479beaaa9bc962d9 Cr-Commit-Position: refs/heads/master@{#331742}
5 years, 6 months ago (2015-05-28 05:11:56 UTC) #30
Peter Beverloo
Uh, I just see that you submitted this without replying to my naming concerns here: ...
5 years, 6 months ago (2015-05-28 13:42:00 UTC) #31
Deepak
5 years, 6 months ago (2015-05-28 14:56:36 UTC) #32
Message was sent while issue was closed.
On 2015/05/28 13:42:00, Peter Beverloo wrote:
> Uh, I just see that you submitted this without replying to my naming concerns
> here:
> 
>
https://codereview.chromium.org/1155483002/diff/80001/tools/metrics/histogram...
> 
> Could you please still do so? I don't think that these are the UMA histogram
> names we should be using...

https://codereview.chromium.org/1161983002/ has been raised as follow up to
address above concerns.
Thanks

Powered by Google App Engine
This is Rietveld 408576698