| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index 10f7b9df467216a430ee08d69f3ddb5bccec329c..f777e4fa969fdd0ffe77fcae493bdd7bcaaa6ccf 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1776,6 +1776,14 @@ void WebContentsImpl::RequestMediaAccessPermission(
|
| }
|
| }
|
|
|
| +bool WebContentsImpl::CheckMediaAccessPermission(const GURL& security_origin,
|
| + MediaStreamType type) {
|
| + DCHECK(type == MEDIA_DEVICE_AUDIO_CAPTURE ||
|
| + type == MEDIA_DEVICE_VIDEO_CAPTURE);
|
| + return delegate_ &&
|
| + delegate_->CheckMediaAccessPermission(this, security_origin, type);
|
| +}
|
| +
|
| SessionStorageNamespace* WebContentsImpl::GetSessionStorageNamespace(
|
| SiteInstance* instance) {
|
| return controller_.GetSessionStorageNamespace(instance);
|
|
|