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

Unified Diff: content/public/common/media_stream_request.h

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

Powered by Google App Engine
This is Rietveld 408576698