Chromium Code Reviews| Index: content/public/browser/web_contents_delegate.cc |
| diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc |
| index 0028339ab638088d8d909e2b1ac17f88415cfb7e..d930aedd1fa4f0de705057562ac8f343ee1c2005 100644 |
| --- a/content/public/browser/web_contents_delegate.cc |
| +++ b/content/public/browser/web_contents_delegate.cc |
| @@ -169,6 +169,15 @@ void WebContentsDelegate::RequestMediaAccessPermission( |
| scoped_ptr<MediaStreamUI>()); |
| } |
| +bool WebContentsDelegate::CheckMediaAccessPermission( |
| + WebContents* web_contents, |
| + const GURL& security_origin, |
| + MediaStreamType type) { |
| + DCHECK(type == MEDIA_DEVICE_AUDIO_CAPTURE || |
|
perkj_chrome
2014/09/15 12:06:25
Why are we ever getting here? Should this be NOTRE
Henrik Grunell
2014/09/15 13:45:17
Not all classes that implement WebContentsDelegate
|
| + type == MEDIA_DEVICE_VIDEO_CAPTURE); |
| + return false; |
| +} |
| + |
| bool WebContentsDelegate::RequestPpapiBrokerPermission( |
| WebContents* web_contents, |
| const GURL& url, |