Index: content/browser/frame_host/render_frame_host_delegate.cc |
diff --git a/content/browser/frame_host/render_frame_host_delegate.cc b/content/browser/frame_host/render_frame_host_delegate.cc |
index ea9549041cd75ef13d0507050c2d9e442436ab3d..b96f2b55cd5553d68da2d09ef931444dc92bad71 100644 |
--- a/content/browser/frame_host/render_frame_host_delegate.cc |
+++ b/content/browser/frame_host/render_frame_host_delegate.cc |
@@ -44,6 +44,14 @@ void RenderFrameHostDelegate::RequestMediaAccessPermission( |
scoped_ptr<MediaStreamUI>()); |
} |
+bool RenderFrameHostDelegate::CheckMediaAccessPermission( |
+ const GURL& security_origin, |
+ MediaStreamType type) { |
+ DCHECK(type == MEDIA_DEVICE_AUDIO_CAPTURE || |
+ type == MEDIA_DEVICE_VIDEO_CAPTURE); |
+ return false; |
+} |
+ |
AccessibilityMode RenderFrameHostDelegate::GetAccessibilityMode() const { |
return AccessibilityModeOff; |
} |