Index: chrome/browser/media/media_stream_devices_menu_model.h |
diff --git a/chrome/browser/media/media_stream_devices_menu_model.h b/chrome/browser/media/media_stream_devices_menu_model.h |
index 970b01768da9393f107d3a19e378d3c5bafbf50b..fda877304da5fde41eed4c910058056d6f1bfdd2 100644 |
--- a/chrome/browser/media/media_stream_devices_menu_model.h |
+++ b/chrome/browser/media/media_stream_devices_menu_model.h |
@@ -22,12 +22,11 @@ class MediaStreamDevicesMenuModel : public ui::SimpleMenuModel, |
const MediaStreamInfoBarDelegate* delegate); |
virtual ~MediaStreamDevicesMenuModel(); |
- // Returns the |device_id| for the selected device of type |type|. Returns |
- // true if a selected device of the requested |type| was found, and false if |
- // none was found, in which case |device_id| remains untouched. |
- bool GetSelectedDeviceId( |
- content::MediaStreamDeviceType type, |
- std::string* device_id) const; |
+ // Returns the |device_id| for the selected audio/video device. Returns true |
+ // if a selected device was found, or false if none was found, in which case |
+ // |device_id| remains untouched. |
+ bool GetSelectedAudioDeviceId(std::string* device_id) const; |
+ bool GetSelectedVideoDeviceId(std::string* device_id) const; |
bool always_allow() const { return always_allow_; } |