DescriptionRemoving public access to AudioManager device info interface.
With audio moving to a separate process, device info access is allowed through AudioSystem interface only.
We want to avoid AudioManager device info interface leakage.
* AudioManager device info methods moved to protected.
* AudioSystem becomes AudioManager's friend.
* For the unit tests of the functionality moving to audio process (media unit tests):
AudioDeviceInfoAccessorForTests class is introduced, which is AudioManager's friend and is compiled only for media_unittests target.
BUG=672468
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2799363005
Cr-Commit-Position: refs/heads/master@{#468998}
Committed: https://chromium.googlesource.com/chromium/src/+/0abd2199c67e65774e8fff05a31068d17b2ae805
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : Fix for build errors on mac, win, android #Patch Set 4 : another round of build error fixes #Patch Set 5 : more fixes #Patch Set 6 : missing header for win added #
Total comments: 2
Patch Set 7 : missed media_export header added #Patch Set 8 : other way around #Patch Set 9 : rebase #Patch Set 10 : rebase #Messages
Total messages: 63 (51 generated)
|