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

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

Issue 10928043: Media Related changes for TabCapture API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial Created 8 years, 3 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 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.

Powered by Google App Engine
This is Rietveld 408576698