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

Issue 528113003: Hotword Audio Verification App: Adds to hotwordPrivate API (Closed)

Created:
6 years, 3 months ago by kcarattini
Modified:
6 years, 3 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, skanuj+watch_chromium.org, melevin+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@page-one
Project:
chromium
Visibility:
Public.

Description

Hotword Audio Verification App: Adds to hotwordPrivate API Adds a function to hotwordPrivate API for the Hotword Audio Verification app with. This function allows the app to check which mode it should launch in. BUG=390086 Committed: https://crrev.com/558d71f8a7a13239f1af39a5f69161d364dba5e0 Cr-Commit-Position: refs/heads/master@{#296641}

Patch Set 1 #

Patch Set 2 : Working API #

Patch Set 3 : #

Total comments: 22

Patch Set 4 : Review comments #

Total comments: 10

Patch Set 5 : Review comments #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Total comments: 4

Patch Set 8 : Review Comments #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -31 lines) Patch
M chrome/browser/extensions/api/hotword_private/hotword_private_api.h View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/hotword_private/hotword_private_api.cc View 1 2 3 4 5 6 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc View 1 2 3 4 5 6 7 8 2 chunks +26 lines, -0 lines 0 comments Download
M chrome/browser/resources/hotword_audio_verification/event_page.js View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/resources/hotword_audio_verification/flow.js View 1 2 3 4 5 6 7 3 chunks +27 lines, -21 lines 0 comments Download
M chrome/browser/resources/hotword_audio_verification/manifest.json View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/search/hotword_service.h View 1 2 3 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/search/hotword_service.cc View 1 2 3 4 2 chunks +18 lines, -5 lines 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/hotword_private.idl View 1 2 3 4 5 6 2 chunks +14 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/hotword_private/getLaunchState/manifest.json View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/data/extensions/api_test/hotword_private/getLaunchState/test.js View 1 2 3 4 5 6 1 chunk +4 lines, -3 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 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: 25 (4 generated)
kcarattini
6 years, 3 months ago (2014-09-09 01:37:21 UTC) #2
kcarattini
benwells@ please review for OWNERS approval in chrome/browser/extensions/api/... chrome/common/extensions/... extensions/common/permissions/api_permission.h
6 years, 3 months ago (2014-09-09 01:45:38 UTC) #4
rpetterson
General comment/question, why create a separate private api with just one function? Why not add ...
6 years, 3 months ago (2014-09-09 20:07:32 UTC) #5
benwells
https://codereview.chromium.org/528113003/diff/40001/chrome/browser/extensions/api/hotword_audio_verification_private/hotword_audio_verification_private_api.cc File chrome/browser/extensions/api/hotword_audio_verification_private/hotword_audio_verification_private_api.cc (right): https://codereview.chromium.org/528113003/diff/40001/chrome/browser/extensions/api/hotword_audio_verification_private/hotword_audio_verification_private_api.cc#newcode18 chrome/browser/extensions/api/hotword_audio_verification_private/hotword_audio_verification_private_api.cc:18: // TODO(kcarattini): Do better error handling. Error handling is ...
6 years, 3 months ago (2014-09-09 20:57:31 UTC) #6
kcarattini
Thank you both for your comments. As we discussed, I will rework this cl so ...
6 years, 3 months ago (2014-09-10 03:05:40 UTC) #7
kcarattini
I've now extended the hotwordPrivate API, as we discussed. Please have another look. Thanks, Kendra ...
6 years, 3 months ago (2014-09-10 08:14:29 UTC) #8
kcarattini
mpearson@chromium.org: Please review changes in tools/metrics/histograms/histograms.xml extensions/browser/extension_function_histogram_value.h jhawkins@chromium.org: Please review changes in chrome/browser/resources/...
6 years, 3 months ago (2014-09-10 08:17:48 UTC) #10
Mark P
histograms.xml lgtm
6 years, 3 months ago (2014-09-10 16:21:40 UTC) #11
rpetterson
https://codereview.chromium.org/528113003/diff/60001/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/528113003/diff/60001/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc#newcode151 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc:151: error_ = hotword_private_constants::kHotwordServiceUnavailable; This should probably be defined in ...
6 years, 3 months ago (2014-09-10 23:04:23 UTC) #12
kcarattini
https://codereview.chromium.org/528113003/diff/60001/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/528113003/diff/60001/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc#newcode151 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc:151: error_ = hotword_private_constants::kHotwordServiceUnavailable; On 2014/09/10 23:04:22, rpetterson wrote: > ...
6 years, 3 months ago (2014-09-11 00:08:30 UTC) #13
rpetterson
LGTM https://codereview.chromium.org/528113003/diff/60001/chrome/browser/search/hotword_service.cc File chrome/browser/search/hotword_service.cc (right): https://codereview.chromium.org/528113003/diff/60001/chrome/browser/search/hotword_service.cc#newcode473 chrome/browser/search/hotword_service.cc:473: OpenApplication(AppLaunchParams( On 2014/09/11 00:08:30, kcarattini wrote: > On ...
6 years, 3 months ago (2014-09-11 17:43:54 UTC) #14
benwells
lgtm https://codereview.chromium.org/528113003/diff/60001/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/528113003/diff/60001/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc#newcode151 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc:151: error_ = hotword_private_constants::kHotwordServiceUnavailable; On 2014/09/11 00:08:29, kcarattini wrote: ...
6 years, 3 months ago (2014-09-11 19:27:41 UTC) #15
rpetterson
https://codereview.chromium.org/528113003/diff/60001/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/528113003/diff/60001/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc#newcode151 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc:151: error_ = hotword_private_constants::kHotwordServiceUnavailable; On 2014/09/11 19:27:40, benwells (OOO until ...
6 years, 3 months ago (2014-09-11 19:33:32 UTC) #16
kcarattini
James, can you please review files in chrome/browser/resources/... https://codereview.chromium.org/528113003/diff/60001/chrome/browser/search/hotword_service.cc File chrome/browser/search/hotword_service.cc (right): https://codereview.chromium.org/528113003/diff/60001/chrome/browser/search/hotword_service.cc#newcode473 chrome/browser/search/hotword_service.cc:473: OpenApplication(AppLaunchParams( ...
6 years, 3 months ago (2014-09-11 23:32:51 UTC) #17
James Hawkins
https://codereview.chromium.org/528113003/diff/120001/chrome/browser/resources/hotword_audio_verification/flow.js File chrome/browser/resources/hotword_audio_verification/flow.js (right): https://codereview.chromium.org/528113003/diff/120001/chrome/browser/resources/hotword_audio_verification/flow.js#newcode49 chrome/browser/resources/hotword_audio_verification/flow.js:49: if (chrome.hotwordPrivate && chrome.hotwordPrivate.getLaunchState) { nit: No braces for ...
6 years, 3 months ago (2014-09-12 20:11:56 UTC) #18
kcarattini
Thanks, please have another look. Kendra https://codereview.chromium.org/528113003/diff/120001/chrome/browser/resources/hotword_audio_verification/flow.js File chrome/browser/resources/hotword_audio_verification/flow.js (right): https://codereview.chromium.org/528113003/diff/120001/chrome/browser/resources/hotword_audio_verification/flow.js#newcode49 chrome/browser/resources/hotword_audio_verification/flow.js:49: if (chrome.hotwordPrivate && ...
6 years, 3 months ago (2014-09-23 03:01:49 UTC) #19
chromium-reviews
Ping to jhawkins@ Kendra On Tue, Sep 23, 2014 at 1:01 PM, <kcarattini@chromium.org> wrote: > ...
6 years, 3 months ago (2014-09-24 23:44:24 UTC) #20
James Hawkins
lgtm
6 years, 3 months ago (2014-09-25 00:53:31 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/528113003/180001
6 years, 3 months ago (2014-09-25 03:07:50 UTC) #23
commit-bot: I haz the power
Committed patchset #10 (id:180001) as f71d68c28a207229d22f670b4f321286812dda4c
6 years, 3 months ago (2014-09-25 04:23:26 UTC) #24
commit-bot: I haz the power
6 years, 3 months ago (2014-09-25 04:24:13 UTC) #25
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/558d71f8a7a13239f1af39a5f69161d364dba5e0
Cr-Commit-Position: refs/heads/master@{#296641}

Powered by Google App Engine
This is Rietveld 408576698