Chromium Code Reviews| Index: content/public/common/media_stream_request.h |
| diff --git a/content/public/common/media_stream_request.h b/content/public/common/media_stream_request.h |
| index ccd868f39ff7e523666bd8a4807d4d933aaf01d6..f6d2094aaeb2da71f6896080d511d9e7d0919e83 100644 |
| --- a/content/public/common/media_stream_request.h |
| +++ b/content/public/common/media_stream_request.h |
| @@ -15,6 +15,10 @@ |
| namespace content { |
| +// MediaStreamConstraint keys. |
|
perkj_chrome
2012/10/04 08:19:25
? This does not seem to have anything todo with co
perkj_chrome
2012/10/04 08:24:59
oh - I see. But media_stream_request.h is not used
justinlin
2012/10/08 08:59:45
Done.
justinlin
2012/10/08 08:59:45
Done.
justinlin
2012/10/08 18:50:03
Actually, I need access to access these from chrom
|
| +CONTENT_EXPORT extern const char kMediaStreamSource[]; |
| +CONTENT_EXPORT extern const char kMediaStreamSourceId[]; |
| + |
| // Types of media streams. |
| enum MediaStreamDeviceType { |
| MEDIA_NO_SERVICE = 0, |
| @@ -62,6 +66,16 @@ typedef std::map<MediaStreamDeviceType, MediaStreamDevices> |
| // Represents a request for media streams (audio/video). |
| struct CONTENT_EXPORT MediaStreamRequest { |
| + |
| + enum RequestState { |
| + STATE_NOT_REQUESTED = 0, |
| + STATE_REQUESTED, |
| + STATE_PENDING_APPROVAL, |
| + STATE_OPENING, |
| + STATE_DONE, |
| + STATE_ERROR |
| + }; |
| + |
| MediaStreamRequest( |
| int render_process_id, |
| int render_view_id, |