| 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 ac8612b6c59cd3c56a83c12126133fbeba99f736..52a15a2cace95352f323725bc6daf31b3379598a 100644
|
| --- a/content/browser/renderer_host/media/media_stream_manager.h
|
| +++ b/content/browser/renderer_host/media/media_stream_manager.h
|
| @@ -186,6 +186,8 @@ class CONTENT_EXPORT MediaStreamManager
|
| // opened/closed.
|
| void NotifyObserverDevicesOpened(DeviceRequest* request);
|
| void NotifyObserverDevicesClosed(DeviceRequest* request);
|
| + void NotifyObserverRequestStateChange(DeviceRequest* request,
|
| + MediaStreamType media_type);
|
| void DevicesFromRequest(DeviceRequest* request,
|
| content::MediaStreamDevices* devices);
|
|
|
| @@ -198,6 +200,9 @@ class CONTENT_EXPORT MediaStreamManager
|
| bool HasEnumerationRequest(MediaStreamType type);
|
| bool HasEnumerationRequest();
|
| void ClearEnumerationCache(EnumerationCache* cache);
|
| + void UpdateRequestState(DeviceRequest* device,
|
| + MediaStreamType media_type,
|
| + const content::MediaStreamRequest::RequestState);
|
|
|
| // Helper to create the device managers, if needed. Auto-starts the device
|
| // thread and registers this as a listener with the device managers.
|
|
|