| Index: chrome/browser/media/media_capture_devices_dispatcher.h
|
| diff --git a/chrome/browser/media/media_capture_devices_dispatcher.h b/chrome/browser/media/media_capture_devices_dispatcher.h
|
| index f156ffb19f129c5f4cf37caf95c5391ecd79724a..a466a89d75d48bf4410a5f53868cbf3008e2e709 100644
|
| --- a/chrome/browser/media/media_capture_devices_dispatcher.h
|
| +++ b/chrome/browser/media/media_capture_devices_dispatcher.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/memory/singleton.h"
|
| #include "base/observer_list.h"
|
| #include "content/public/browser/media_observer.h"
|
| +#include "content/public/browser/web_contents_delegate.h"
|
| #include "content/public/common/media_stream_request.h"
|
|
|
| class AudioStreamIndicator;
|
| @@ -56,6 +57,11 @@ class MediaCaptureDevicesDispatcher : public content::MediaObserver {
|
| const content::MediaStreamDevices& GetAudioCaptureDevices();
|
| const content::MediaStreamDevices& GetVideoCaptureDevices();
|
|
|
| + void RequestAccess(
|
| + content::WebContents* web_contents,
|
| + const content::MediaStreamRequest& request,
|
| + const content::MediaResponseCallback& callback);
|
| +
|
| // Helper to get the default devices which can be used by the media request,
|
| // if the return list is empty, it means there is no available device on the
|
| // OS.
|
|
|