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 72cabb4b62f5bff36c8bd7276506c702f76bf238..58e3a395699e2601825e51ae203f345b62d4f738 100644 |
--- a/content/public/browser/web_contents_delegate.cc |
+++ b/content/public/browser/web_contents_delegate.cc |
@@ -164,8 +164,9 @@ void WebContentsDelegate::RequestMediaAccessPermission( |
WebContents* web_contents, |
const MediaStreamRequest& request, |
const MediaResponseCallback& callback) { |
+ LOG_F(ERROR) << "Not supported."; |
jam
2014/09/25 18:50:27
ditto here and below
Henrik Grunell
2014/09/25 18:54:11
Done.
|
callback.Run(MediaStreamDevices(), |
- MEDIA_DEVICE_INVALID_STATE, |
+ MEDIA_DEVICE_NOT_SUPPORTED, |
scoped_ptr<MediaStreamUI>()); |
} |
@@ -173,8 +174,7 @@ bool WebContentsDelegate::CheckMediaAccessPermission( |
WebContents* web_contents, |
const GURL& security_origin, |
MediaStreamType type) { |
- DCHECK(type == MEDIA_DEVICE_AUDIO_CAPTURE || |
- type == MEDIA_DEVICE_VIDEO_CAPTURE); |
+ LOG_F(ERROR) << "Not supported."; |
return false; |
} |