#ifndef EXTENSIONS_BROWSER_MEDIA_CAPTURE_UTIL_H_
#define EXTENSIONS_BROWSER_MEDIA_CAPTURE_UTIL_H_
#include "content/public/browser/media_stream_request.h"
#include "third_party/blink/public/common/mediastream/media_stream_request.h"
namespace content {
class WebContents;
}
namespace extensions {
class Extension;
namespace media_capture_util {
void GrantMediaStreamRequest(content::WebContents* web_contents,
const content::MediaStreamRequest& request,
content::MediaResponseCallback callback,
const Extension* extension);
void VerifyMediaAccessPermission(blink::mojom::MediaStreamType type,
const Extension* extension);
}
}
#endif