browser: allow enumeration of media device labels

This commit is contained in:
Robo 2016-02-26 15:47:28 +05:30
parent a21e095a59
commit fce641aab6
3 changed files with 25 additions and 0 deletions

View file

@ -463,6 +463,13 @@ void WebContents::FindReply(content::WebContents* web_contents,
}
}
bool WebContents::CheckMediaAccessPermission(
content::WebContents* web_contents,
const GURL& security_origin,
content::MediaStreamType type) {
return true;
}
void WebContents::RequestMediaAccessPermission(
content::WebContents* web_contents,
const content::MediaStreamRequest& request,