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

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

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.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index b9aa02d8aba2377a0b6690bdba46604f96caa336..17e7cb7b5b19bec1ec92e79ab0b833638edc2b01 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -444,6 +444,12 @@ class CONTENT_EXPORT WebContentsDelegate {
const MediaStreamRequest& request,
const MediaResponseCallback& callback);
+ // TODO: comment.
+ virtual void AllowMicAccessBasedOnPolicyAndAppPermissions(
+ WebContents* web_contents,
+ const GURL& security_origin,
+ const MediaAccessResponseCallback& callback);
jam 2014/08/25 19:18:23 no need for MediaAccessResponseCallback here, just
Henrik Grunell 2014/08/26 16:56:32 Done.
+
// Requests permission to access the PPAPI broker. The delegate should return
// true and call the passed in |callback| with the result, or return false
// to indicate that it does not support asking for permission.

Powered by Google App Engine
This is Rietveld 408576698