#include "chrome/browser/media/media_access_handler.h"
#include <memory>
#include <utility>
#include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h"
#include "chrome/browser/media/webrtc/media_stream_capture_indicator.h"
#include "content/public/browser/web_contents.h"
#include "third_party/blink/public/mojom/mediastream/media_stream.mojom.h"
bool MediaAccessHandler::IsInsecureCapturingInProgress(int render_process_id,
int render_frame_id) { … }
void MediaAccessHandler::CheckDevicesAndRunCallback(
content::WebContents* web_contents,
const content::MediaStreamRequest& request,
content::MediaResponseCallback callback,
bool audio_allowed,
bool video_allowed) { … }