Map user input monitor key press count in shared memory region.
Notes: - Key press count is written to a share memory region and used by audio::InputStream implementation (audio service side was already landed in https://crrev.com/c/1011605/31). - AudioInputStreamBroker passes a readonly handle to the shmem over IPC to audio::InputStream. - Lock in UserInputMonitor was removed because Enable/Disable can only be called from UI thread in new audio service input stream implementation, or on audio thread in old implementation. - UserInputMonitor::EnableKeyPressMonitoring() returning void will be removed after switching to audio service input streams. Design doc: https://docs.google.com/document/d/1GHL4uMlIFox2eAqsjUQVA8eJ7HYU3g2AoyAqyx3pxMA/edit?usp=sharing Bug: 836226 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: I75b5b4cb0ed49ce17df84a03300bb9da52d86846 Reviewed-on: https://chromium-review.googlesource.com/1032733 Commit-Queue: Marina Ciocea <marinaciocea@chromium.org> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Reviewed-by:
Max Morin <maxmorin@chromium.org> Cr-Commit-Position: refs/heads/master@{#557115}
Showing
Please register or sign in to comment