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

Issue 289063012: [Hotword] Add error message display back in. Add error messages for NaCl. Add metrics for errors. (Closed)

Created:
6 years, 7 months ago by rpetterson
Modified:
6 years, 6 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, dominich, jfweitz+watch_chromium.org, David Black, arv+watch_chromium.org, samarth+watch_chromium.org, kmadhusu+watch_chromium.org
Visibility:
Public.

Description

[Hotword] Add error message display back in. Add error messages for NaCl. Add metrics for errors. BUG=345804, 360246 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272625

Patch Set 1 #

Patch Set 2 : remove audio #

Total comments: 12

Patch Set 3 : fix comments, nits, breaks #

Total comments: 4

Patch Set 4 : putting back a function I didn't mean to delete #

Total comments: 2

Patch Set 5 : fix innerHTML #

Patch Set 6 : fixing compile errors #

Patch Set 7 : android compile error #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -69 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +11 lines, -2 lines 1 comment Download
M chrome/browser/resources/options/browser_options.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/browser_options.js View 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/resources/options/content_settings.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/hotword_search_setting_indicator.js View 3 4 2 chunks +17 lines, -25 lines 0 comments Download
M chrome/browser/search/hotword_service.h View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/search/hotword_service.cc View 1 2 3 4 5 6 7 chunks +67 lines, -13 lines 0 comments Download
M chrome/browser/search/hotword_service_factory.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/search/hotword_service_factory.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 chunks +11 lines, -14 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
rpetterson
jhawkins -- webui, generated_resources jered -- c/b/search/* mpearson -- histograms (and related code in hotword_service.cc)
6 years, 7 months ago (2014-05-16 23:47:20 UTC) #1
James Hawkins
https://codereview.chromium.org/289063012/diff/20001/chrome/browser/resources/options/hotword_search_setting_indicator.js File chrome/browser/resources/options/hotword_search_setting_indicator.js (right): https://codereview.chromium.org/289063012/diff/20001/chrome/browser/resources/options/hotword_search_setting_indicator.js#newcode91 chrome/browser/resources/options/hotword_search_setting_indicator.js:91: text.innerHTML = this.errorText_; text.textContent https://codereview.chromium.org/289063012/diff/20001/chrome/browser/resources/options/hotword_search_setting_indicator.js#newcode94 chrome/browser/resources/options/hotword_search_setting_indicator.js:94: help.innerHTML = this.helpLink_; ...
6 years, 7 months ago (2014-05-19 02:54:28 UTC) #2
Jered
https://codereview.chromium.org/289063012/diff/20001/chrome/browser/search/hotword_service.cc File chrome/browser/search/hotword_service.cc (right): https://codereview.chromium.org/289063012/diff/20001/chrome/browser/search/hotword_service.cc#newcode75 chrome/browser/search/hotword_service.cc:75: // Enum describing the types of errors that can ...
6 years, 7 months ago (2014-05-19 16:45:51 UTC) #3
rpetterson
James, a specific question for you below. https://codereview.chromium.org/289063012/diff/20001/chrome/browser/resources/options/hotword_search_setting_indicator.js File chrome/browser/resources/options/hotword_search_setting_indicator.js (right): https://codereview.chromium.org/289063012/diff/20001/chrome/browser/resources/options/hotword_search_setting_indicator.js#newcode91 chrome/browser/resources/options/hotword_search_setting_indicator.js:91: text.innerHTML = ...
6 years, 7 months ago (2014-05-19 17:39:17 UTC) #4
Jered
https://codereview.chromium.org/289063012/diff/40001/chrome/browser/search/hotword_service.cc File chrome/browser/search/hotword_service.cc (right): https://codereview.chromium.org/289063012/diff/40001/chrome/browser/search/hotword_service.cc#newcode127 chrome/browser/search/hotword_service.cc:127: default: You should probably hook up the other two ...
6 years, 7 months ago (2014-05-19 20:47:33 UTC) #5
rpetterson
https://codereview.chromium.org/289063012/diff/40001/chrome/browser/search/hotword_service.cc File chrome/browser/search/hotword_service.cc (right): https://codereview.chromium.org/289063012/diff/40001/chrome/browser/search/hotword_service.cc#newcode127 chrome/browser/search/hotword_service.cc:127: default: On 2014/05/19 20:47:34, Jered wrote: > You should ...
6 years, 7 months ago (2014-05-19 21:04:16 UTC) #6
Jered
On 2014/05/19 21:04:16, rpetterson wrote: > https://codereview.chromium.org/289063012/diff/40001/chrome/browser/search/hotword_service.cc > File chrome/browser/search/hotword_service.cc (right): > > https://codereview.chromium.org/289063012/diff/40001/chrome/browser/search/hotword_service.cc#newcode127 > ...
6 years, 7 months ago (2014-05-19 21:15:42 UTC) #7
Mark P
only one concern about the histograms otherwise, histograms lgtm https://codereview.chromium.org/289063012/diff/40001/chrome/browser/search/hotword_service.cc File chrome/browser/search/hotword_service.cc (right): https://codereview.chromium.org/289063012/diff/40001/chrome/browser/search/hotword_service.cc#newcode127 chrome/browser/search/hotword_service.cc:127: ...
6 years, 7 months ago (2014-05-19 22:01:31 UTC) #8
rpetterson
https://codereview.chromium.org/289063012/diff/40001/chrome/browser/search/hotword_service.cc File chrome/browser/search/hotword_service.cc (right): https://codereview.chromium.org/289063012/diff/40001/chrome/browser/search/hotword_service.cc#newcode127 chrome/browser/search/hotword_service.cc:127: default: On 2014/05/19 22:01:31, Mark P wrote: > On ...
6 years, 7 months ago (2014-05-19 22:04:19 UTC) #9
James Hawkins
https://codereview.chromium.org/289063012/diff/20001/chrome/browser/resources/options/hotword_search_setting_indicator.js File chrome/browser/resources/options/hotword_search_setting_indicator.js (right): https://codereview.chromium.org/289063012/diff/20001/chrome/browser/resources/options/hotword_search_setting_indicator.js#newcode91 chrome/browser/resources/options/hotword_search_setting_indicator.js:91: text.innerHTML = this.errorText_; On 2014/05/19 17:39:17, rpetterson wrote: > ...
6 years, 7 months ago (2014-05-21 15:07:21 UTC) #10
James Hawkins
https://codereview.chromium.org/289063012/diff/60001/chrome/browser/resources/options/hotword_search_setting_indicator.js File chrome/browser/resources/options/hotword_search_setting_indicator.js (right): https://codereview.chromium.org/289063012/diff/60001/chrome/browser/resources/options/hotword_search_setting_indicator.js#newcode94 chrome/browser/resources/options/hotword_search_setting_indicator.js:94: help.textContent = this.helpLink_; You needed this to be innerHTML, ...
6 years, 7 months ago (2014-05-21 17:38:40 UTC) #11
rpetterson
https://codereview.chromium.org/289063012/diff/60001/chrome/browser/resources/options/hotword_search_setting_indicator.js File chrome/browser/resources/options/hotword_search_setting_indicator.js (right): https://codereview.chromium.org/289063012/diff/60001/chrome/browser/resources/options/hotword_search_setting_indicator.js#newcode94 chrome/browser/resources/options/hotword_search_setting_indicator.js:94: help.textContent = this.helpLink_; On 2014/05/21 17:38:41, James Hawkins wrote: ...
6 years, 7 months ago (2014-05-21 17:54:30 UTC) #12
James Hawkins
lgtm
6 years, 7 months ago (2014-05-21 17:55:27 UTC) #13
rpetterson
Jered, please take another look. I needed to add a #define in hotword_service.cc to deal ...
6 years, 7 months ago (2014-05-22 17:07:41 UTC) #14
Jered
On 2014/05/22 17:07:41, rpetterson wrote: > Jered, please take another look. I needed to add ...
6 years, 7 months ago (2014-05-23 21:58:37 UTC) #15
rpetterson
The CQ bit was checked by rlp@chromium.org
6 years, 7 months ago (2014-05-23 21:59:11 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/289063012/120001
6 years, 7 months ago (2014-05-23 22:01:54 UTC) #17
commit-bot: I haz the power
Change committed as 272625
6 years, 7 months ago (2014-05-23 22:55:43 UTC) #18
Lei Zhang
https://codereview.chromium.org/289063012/diff/120001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/289063012/diff/120001/chrome/app/generated_resources.grd#newcode6680 chrome/app/generated_resources.grd:6680: + <message name="IDS_HOTWORD_MICROPHONE_ERROR_MESSAGE" desc="The error message text when hotwording ...
6 years, 6 months ago (2014-06-11 07:23:57 UTC) #19
rpetterson
6 years, 6 months ago (2014-06-11 07:48:58 UTC) #20
Message was sent while issue was closed.
On 2014/06/11 07:23:57, Lei Zhang wrote:
>
https://codereview.chromium.org/289063012/diff/120001/chrome/app/generated_re...
> File chrome/app/generated_resources.grd (right):
> 
>
https://codereview.chromium.org/289063012/diff/120001/chrome/app/generated_re...
> chrome/app/generated_resources.grd:6680: +      <message
> name="IDS_HOTWORD_MICROPHONE_ERROR_MESSAGE" desc="The error message text when
> hotwording fails because the microphone isn't working.">
> IDS_HOTWORD_MICROPHONE_ERROR_MESSAGE isn't actually used anywhere. I'm going
to
> remove it unless someone objects.

It's used in CL 293053013 which is near being committed except for a unit test
failure I plan to fix this week. If you so feel strongly, I can just add it back
in that CL.

Powered by Google App Engine
This is Rietveld 408576698