Implement CheckMediaAccessPermission, fixes #1017
This commit is contained in:
parent
fe81e5b32d
commit
81b370ee9f
3 changed files with 10 additions and 1 deletions
|
@ -152,6 +152,12 @@ void WebContents::EnumerateDirectory(content::WebContents* guest,
|
|||
web_dialog_helper_->EnumerateDirectory(guest, request_id, path);
|
||||
}
|
||||
|
||||
bool WebContents::CheckMediaAccessPermission(content::WebContents* web_contents,
|
||||
const GURL& security_origin,
|
||||
content::MediaStreamType type) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void WebContents::RequestMediaAccessPermission(
|
||||
content::WebContents*,
|
||||
const content::MediaStreamRequest& request,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue