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

Issue 559303002: Hotword Audio Verification app: control the hotword settings (Closed)

Created:
6 years, 3 months ago by kcarattini
Modified:
6 years, 2 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, extensions-reviews_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, asvitkine+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, rlp+watch_chromium.org, dominich, jfweitz+watch_chromium.org, David Black, arv+watch_chromium.org, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, chromium-apps-reviews_chromium.org, Jered, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@launch-state
Project:
chromium
Visibility:
Public.

Description

Hotword Audio Verification app: control the hotword settings Adds a function to the hotword private API to allow the Hotword Audio Verification app to set the always-on-hotword setting. Gives control over the always-on-hotword pref to the app from the settings page. This cl is dependent on https://codereview.chromium.org/528113003/ BUG=390086 Committed: https://crrev.com/e9273647058dda9eb46331ec7f73c424d7dfbbbd Cr-Commit-Position: refs/heads/master@{#296661}

Patch Set 1 #

Total comments: 21

Patch Set 2 : Review comments #

Patch Set 3 : Review Comments #

Patch Set 4 : Rebase #

Patch Set 5 : Re-add lost code, small change to browser_options.js #

Total comments: 17

Patch Set 6 : Review Comments #

Total comments: 4

Patch Set 7 : Review comments #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -30 lines) Patch
M chrome/browser/extensions/api/hotword_private/hotword_private_api.h View 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/hotword_private/hotword_private_api.cc View 1 2 3 1 chunk +15 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc View 1 2 3 4 5 6 7 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/resources/hotword_audio_verification/flow.js View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/resources/hotword_audio_verification/main.js View 1 2 3 4 5 6 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/resources/options/browser_options.html View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/search/hotword_service.h View 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/search/hotword_service.cc View 2 chunks +0 lines, -16 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 6 7 2 chunks +44 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/hotword_private.idl View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/hotword_private/setHotwordAlwaysOnSearchEnableFalse/manifest.json View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/data/extensions/api_test/hotword_private/setHotwordAlwaysOnSearchEnableFalse/test.js View 1 chunk +2 lines, -2 lines 0 comments Download
A + chrome/test/data/extensions/api_test/hotword_private/setHotwordAlwaysOnSearchEnableTrue/manifest.json View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/data/extensions/api_test/hotword_private/setHotwordAlwaysOnSearchEnableTrue/test.js View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (8 generated)
kcarattini
6 years, 3 months ago (2014-09-11 06:58:49 UTC) #2
rpetterson
https://codereview.chromium.org/559303002/diff/1/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc File chrome/browser/extensions/api/hotword_private/hotword_private_api.cc (right): https://codereview.chromium.org/559303002/diff/1/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc#newcode104 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc:104: scoped_ptr<api::hotword_private::SetEnabled::Params> params( This should be: scoped_ptr<api::hotword_private::SetHotwordAlwaysOnSearchEnabled::Params> params And if ...
6 years, 3 months ago (2014-09-11 20:14:18 UTC) #3
kcarattini
https://codereview.chromium.org/559303002/diff/1/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc File chrome/browser/extensions/api/hotword_private/hotword_private_api.cc (right): https://codereview.chromium.org/559303002/diff/1/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc#newcode104 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc:104: scoped_ptr<api::hotword_private::SetEnabled::Params> params( On 2014/09/11 20:14:17, rpetterson wrote: > This ...
6 years, 3 months ago (2014-09-12 01:02:08 UTC) #5
kcarattini
kalman@chromium.org: Please review changes in chrome/browser/extensions/api/... chrome/common/extensions/api/... mpearson@chromium.org: Please review changes in tools/metrics/histograms/histograms.xml extensions/browser/extension_function_histogram_value.h dbeam@chromium.org: ...
6 years, 3 months ago (2014-09-12 01:09:08 UTC) #7
kcarattini
asargent@chromium.org: Please review changes in chrome/browser/extensions/api/... chrome/common/extensions/api/... since kalman@ is OOO
6 years, 3 months ago (2014-09-12 01:11:27 UTC) #10
benwells
Kendra: I took some time and had a look. This will be my last review ...
6 years, 3 months ago (2014-09-12 02:58:13 UTC) #12
benwells
On 2014/09/12 02:58:13, benwells (OOO until October 7) wrote: > Kendra: I took some time ...
6 years, 3 months ago (2014-09-12 02:58:56 UTC) #13
rpetterson
LGTM https://codereview.chromium.org/559303002/diff/1/chrome/browser/extensions/api/hotword_private/hotword_private_api.h File chrome/browser/extensions/api/hotword_private/hotword_private_api.h (right): https://codereview.chromium.org/559303002/diff/1/chrome/browser/extensions/api/hotword_private/hotword_private_api.h#newcode72 chrome/browser/extensions/api/hotword_private/hotword_private_api.h:72: class HotwordPrivateSetHotwordAlwaysOnSearchEnabledFunction On 2014/09/12 01:02:07, kcarattini wrote: > ...
6 years, 3 months ago (2014-09-12 03:03:33 UTC) #14
kcarattini
Thanks, Ben! I thought you'd gone already. Thanks, Rachel! https://codereview.chromium.org/559303002/diff/1/chrome/browser/extensions/api/hotword_private/hotword_private_api.h File chrome/browser/extensions/api/hotword_private/hotword_private_api.h (right): https://codereview.chromium.org/559303002/diff/1/chrome/browser/extensions/api/hotword_private/hotword_private_api.h#newcode72 chrome/browser/extensions/api/hotword_private/hotword_private_api.h:72: ...
6 years, 3 months ago (2014-09-12 05:17:56 UTC) #16
Mark P
histograms.xml lgtm
6 years, 3 months ago (2014-09-12 16:49:12 UTC) #17
kcarattini
Ping to dbeam@ dbeam@chromium.org: Please review changes in chrome/browser/resources/... chrome/browser/ui/...
6 years, 3 months ago (2014-09-23 02:50:47 UTC) #18
Dan Beam
https://codereview.chromium.org/559303002/diff/80001/chrome/browser/resources/hotword_audio_verification/main.js File chrome/browser/resources/hotword_audio_verification/main.js (right): https://codereview.chromium.org/559303002/diff/80001/chrome/browser/resources/hotword_audio_verification/main.js#newcode50 chrome/browser/resources/hotword_audio_verification/main.js:50: if (chrome.hotwordPrivate) { do you expect this to fail ...
6 years, 3 months ago (2014-09-23 05:53:39 UTC) #19
kcarattini
https://codereview.chromium.org/559303002/diff/80001/chrome/browser/resources/hotword_audio_verification/main.js File chrome/browser/resources/hotword_audio_verification/main.js (right): https://codereview.chromium.org/559303002/diff/80001/chrome/browser/resources/hotword_audio_verification/main.js#newcode50 chrome/browser/resources/hotword_audio_verification/main.js:50: if (chrome.hotwordPrivate) { On 2014/09/23 05:53:38, Dan Beam wrote: ...
6 years, 3 months ago (2014-09-23 06:46:16 UTC) #20
Dan Beam
lgtm, but wait for rlp@'s input on whether the hotword service always exists (I remember ...
6 years, 3 months ago (2014-09-23 18:45:18 UTC) #21
rpetterson
https://codereview.chromium.org/559303002/diff/80001/chrome/browser/ui/webui/options/browser_options_handler.cc File chrome/browser/ui/webui/options/browser_options_handler.cc (right): https://codereview.chromium.org/559303002/diff/80001/chrome/browser/ui/webui/options/browser_options_handler.cc#newcode1637 chrome/browser/ui/webui/options/browser_options_handler.cc:1637: if (!hotword_service) { On 2014/09/23 06:46:16, kcarattini wrote: > ...
6 years, 3 months ago (2014-09-23 19:02:22 UTC) #22
kcarattini
Thanks! https://codereview.chromium.org/559303002/diff/100001/chrome/browser/resources/hotword_audio_verification/main.js File chrome/browser/resources/hotword_audio_verification/main.js (right): https://codereview.chromium.org/559303002/diff/100001/chrome/browser/resources/hotword_audio_verification/main.js#newcode50 chrome/browser/resources/hotword_audio_verification/main.js:50: assert(chrome.hotwordPrivate); On 2014/09/23 18:45:18, Dan Beam wrote: > ...
6 years, 3 months ago (2014-09-23 23:56:50 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/559303002/140001
6 years, 2 months ago (2014-09-25 04:46:25 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:140001) as 7558d3679d2df347c4cae959dab0426ee805cfe4
6 years, 2 months ago (2014-09-25 05:56:09 UTC) #26
commit-bot: I haz the power
6 years, 2 months ago (2014-09-25 05:57:26 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/e9273647058dda9eb46331ec7f73c424d7dfbbbd
Cr-Commit-Position: refs/heads/master@{#296661}

Powered by Google App Engine
This is Rietveld 408576698