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 d1e9ccca8ad508ae695d35d65fd544aff07948e3..cb82a149c4dd7a579f7500b01bb48064585467ba 100644 |
--- a/content/browser/renderer_host/media/media_stream_manager.h |
+++ b/content/browser/renderer_host/media/media_stream_manager.h |
@@ -133,13 +133,17 @@ class CONTENT_EXPORT MediaStreamManager |
// Contains all data needed to keep track of requests. |
struct DeviceRequest; |
+ // Helpers for signaling the media observer that new capture devices are |
+ // opened/closed. |
+ void NotifyObserverDevicesOpened(DeviceRequest* request); |
+ void NotifyObserverDevicesClosed(DeviceRequest* request); |
+ void DevicesFromRequest(DeviceRequest* request, |
+ content::MediaStreamDevices* devices); |
+ |
// Helpers. |
bool RequestDone(const MediaStreamManager::DeviceRequest& request) const; |
MediaStreamProvider* GetDeviceManager(MediaStreamType stream_type); |
void StartEnumeration(DeviceRequest* new_request, |
- int render_process_id, |
- int render_view_id, |
- const std::string& security_origin, |
std::string* label); |
scoped_ptr<MediaStreamDeviceSettings> device_settings_; |