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 || |
+ type == MEDIA_DEVICE_VIDEO_CAPTURE); |
+ return false; |
+} |
+ |
bool WebContentsDelegate::RequestPpapiBrokerPermission( |
WebContents* web_contents, |
const GURL& url, |