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

Issue 1047973003: Notify hotwording extension of microphone state change. (Closed)

Created:
5 years, 8 months ago by calamity
Modified:
5 years, 8 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, jfweitz+watch_chromium.org, David Black, arv+watch_chromium.org, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, chromium-apps-reviews_chromium.org, Jered
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Notify hotwording extension of microphone state change. This CL notifies the hotwording extension of a microphone state change by adding a hotwordPrivate.onMicrophoneStateChanged event which triggers an update of the hotwording state. It also moves the media device observation from HotwordServiceFactory to HotwordService. BUG=461787 TBR=estade@chromium.org Committed: https://crrev.com/509ce7f973d5755f1b59657325e03f31e6308af0 Cr-Commit-Position: refs/heads/master@{#324024}

Patch Set 1 : #

Total comments: 5

Patch Set 2 : address comments #

Patch Set 3 : use event constructor #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -76 lines) Patch
M chrome/browser/extensions/api/hotword_private/hotword_private_api.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/hotword_private/hotword_private_api.cc View 1 2 1 chunk +11 lines, -1 line 0 comments Download
M chrome/browser/resources/hotword/page_audio_manager.js View 1 4 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/search/hotword_service.h View 6 chunks +20 lines, -1 line 0 comments Download
M chrome/browser/search/hotword_service.cc View 1 2 3 5 chunks +31 lines, -10 lines 0 comments Download
M chrome/browser/search/hotword_service_factory.h View 3 chunks +1 line, -31 lines 0 comments Download
M chrome/browser/search/hotword_service_factory.cc View 1 2 3 1 chunk +1 line, -30 lines 0 comments Download
M chrome/browser/ui/webui/voice_search_ui.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/common/extensions/api/hotword_private.idl View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
calamity
5 years, 8 months ago (2015-03-31 05:58:55 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1047973003/20001
5 years, 8 months ago (2015-03-31 06:18:22 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/52877)
5 years, 8 months ago (2015-03-31 06:27:33 UTC) #7
kcarattini
https://codereview.chromium.org/1047973003/diff/20001/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/1047973003/diff/20001/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc#newcode110 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc:110: EventRouter* router = EventRouter::Get(profile_); check for a null return ...
5 years, 8 months ago (2015-03-31 23:31:46 UTC) #8
calamity
https://codereview.chromium.org/1047973003/diff/20001/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/1047973003/diff/20001/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc#newcode110 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc:110: EventRouter* router = EventRouter::Get(profile_); On 2015/03/31 23:31:46, kcarattini wrote: ...
5 years, 8 months ago (2015-04-01 02:36:10 UTC) #9
kcarattini
lgtm https://codereview.chromium.org/1047973003/diff/20001/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/1047973003/diff/20001/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc#newcode110 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc:110: EventRouter* router = EventRouter::Get(profile_); On 2015/04/01 02:36:10, calamity ...
5 years, 8 months ago (2015-04-01 05:04:36 UTC) #10
calamity
TBR-ing estade@ for voice_search_ui.cc +benwells for hotword_private.idl OWNERS.
5 years, 8 months ago (2015-04-02 02:24:46 UTC) #12
Evan Stade
On 2015/04/02 02:24:46, calamity wrote: > TBR-ing estade@ for voice_search_ui.cc > > +benwells for hotword_private.idl ...
5 years, 8 months ago (2015-04-02 20:46:13 UTC) #13
benwells
lgtm
5 years, 8 months ago (2015-04-07 06:28:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1047973003/80001
5 years, 8 months ago (2015-04-07 07:45:03 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 8 months ago (2015-04-07 08:33:18 UTC) #18
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 08:34:10 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/509ce7f973d5755f1b59657325e03f31e6308af0
Cr-Commit-Position: refs/heads/master@{#324024}

Powered by Google App Engine
This is Rietveld 408576698