Chromium Code Reviews| Index: content/renderer/media/audio_input_device.h |
| diff --git a/content/renderer/media/audio_input_device.h b/content/renderer/media/audio_input_device.h |
| index 8b65613a65cbd74a3df93268cba5ad977221ecfd..a8ea2f505bb1e272839c20880efe836040e95fff 100644 |
| --- a/content/renderer/media/audio_input_device.h |
| +++ b/content/renderer/media/audio_input_device.h |
| @@ -99,9 +99,10 @@ class AudioInputDevice |
| class CaptureEventHandler { |
| public: |
| - // Notification to the client that the device with the specific index has |
| - // been started. This callback is triggered as a result of StartDevice(). |
| - virtual void OnDeviceStarted(int device_index) = 0; |
| + // Notification to the client that the device with the specific |index_id| |
| + // has been started. |
| + // This callback is triggered as a result of StartDevice(). |
| + virtual void OnDeviceStarted(const std::string& device_uid) = 0; |
| // Notification to the client that the device has been stopped. |
| virtual void OnDeviceStopped() = 0; |
| @@ -150,7 +151,7 @@ class AudioInputDevice |
| uint32 length); |
| virtual void OnVolume(double volume); |
| virtual void OnStateChanged(AudioStreamState state); |
| - virtual void OnDeviceReady(int index); |
| + virtual void OnDeviceReady(const std::string& device_uid); |
|
tommi (sloooow) - chröme
2011/11/15 10:29:07
also change foo_uid to foo_id. ID is what we use
no longer working on chromium
2011/11/16 17:47:21
Done.
|
| private: |
| // Methods called on IO thread ---------------------------------------------- |