Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2106)

Unified Diff: chrome/browser/media/media_stream_devices_menu_model.h

Issue 10912004: Begin adding support for tab mirroring via the MediaStream audio/video capturing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add CONTENT_EXPORT to resolve linker issues on components builds. Also, IWYU. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_; }

Powered by Google App Engine
This is Rietveld 408576698