Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1256)

Unified Diff: content/browser/renderer_host/media/media_stream_manager.h

Issue 10168008: Show camera and microphone status indicators. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated the media_stream_dispatcher_unittest Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698