diff options
Diffstat (limited to 'extensions/browser/app_window/app_web_contents_helper.h')
-rw-r--r-- | extensions/browser/app_window/app_web_contents_helper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/browser/app_window/app_web_contents_helper.h b/extensions/browser/app_window/app_web_contents_helper.h index 3d17851..ea4f13e 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; |