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

Issue 1333323002: Add UMA metrics for the frequency of closing dangerous download notifications. (Closed)

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

Description

Add UMA metrics for the frequency of closing dangerous download notifications. BUG=530622 Committed: https://crrev.com/8298258e31c8eb1b0886c5782547109d2cb86d8f Cr-Commit-Position: refs/heads/master@{#350485}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing nits. #

Total comments: 2

Patch Set 3 : Changes as per review comments. #

Total comments: 10

Patch Set 4 : Changes as per review comments. #

Patch Set 5 : Changes as per review comments. #

Patch Set 6 : Keeping changes of metrics for recording action only. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M chrome/browser/download/notification/download_item_notification.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (5 generated)
Deepak
@phajdan for download_item_notification.cc @isherman for actions.xml PTAL
5 years, 3 months ago (2015-09-11 15:22:44 UTC) #2
Ilya Sherman
actions.xml lgtm % a nit: https://codereview.chromium.org/1333323002/diff/1/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/1333323002/diff/1/tools/metrics/actions/actions.xml#newcode2930 tools/metrics/actions/actions.xml:2930: User close a download ...
5 years, 3 months ago (2015-09-11 20:35:21 UTC) #3
Deepak
@Ilya Thanks for review, nit addressed. @Pawal PTAL Thanks https://codereview.chromium.org/1333323002/diff/1/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/1333323002/diff/1/tools/metrics/actions/actions.xml#newcode2930 tools/metrics/actions/actions.xml:2930: ...
5 years, 3 months ago (2015-09-12 04:00:28 UTC) #4
Deepak
@Pawel PTAL
5 years, 3 months ago (2015-09-14 10:40:46 UTC) #5
Deepak
@Asanka, PTAL at this small change. Thanks
5 years, 3 months ago (2015-09-16 13:35:21 UTC) #7
asanka
https://codereview.chromium.org/1333323002/diff/20001/chrome/browser/download/notification/download_item_notification.cc File chrome/browser/download/notification/download_item_notification.cc (right): https://codereview.chromium.org/1333323002/diff/20001/chrome/browser/download/notification/download_item_notification.cc#newcode163 chrome/browser/download/notification/download_item_notification.cc:163: {DownloadCommands::OPEN_WHEN_COMPLETE, DownloadsCommands is a dense enum. Why not just ...
5 years, 3 months ago (2015-09-16 14:07:36 UTC) #8
Deepak
@Asanka Thanks for review. Changes done as suggested. PTAL https://codereview.chromium.org/1333323002/diff/20001/chrome/browser/download/notification/download_item_notification.cc File chrome/browser/download/notification/download_item_notification.cc (right): https://codereview.chromium.org/1333323002/diff/20001/chrome/browser/download/notification/download_item_notification.cc#newcode163 chrome/browser/download/notification/download_item_notification.cc:163: ...
5 years, 3 months ago (2015-09-17 13:44:36 UTC) #9
asanka
https://codereview.chromium.org/1333323002/diff/40001/chrome/browser/download/notification/download_item_notification.cc File chrome/browser/download/notification/download_item_notification.cc (left): https://codereview.chromium.org/1333323002/diff/40001/chrome/browser/download/notification/download_item_notification.cc#oldcode647 chrome/browser/download/notification/download_item_notification.cc:647: switch (command) { The advantage of using a switch ...
5 years, 3 months ago (2015-09-17 14:29:40 UTC) #10
Deepak
@Asanka Thanks for review. 1) I have added static_assert but used DownloadCommands::LEARN_MORE_INTERRUPTED as max , ...
5 years, 3 months ago (2015-09-18 04:38:02 UTC) #11
asanka
On 2015/09/18 at 04:38:02, deepak.m1 wrote: > @Asanka > Thanks for review. > > 1) ...
5 years, 3 months ago (2015-09-21 21:02:01 UTC) #12
Deepak
@Asanka keeping recording metrics information changes only as suggested. PTAL.
5 years, 3 months ago (2015-09-23 08:47:05 UTC) #13
asanka
Over to yoshiki@ The BUG annotation seems no longer applicable. Also "UMA matrices information" -> ...
5 years, 3 months ago (2015-09-23 16:57:58 UTC) #15
Deepak
@Asanka Thanks for review, Title updated. @Yoshiki PTAL at this small change. Thanks
5 years, 3 months ago (2015-09-24 02:55:52 UTC) #16
yoshiki
On 2015/09/24 02:55:52, Deepak wrote: > @Asanka > Thanks for review, Title updated. > @Yoshiki ...
5 years, 3 months ago (2015-09-24 03:11:03 UTC) #17
asanka
lgtm
5 years, 3 months ago (2015-09-24 03:34:55 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1333323002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1333323002/100001
5 years, 3 months ago (2015-09-24 04:02:27 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 3 months ago (2015-09-24 07:28:43 UTC) #22
commit-bot: I haz the power
5 years, 3 months ago (2015-09-24 07:29:32 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/8298258e31c8eb1b0886c5782547109d2cb86d8f
Cr-Commit-Position: refs/heads/master@{#350485}

Powered by Google App Engine
This is Rietveld 408576698