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 51b9177457e1af899003fd4dcc2cf9f4a6a6d154..aa39ff1c37b02b7d4feed6734cecae30ce62cc63 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -1751,6 +1751,18 @@ void WebContentsImpl::RequestMediaAccessPermission( |
} |
} |
+void WebContentsImpl::AllowMicAccessBasedOnPolicyAndAppPermissions( |
+ const GURL& security_origin, |
+ const MediaAccessResponseCallback& callback) { |
+ if (delegate_) { |
+ delegate_->AllowMicAccessBasedOnPolicyAndAppPermissions(this, |
+ security_origin, |
+ callback); |
+ } else { |
+ callback.Run(false); |
+ } |
+} |
+ |
SessionStorageNamespace* WebContentsImpl::GetSessionStorageNamespace( |
SiteInstance* instance) { |
return controller_.GetSessionStorageNamespace(instance); |