Index: extensions/browser/app_window/app_web_contents_helper.h |
diff --git a/extensions/browser/app_window/app_web_contents_helper.h b/extensions/browser/app_window/app_web_contents_helper.h |
index 3d17851b451319f935e4775345a7b15381ee248f..ea4f13e55f5d93d31c7b418b1a66aeda62c808d7 100644 |
--- a/extensions/browser/app_window/app_web_contents_helper.h |
+++ b/extensions/browser/app_window/app_web_contents_helper.h |
@@ -48,6 +48,11 @@ class AppWebContentsHelper { |
const content::MediaStreamRequest& request, |
const content::MediaResponseCallback& callback) const; |
+ // Checks permission to use the camera or microphone. See |
+ // WebContentsDelegate. |
+ bool CheckMediaAccessPermission(const GURL& security_origin, |
+ content::MediaStreamType type) const; |
+ |
private: |
const Extension* GetExtension() const; |