OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // AudioInputDeviceManager manages the audio input devices. In particular it | 5 // AudioInputDeviceManager manages the audio input devices. In particular it |
6 // communicates with MediaStreamManager and AudioInputRendererHost on the | 6 // communicates with MediaStreamManager and AudioInputRendererHost on the |
7 // browser IO thread, handles queries like enumerate/open/close from | 7 // browser IO thread, handles queries like enumerate/open/close from |
8 // MediaStreamManager and start/stop from AudioInputRendererHost. | 8 // MediaStreamManager and start/stop from AudioInputRendererHost. |
9 | 9 |
10 // All the queries and work are handled on the IO thread. | 10 // All the queries and work are handled on the IO thread. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 EventHandlerMap event_handlers_; | 66 EventHandlerMap event_handlers_; |
67 typedef std::map<int, media::AudioDeviceName> AudioInputDeviceMap; | 67 typedef std::map<int, media::AudioDeviceName> AudioInputDeviceMap; |
68 AudioInputDeviceMap devices_; | 68 AudioInputDeviceMap devices_; |
69 scoped_refptr<AudioManager> audio_manager_; | 69 scoped_refptr<AudioManager> audio_manager_; |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(AudioInputDeviceManager); | 71 DISALLOW_COPY_AND_ASSIGN(AudioInputDeviceManager); |
72 }; | 72 }; |
73 | 73 |
74 } // namespace media_stream | 74 } // namespace media_stream |
75 | 75 |
76 DISABLE_RUNNABLE_METHOD_REFCOUNT(media_stream::AudioInputDeviceManager); | |
77 | |
78 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_DEVICE_MANAGER_H_ | 76 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_DEVICE_MANAGER_H_ |
OLD | NEW |