Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1953)

Unified Diff: content/public/browser/web_contents_delegate.cc

Issue 483523006: Check all settings when checking mic and camera access (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..99a95e462f7838dd16ad6b995f079b2a8e6ac4bb 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -169,6 +169,13 @@ void WebContentsDelegate::RequestMediaAccessPermission(
scoped_ptr<MediaStreamUI>());
}
+void WebContentsDelegate::AllowMicAccessBasedOnPolicyAndAppPermissions(
+ WebContents* web_contents,
+ const GURL& security_origin,
+ const MediaAccessResponseCallback& callback) {
+ callback.Run(false);
+}
+
bool WebContentsDelegate::RequestPpapiBrokerPermission(
WebContents* web_contents,
const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698