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

Issue 2785463005: Removing AudioSystem::GetAudioManager() usage from speech recognition (Closed)

Created:
3 years, 8 months ago by o1ka
Modified:
3 years, 8 months ago
CC:
audio-mojo-cl_google.com, chromium-reviews, darin-cc_chromium.org, jam, Max Morin, tommi (sloooow) - chröme
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Removing AudioSystem::GetAudioManager() usage from speech recognition. After https://codereview.chromium.org/2763383002/ lands, AudioSystem::GetAudioManager() will be removed: it's only purpose was to assist in gradually switching clients from AudioManager to AudioSystem interface. However, it leaked a bit in speech recognition, so - fixing it. The plan is: 1) After the last client (WebRTC audio private API) is switched to AudioSystem interface, all the related AudioManager methods will be made protected to be used by AudioSystem only; so essentially AudioManager interface will become a factory for audio streams. 2) Further, all audio stream clients will be switched to asynchronous stream creation interface, and then to Mojo. BUG=672468 Review-Url: https://codereview.chromium.org/2785463005 Cr-Commit-Position: refs/heads/master@{#460763} Committed: https://chromium.googlesource.com/chromium/src/+/b6082fccb8e9fc2f21871508bdcf79ca567326ad

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -10 lines) Patch
M content/browser/browser_main_loop.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/speech/speech_recognition_browsertest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/speech/speech_recognition_manager_impl.h View 3 chunks +3 lines, -0 lines 0 comments Download
M content/browser/speech/speech_recognition_manager_impl.cc View 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/speech/speech_recognizer_impl.h View 2 chunks +6 lines, -1 line 0 comments Download
M content/browser/speech/speech_recognizer_impl.cc View 4 chunks +12 lines, -4 lines 0 comments Download
M content/browser/speech/speech_recognizer_impl_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 24 (11 generated)
o1ka
Dale - PTAL. This is re: your comment on AudioSystem::GetAudioManager() in https://codereview.chromium.org/2763383002/, which I agree ...
3 years, 8 months ago (2017-03-29 17:42:28 UTC) #5
DaleCurtis
I don't think anyone will be. They all have access via AudioManager::Get(); so lgtm
3 years, 8 months ago (2017-03-29 17:52:10 UTC) #6
o1ka
On 2017/03/29 17:52:10, DaleCurtis wrote: > I don't think anyone will be. They all have ...
3 years, 8 months ago (2017-03-29 18:01:59 UTC) #7
o1ka
avi@chromium.org: could you RS as an owner?
3 years, 8 months ago (2017-03-29 19:49:12 UTC) #11
DaleCurtis
Hmm, I dunno about that plan. It's too soon to tell if that will work ...
3 years, 8 months ago (2017-03-29 19:50:45 UTC) #12
o1ka
On 2017/03/29 19:50:45, DaleCurtis wrote: > Hmm, I dunno about that plan. It's too soon ...
3 years, 8 months ago (2017-03-29 19:55:59 UTC) #13
o1ka
tommi@ - please RS speech
3 years, 8 months ago (2017-03-30 07:32:14 UTC) #15
tommi (sloooow) - chröme
lgtm
3 years, 8 months ago (2017-03-30 07:56:53 UTC) #16
o1ka
Thanks dalecurtis@ and tommi@! avi@ please RS content/browser/browser_main_loop.cc
3 years, 8 months ago (2017-03-30 12:30:12 UTC) #17
Avi (use Gerrit)
lgtm
3 years, 8 months ago (2017-03-30 14:57:16 UTC) #18
o1ka
Thanks dalecrutis@, tommi@ and avi@.
3 years, 8 months ago (2017-03-30 15:13:02 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2785463005/1
3 years, 8 months ago (2017-03-30 15:13:50 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 15:25:08 UTC) #24
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/b6082fccb8e9fc2f21871508bdcf...

Powered by Google App Engine
This is Rietveld 408576698