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

Issue 13180002: Adding metrics for notification clicks and dismissals (Closed)

Created:
7 years, 9 months ago by vadimt
Modified:
7 years, 8 months ago
CC:
chromium-reviews, MAD, jar (doing other things), Aaron Boodman, arv+watch_chromium.org, chromium-apps-reviews_chromium.org, Ilya Sherman, stromme, govind_chromium.com
Visibility:
Public.

Description

Adding metrics for notification clicks and dismissals using metricsPrivate API. For this, copied metrics.js library from file manager. BUG=164227 TEST=Open chrome://user-actions, and then click at notifications' body, buttons or dismiss it. Observe that corresponding events get printed on the page. Check for both component and non-component extensions. Wait for several days and check that the data appears at the dashboard. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191700

Patch Set 1 #

Total comments: 17

Patch Set 2 : Fixing chromeactions.txt #

Patch Set 3 : Using Unix line endings for chromeactions.txt #

Total comments: 2

Patch Set 4 : Reviews #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -7 lines) Patch
M chrome/browser/resources/google_now/background.js View 1 2 3 3 chunks +5 lines, -0 lines 2 comments Download
M chrome/browser/resources/google_now/manifest.json View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 chunk +8 lines, -5 lines 0 comments Download
M chrome/tools/chromeactions.txt View 1 2 5 chunks +12 lines, -0 lines 2 comments Download
M chrome/tools/extract_actions.py View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 32 (0 generated)
vadimt
7 years, 9 months ago (2013-03-28 16:43:27 UTC) #1
skare_
https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js File chrome/browser/resources/google_now/metrics.js (right): https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js#newcode13 chrome/browser/resources/google_now/metrics.js:13: // TODO(vadimt): Remove unused code. possible to unify between ...
7 years, 9 months ago (2013-03-28 21:24:51 UTC) #2
vadimt
https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js File chrome/browser/resources/google_now/metrics.js (right): https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js#newcode13 chrome/browser/resources/google_now/metrics.js:13: // TODO(vadimt): Remove unused code. On 2013/03/28 21:24:51, Travis ...
7 years, 9 months ago (2013-03-28 21:36:50 UTC) #3
rgustafson
https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js File chrome/browser/resources/google_now/metrics.js (right): https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js#newcode11 chrome/browser/resources/google_now/metrics.js:11: // This file was adapted from What other metrics ...
7 years, 9 months ago (2013-03-28 21:49:56 UTC) #4
vadimt
https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js File chrome/browser/resources/google_now/metrics.js (right): https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js#newcode11 chrome/browser/resources/google_now/metrics.js:11: // This file was adapted from On 2013/03/28 21:49:56, ...
7 years, 9 months ago (2013-03-28 22:05:05 UTC) #5
Ilya Sherman
https://codereview.chromium.org/13180002/diff/1/chrome/tools/chromeactions.txt File chrome/tools/chromeactions.txt (right): https://codereview.chromium.org/13180002/diff/1/chrome/tools/chromeactions.txt#newcode292 chrome/tools/chromeactions.txt:292: 0x436c20892470d838 GoogleNow.MessageClicked On 2013/03/28 22:05:05, vadimt wrote: > On ...
7 years, 9 months ago (2013-03-28 22:19:50 UTC) #6
vadimt
https://codereview.chromium.org/13180002/diff/1/chrome/tools/chromeactions.txt File chrome/tools/chromeactions.txt (right): https://codereview.chromium.org/13180002/diff/1/chrome/tools/chromeactions.txt#newcode292 chrome/tools/chromeactions.txt:292: 0x436c20892470d838 GoogleNow.MessageClicked On 2013/03/28 22:19:50, Ilya Sherman wrote: > ...
7 years, 9 months ago (2013-03-28 22:37:25 UTC) #7
Ilya Sherman
https://codereview.chromium.org/13180002/diff/1/chrome/tools/chromeactions.txt File chrome/tools/chromeactions.txt (right): https://codereview.chromium.org/13180002/diff/1/chrome/tools/chromeactions.txt#newcode292 chrome/tools/chromeactions.txt:292: 0x436c20892470d838 GoogleNow.MessageClicked On 2013/03/28 22:37:26, vadimt wrote: > On ...
7 years, 9 months ago (2013-03-28 22:39:44 UTC) #8
vadimt
https://codereview.chromium.org/13180002/diff/1/chrome/tools/chromeactions.txt File chrome/tools/chromeactions.txt (right): https://codereview.chromium.org/13180002/diff/1/chrome/tools/chromeactions.txt#newcode292 chrome/tools/chromeactions.txt:292: 0x436c20892470d838 GoogleNow.MessageClicked On 2013/03/28 22:39:44, Ilya Sherman wrote: > ...
7 years, 9 months ago (2013-03-28 22:48:38 UTC) #9
Ilya Sherman
https://codereview.chromium.org/13180002/diff/1/chrome/tools/chromeactions.txt File chrome/tools/chromeactions.txt (right): https://codereview.chromium.org/13180002/diff/1/chrome/tools/chromeactions.txt#newcode292 chrome/tools/chromeactions.txt:292: 0x436c20892470d838 GoogleNow.MessageClicked On 2013/03/28 22:48:38, vadimt wrote: > On ...
7 years, 9 months ago (2013-03-28 22:53:05 UTC) #10
rgustafson
https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js File chrome/browser/resources/google_now/metrics.js (right): https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js#newcode11 chrome/browser/resources/google_now/metrics.js:11: // This file was adapted from On 2013/03/28 22:05:05, ...
7 years, 9 months ago (2013-03-29 02:17:55 UTC) #11
skare_
https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js File chrome/browser/resources/google_now/metrics.js (right): https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js#newcode11 chrome/browser/resources/google_now/metrics.js:11: // This file was adapted from On 2013/03/29 02:17:55, ...
7 years, 8 months ago (2013-03-29 18:08:35 UTC) #12
vadimt
https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js File chrome/browser/resources/google_now/metrics.js (right): https://codereview.chromium.org/13180002/diff/1/chrome/browser/resources/google_now/metrics.js#newcode11 chrome/browser/resources/google_now/metrics.js:11: // This file was adapted from On 2013/03/29 02:17:55, ...
7 years, 8 months ago (2013-03-29 20:15:27 UTC) #13
rgustafson
lgtm https://codereview.chromium.org/13180002/diff/22001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/13180002/diff/22001/chrome/browser/resources/google_now/background.js#newcode442 chrome/browser/resources/google_now/background.js:442: unnecessary new line
7 years, 8 months ago (2013-03-29 20:20:00 UTC) #14
vadimt
https://codereview.chromium.org/13180002/diff/22001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/13180002/diff/22001/chrome/browser/resources/google_now/background.js#newcode442 chrome/browser/resources/google_now/background.js:442: On 2013/03/29 20:20:00, rgustafson wrote: > unnecessary new line ...
7 years, 8 months ago (2013-03-29 20:22:43 UTC) #15
Ilya Sherman
LGTM, thanks.
7 years, 8 months ago (2013-03-29 21:26:12 UTC) #16
skare_
lgtm
7 years, 8 months ago (2013-03-29 22:20:41 UTC) #17
vadimt
arv@, please provide OWNER's approval for chrome/browser/resources/google_now/* miket@, please provide OWNER's approval for chrome/common/extensions/api/_permission_features.json
7 years, 8 months ago (2013-03-29 22:32:22 UTC) #18
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/13180002/diff/22001/chrome/tools/chromeactions.txt File chrome/tools/chromeactions.txt (right): https://codereview.chromium.org/13180002/diff/22001/chrome/tools/chromeactions.txt#newcode61 chrome/tools/chromeactions.txt:61: 0xb3ca99d79240c92f Accel_LockScreen_L Is there are reason for these ...
7 years, 8 months ago (2013-03-29 22:58:33 UTC) #19
vadimt
https://codereview.chromium.org/13180002/diff/22001/chrome/tools/chromeactions.txt File chrome/tools/chromeactions.txt (right): https://codereview.chromium.org/13180002/diff/22001/chrome/tools/chromeactions.txt#newcode61 chrome/tools/chromeactions.txt:61: 0xb3ca99d79240c92f Accel_LockScreen_L On 2013/03/29 22:58:33, arv wrote: > Is ...
7 years, 8 months ago (2013-03-29 23:01:54 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/13180002/22001
7 years, 8 months ago (2013-03-30 02:00:24 UTC) #21
commit-bot: I haz the power
Presubmit check for 13180002-22001 failed and returned exit status 1. INFO:root:Found 5 file(s). Running presubmit ...
7 years, 8 months ago (2013-03-30 02:00:35 UTC) #22
vadimt
sky@, please provide OWNER's review for chrome/tools/*
7 years, 8 months ago (2013-03-30 02:05:27 UTC) #23
sky
I'm not a good reviewer here, maybe jar?
7 years, 8 months ago (2013-04-01 14:44:09 UTC) #24
jar (doing other things)
LGTM for chrome/tools
7 years, 8 months ago (2013-04-01 16:19:03 UTC) #25
miket_OOO
chrome/common/extensions/api/_permission_features.json LGTM
7 years, 8 months ago (2013-04-01 18:04:38 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/13180002/22001
7 years, 8 months ago (2013-04-01 18:05:56 UTC) #27
commit-bot: I haz the power
Presubmit check for 13180002-22001 failed and returned exit status 1. INFO:root:Found 5 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-01 18:06:01 UTC) #28
vadimt
darin@, could you please provide OWNER's approval for: chrome/tools/chromeactions.txt chrome/tools/extract_actions.py Thanks!
7 years, 8 months ago (2013-04-01 18:12:36 UTC) #29
darin (slow to review)
LGTM (OWNERS rubber stamp)
7 years, 8 months ago (2013-04-01 18:23:36 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/13180002/22001
7 years, 8 months ago (2013-04-01 18:24:24 UTC) #31
commit-bot: I haz the power
7 years, 8 months ago (2013-04-01 23:38:07 UTC) #32
Message was sent while issue was closed.
Change committed as 191700

Powered by Google App Engine
This is Rietveld 408576698