| Index: content/browser/renderer_host/media/media_stream_manager.h
|
| diff --git a/content/browser/renderer_host/media/media_stream_manager.h b/content/browser/renderer_host/media/media_stream_manager.h
|
| index a1f22722f78356d2f767207213034be4ad585ce4..8f6dc66b1bdfc895dcd199fa044c6fb5d86e374a 100644
|
| --- a/content/browser/renderer_host/media/media_stream_manager.h
|
| +++ b/content/browser/renderer_host/media/media_stream_manager.h
|
| @@ -177,6 +177,10 @@ class CONTENT_EXPORT MediaStreamManager
|
| const std::string& source_id,
|
| std::string* device_id) const;
|
|
|
| + // Find |device_id| in the list of |requests_|, and returns its session id,
|
| + // or StreamDeviceInfo::kNoId if not found.
|
| + int VideoDeviceIdToSessionId(const std::string& device_id) const;
|
| +
|
| // Called by UI to make sure the device monitor is started so that UI receive
|
| // notifications about device changes.
|
| void EnsureDeviceMonitorStarted();
|
|
|