Index: content/public/common/media_stream_request.cc |
diff --git a/content/public/common/media_stream_request.cc b/content/public/common/media_stream_request.cc |
index d1dd847e264962808505faff909dc488e7b7aed4..adef43281d7b2cdd57705e57bffd299935ccc913 100644 |
--- a/content/public/common/media_stream_request.cc |
+++ b/content/public/common/media_stream_request.cc |
@@ -11,14 +11,21 @@ namespace content { |
bool IsAudioInputMediaType(MediaStreamType type) { |
return (type == MEDIA_DEVICE_AUDIO_CAPTURE || |
- type == content::MEDIA_TAB_AUDIO_CAPTURE || |
- type == content::MEDIA_DESKTOP_AUDIO_CAPTURE); |
+ type == MEDIA_TAB_AUDIO_CAPTURE || |
+ type == MEDIA_DESKTOP_AUDIO_CAPTURE); |
} |
bool IsVideoMediaType(MediaStreamType type) { |
return (type == MEDIA_DEVICE_VIDEO_CAPTURE || |
- type == content::MEDIA_TAB_VIDEO_CAPTURE || |
- type == content::MEDIA_DESKTOP_VIDEO_CAPTURE); |
+ type == MEDIA_TAB_VIDEO_CAPTURE || |
+ type == MEDIA_DESKTOP_VIDEO_CAPTURE); |
+} |
+ |
+bool IsScreenCaptureMediaType(MediaStreamType type) { |
+ return (type == MEDIA_TAB_AUDIO_CAPTURE || |
+ type == MEDIA_TAB_VIDEO_CAPTURE || |
+ type == MEDIA_DESKTOP_AUDIO_CAPTURE || |
+ type == MEDIA_DESKTOP_VIDEO_CAPTURE); |
} |
MediaStreamDevice::MediaStreamDevice() |