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..898c6a7dc21de8736e68d0d31d6d9b922f30e726 100644 |
--- a/content/public/common/media_stream_request.h |
+++ b/content/public/common/media_stream_request.h |
@@ -62,6 +62,17 @@ 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_CLOSING, |
+ STATE_ERROR |
+ }; |
+ |
MediaStreamRequest( |
int render_process_id, |
int render_view_id, |