Index: content/renderer/media/media_stream_dispatcher.h |
diff --git a/content/renderer/media/media_stream_dispatcher.h b/content/renderer/media/media_stream_dispatcher.h |
index a52cb099d52501db3f92ba814428dedd2748e3ab..b7c666080fa4c47c9ddcc7969b3a46f25473a9ed 100644 |
--- a/content/renderer/media/media_stream_dispatcher.h |
+++ b/content/renderer/media/media_stream_dispatcher.h |
@@ -56,11 +56,15 @@ class CONTENT_EXPORT MediaStreamDispatcher |
virtual void StopStreamDevice(const StreamDeviceInfo& device_info); |
// Request to enumerate devices. |
+ // If |hide_labels_if_no_access| is true, labels will be empty in the |
+ // response if permission has not been granted for the device type. This |
+ // should normally be true. |
virtual void EnumerateDevices( |
int request_id, |
const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler, |
MediaStreamType type, |
- const GURL& security_origin); |
+ const GURL& security_origin, |
+ bool hide_labels_if_no_access); |
// Request to stop enumerating devices. |
void StopEnumerateDevices( |