| 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 4acc58df390538f1166250dadba548a45c6d8405..e1f96584d5b5f071ec96181d989f489c21bf8c21 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.
|
|
|