Index: content/browser/frame_host/render_frame_host_delegate.h |
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h |
index 4f3178036cda45d6dee1f0b9e6f4d0bbd2672ad9..1ab65e1c393373e1f7df2539c8654d0deb108f06 100644 |
--- a/content/browser/frame_host/render_frame_host_delegate.h |
+++ b/content/browser/frame_host/render_frame_host_delegate.h |
@@ -158,6 +158,11 @@ class CONTENT_EXPORT RenderFrameHostDelegate { |
virtual bool CheckMediaAccessPermission(const GURL& security_origin, |
MediaStreamType type); |
+ // Returns the ID of the default device for the given media device |type|. |
+ // If the returned value is an empty string, it means that there is no |
+ // default device for the given |type|. |
+ virtual std::string GetDefaultMediaDeviceId(MediaStreamType type); |
clamy
2017/01/16 12:48:09
It seems to me that there are no instances of this
Guido Urdaneta
2017/01/18 15:03:59
I added a test that exercises most of the code, al
clamy
2017/01/18 15:15:49
I understand, but why do you need to add this part
|
+ |
// Get the accessibility mode for the WebContents that owns this frame. |
virtual AccessibilityMode GetAccessibilityMode() const; |