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

Issue 667873002: Add UMA to hotword trigger extension. (Closed)

Created:
6 years, 2 months ago by Anand Mistry (off Chromium)
Modified:
6 years, 2 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, rlp+watch_chromium.org, arv+watch_chromium.org, asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, Ilya Sherman, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add UMA to hotword trigger extension. BUG=397019 Committed: https://crrev.com/72720a1af9ed5b8e1a6a88f4f9aee28c11408ced Cr-Commit-Position: refs/heads/master@{#301003}

Patch Set 1 #

Patch Set 2 : Remove invalid user action. #

Total comments: 2

Patch Set 3 : JS style fix. #

Total comments: 2

Patch Set 4 : Add to histograms.xml #

Total comments: 11

Patch Set 5 : Track successes. #

Total comments: 4

Patch Set 6 : Rebase. #

Patch Set 7 : Remove incorrect log for message timeout. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -3 lines) Patch
M chrome/browser/resources/component_extension_resources.grd View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/hotword/constants.js View 1 2 3 4 5 6 2 chunks +67 lines, -1 line 0 comments Download
M chrome/browser/resources/hotword/manifest.json View 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/browser/resources/hotword/metrics.js View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/browser/resources/hotword/nacl_manager.js View 1 2 3 4 5 6 5 chunks +45 lines, -1 line 0 comments Download
M chrome/browser/resources/hotword/state_manager.js View 1 2 3 4 5 3 chunks +44 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 chunk +2 lines, -1 line 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M tools/metrics/actions/extract_actions.py View 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +65 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (4 generated)
Anand Mistry (off Chromium)
6 years, 2 months ago (2014-10-20 23:47:32 UTC) #2
Dan Beam
rs lgtm https://codereview.chromium.org/667873002/diff/20001/chrome/browser/resources/hotword/metrics.js File chrome/browser/resources/hotword/metrics.js (right): https://codereview.chromium.org/667873002/diff/20001/chrome/browser/resources/hotword/metrics.js#newcode14 chrome/browser/resources/hotword/metrics.js:14: function recordEnum(name, value, max_value) { maxValue
6 years, 2 months ago (2014-10-21 01:57:29 UTC) #3
benwells
whitelist lgtm
6 years, 2 months ago (2014-10-21 05:02:31 UTC) #4
Anand Mistry (off Chromium)
https://codereview.chromium.org/667873002/diff/20001/chrome/browser/resources/hotword/metrics.js File chrome/browser/resources/hotword/metrics.js (right): https://codereview.chromium.org/667873002/diff/20001/chrome/browser/resources/hotword/metrics.js#newcode14 chrome/browser/resources/hotword/metrics.js:14: function recordEnum(name, value, max_value) { On 2014/10/21 01:57:29, Dan ...
6 years, 2 months ago (2014-10-21 05:26:41 UTC) #5
Mark P
I also see a bunch of recordEnum calls in your code. Are these recording to ...
6 years, 2 months ago (2014-10-21 17:33:05 UTC) #6
rpetterson
lgtm This is exciting! Looking forward to starting to see these come in!
6 years, 2 months ago (2014-10-21 17:47:56 UTC) #7
Anand Mistry (off Chromium)
Updated histograms.xml as well. https://codereview.chromium.org/667873002/diff/40001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/667873002/diff/40001/tools/metrics/actions/actions.xml#newcode3138 tools/metrics/actions/actions.xml:3138: Counts the number of times ...
6 years, 2 months ago (2014-10-21 23:19:26 UTC) #8
Mark P
I'm not a fluent reader of javascript so I only looked at tools/metrics/... --mark https://codereview.chromium.org/667873002/diff/60001/tools/metrics/histograms/histograms.xml ...
6 years, 2 months ago (2014-10-22 21:20:17 UTC) #9
Anand Mistry (off Chromium)
https://codereview.chromium.org/667873002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/667873002/diff/60001/tools/metrics/histograms/histograms.xml#newcode10012 tools/metrics/histograms/histograms.xml:10012: + Errors when attempting to open a MediaStream for ...
6 years, 2 months ago (2014-10-22 22:14:15 UTC) #10
Mark P
https://codereview.chromium.org/667873002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/667873002/diff/60001/tools/metrics/histograms/histograms.xml#newcode10012 tools/metrics/histograms/histograms.xml:10012: + Errors when attempting to open a MediaStream for ...
6 years, 2 months ago (2014-10-22 22:32:17 UTC) #11
Anand Mistry (off Chromium)
https://codereview.chromium.org/667873002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/667873002/diff/60001/tools/metrics/histograms/histograms.xml#newcode10012 tools/metrics/histograms/histograms.xml:10012: + Errors when attempting to open a MediaStream for ...
6 years, 2 months ago (2014-10-23 00:20:37 UTC) #12
Mark P
lgtm, though you may want a primary reviewer to double-check that your newly-added emits of ...
6 years, 2 months ago (2014-10-23 18:54:00 UTC) #13
rpetterson
https://codereview.chromium.org/667873002/diff/80001/chrome/browser/resources/hotword/nacl_manager.js File chrome/browser/resources/hotword/nacl_manager.js (right): https://codereview.chromium.org/667873002/diff/80001/chrome/browser/resources/hotword/nacl_manager.js#newcode342 chrome/browser/resources/hotword/nacl_manager.js:342: metricValue, Perhaps success should simply be one of the ...
6 years, 2 months ago (2014-10-23 19:03:36 UTC) #14
Anand Mistry (off Chromium)
https://codereview.chromium.org/667873002/diff/80001/chrome/browser/resources/hotword/nacl_manager.js File chrome/browser/resources/hotword/nacl_manager.js (right): https://codereview.chromium.org/667873002/diff/80001/chrome/browser/resources/hotword/nacl_manager.js#newcode342 chrome/browser/resources/hotword/nacl_manager.js:342: metricValue, On 2014/10/23 19:03:36, rpetterson wrote: > Perhaps success ...
6 years, 2 months ago (2014-10-23 21:38:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/667873002/100001
6 years, 2 months ago (2014-10-23 22:09:10 UTC) #17
Anand Mistry (off Chromium)
On 2014/10/23 21:38:16, Anand Mistry wrote: > https://codereview.chromium.org/667873002/diff/80001/chrome/browser/resources/hotword/nacl_manager.js > File chrome/browser/resources/hotword/nacl_manager.js (right): > > https://codereview.chromium.org/667873002/diff/80001/chrome/browser/resources/hotword/nacl_manager.js#newcode342 ...
6 years, 2 months ago (2014-10-23 22:36:59 UTC) #19
rpetterson
On 2014/10/23 22:36:59, Anand Mistry wrote: > On 2014/10/23 21:38:16, Anand Mistry wrote: > > ...
6 years, 2 months ago (2014-10-23 22:52:16 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/667873002/120001
6 years, 2 months ago (2014-10-23 23:09:51 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:120001)
6 years, 2 months ago (2014-10-24 00:28:41 UTC) #23
commit-bot: I haz the power
6 years, 2 months ago (2014-10-24 00:29:16 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/72720a1af9ed5b8e1a6a88f4f9aee28c11408ced
Cr-Commit-Position: refs/heads/master@{#301003}

Powered by Google App Engine
This is Rietveld 408576698