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

Issue 2432563002: [ios] Adds a provider API for AudioSessionController. (Closed)

Created:
4 years, 2 months ago by rohitrao (ping after 24h)
Modified:
4 years, 2 months ago
Reviewers:
sdefresne
CC:
chromium-reviews, mac-reviews_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] Adds a provider API for AudioSessionController. Creates VoiceSearchProvider to act as a namespace for provider APIs related to voice search. Also adds TestAudioSessionController and TestVoiceSearchProvider for use in unittests. BUG=656617 TEST=No visible (or audible) impact. Committed: https://crrev.com/9cf76a0b0de2b5e5f2cc80a3df5a0e7a309b4cef Cr-Commit-Position: refs/heads/master@{#426170}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Review. #

Total comments: 4

Patch Set 3 : Provider. #

Patch Set 4 : GN #

Patch Set 5 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -14 lines) Patch
M ios/public/provider/chrome/browser/BUILD.gn View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M ios/public/provider/chrome/browser/chrome_browser_provider.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M ios/public/provider/chrome/browser/chrome_browser_provider.mm View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ios/public/provider/chrome/browser/test_chrome_browser_provider.h View 1 2 chunks +3 lines, -4 lines 0 comments Download
M ios/public/provider/chrome/browser/test_chrome_browser_provider.mm View 1 4 chunks +10 lines, -7 lines 0 comments Download
A + ios/public/provider/chrome/browser/voice/BUILD.gn View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
A ios/public/provider/chrome/browser/voice/audio_session_controller.h View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A ios/public/provider/chrome/browser/voice/test_audio_session_controller.h View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A ios/public/provider/chrome/browser/voice/test_audio_session_controller.cc View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
A ios/public/provider/chrome/browser/voice/test_voice_search_provider.h View 1 1 chunk +27 lines, -0 lines 0 comments Download
A ios/public/provider/chrome/browser/voice/test_voice_search_provider.mm View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
A ios/public/provider/chrome/browser/voice/voice_search_provider.h View 1 1 chunk +31 lines, -0 lines 0 comments Download
A ios/public/provider/chrome/browser/voice/voice_search_provider.mm View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (18 generated)
rohitrao (ping after 24h)
Should VoiceSearchProvider be in the ios namespace, to match all the other providers?
4 years, 2 months ago (2016-10-18 21:06:16 UTC) #4
sdefresne
lgtm with nits https://codereview.chromium.org/2432563002/diff/1/ios/chrome/browser/voice/BUILD.gn File ios/chrome/browser/voice/BUILD.gn (right): https://codereview.chromium.org/2432563002/diff/1/ios/chrome/browser/voice/BUILD.gn#newcode31 ios/chrome/browser/voice/BUILD.gn:31: ":voice", Need a dependency on //base ...
4 years, 2 months ago (2016-10-18 22:19:44 UTC) #5
rohitrao (ping after 24h)
Updated to no longer use the ios namespace, because it's cheap to make this change ...
4 years, 2 months ago (2016-10-18 23:30:44 UTC) #8
sdefresne
lgtm https://codereview.chromium.org/2432563002/diff/20001/ios/chrome/browser/voice/test_audio_session_controller.cc File ios/chrome/browser/voice/test_audio_session_controller.cc (right): https://codereview.chromium.org/2432563002/diff/20001/ios/chrome/browser/voice/test_audio_session_controller.cc#newcode7 ios/chrome/browser/voice/test_audio_session_controller.cc:7: #include "base/logging.h" Remove https://codereview.chromium.org/2432563002/diff/20001/ios/public/provider/chrome/browser/voice/test_voice_search_provider.mm File ios/public/provider/chrome/browser/voice/test_voice_search_provider.mm (right): https://codereview.chromium.org/2432563002/diff/20001/ios/public/provider/chrome/browser/voice/test_voice_search_provider.mm#newcode8 ...
4 years, 2 months ago (2016-10-18 23:43:49 UTC) #11
rohitrao (ping after 24h)
Moved all the files into the provider directory, because that's where they really belong. https://codereview.chromium.org/2432563002/diff/20001/ios/chrome/browser/voice/test_audio_session_controller.cc ...
4 years, 2 months ago (2016-10-19 12:19:22 UTC) #20
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/2432563002/80001
4 years, 2 months ago (2016-10-19 12:19:56 UTC) #23
sdefresne
lgtm
4 years, 2 months ago (2016-10-19 12:54:26 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-19 13:15:48 UTC) #25
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:07:42 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9cf76a0b0de2b5e5f2cc80a3df5a0e7a309b4cef
Cr-Commit-Position: refs/heads/master@{#426170}

Powered by Google App Engine
This is Rietveld 408576698