Index: content/public/browser/web_contents_delegate.h |
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h |
index 2cfcdf7fe644d637e1d920335d9266cb00491b46..6983ec9ada15a4c9aa1b59afbfcd2776e3ec32b7 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -440,6 +440,7 @@ class CONTENT_EXPORT WebContentsDelegate { |
// request is denied, a call should be made to |callback| with an empty list |
// of devices. |request| has the details of the request (e.g. which of audio |
// and/or video devices are requested, and lists of available devices). |
+ // Delegates that expect this to be ever called, must implement the function. |
jam
2014/09/24 20:50:04
nit: this comment and the one below are redundant.
Henrik Grunell
2014/09/25 18:28:38
Done.
|
virtual void RequestMediaAccessPermission( |
WebContents* web_contents, |
const MediaStreamRequest& request, |
@@ -448,6 +449,7 @@ class CONTENT_EXPORT WebContentsDelegate { |
// 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(WebContents* web_contents, |
const GURL& security_origin, |
MediaStreamType type); |