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 0d927a45af2c52e24226267082ecf97ddc47aa54..9355b0d1863f66b727c8bd3599ce37de87b946f4 100644 |
--- a/content/browser/frame_host/render_frame_host_delegate.h |
+++ b/content/browser/frame_host/render_frame_host_delegate.h |
@@ -126,6 +126,7 @@ class CONTENT_EXPORT RenderFrameHostDelegate { |
// The render frame has requested access to media devices listed in |
// |request|, and the client should grant or deny that permission by |
// calling |callback|. |
+ // Delegates that expect this to be ever called, must implement the function. |
virtual void RequestMediaAccessPermission( |
const MediaStreamRequest& request, |
const MediaResponseCallback& callback); |
@@ -133,6 +134,7 @@ class CONTENT_EXPORT RenderFrameHostDelegate { |
// Checks if we have permission to access the microphone or camera. Note that |
// this does not query the user. |type| must be MEDIA_DEVICE_AUDIO_CAPTURE |
// or MEDIA_DEVICE_VIDEO_CAPTURE. |
+ // Delegates that expect this to be ever called, must implement the function. |
virtual bool CheckMediaAccessPermission(const GURL& security_origin, |
MediaStreamType type); |