Chromium Code Reviews| Index: content/browser/renderer_host/media/audio_input_device_manager.h |
| diff --git a/content/browser/renderer_host/media/audio_input_device_manager.h b/content/browser/renderer_host/media/audio_input_device_manager.h |
| index 342e1c08337ed951a403f68fd0d92bd14e72f95e..12507222e4da71cfd80abf39306e2f775614f4f4 100644 |
| --- a/content/browser/renderer_host/media/audio_input_device_manager.h |
| +++ b/content/browser/renderer_host/media/audio_input_device_manager.h |
| @@ -32,8 +32,7 @@ class CONTENT_EXPORT AudioInputDeviceManager : public MediaStreamProvider { |
| // AudioInputDeviceManager before MediaStream is implemented. |
| static const int kFakeOpenSessionId; |
| static const int kInvalidSessionId; |
| - static const int kInvalidDevice; |
| - static const int kDefaultDeviceIndex; |
| + static const char kInvalidDeviceUId[]; |
| AudioInputDeviceManager(); |
| virtual ~AudioInputDeviceManager(); |
| @@ -70,7 +69,7 @@ class CONTENT_EXPORT AudioInputDeviceManager : public MediaStreamProvider { |
| void ErrorOnIOThread(int session_id, MediaStreamProviderError error); |
| // Executed on IO thread to call the event handler. |
| - void StartedOnIOThread(int session_id, int index); |
| + void StartedOnIOThread(int session_id, const std::string& device_uid); |
|
henrika (OOO until Aug 14)
2011/11/16 13:24:02
u=unique?
Why emphasize for only one of the parame
no longer working on chromium
2011/11/16 17:45:48
Done.
|
| void StoppedOnIOThread(int session_id); |
| // Executed on audio_input_device_thread_ to make sure |