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

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

Issue 180633008: Add different error codes for getUserMedia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed comments Created 6 years, 9 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.cc
diff --git a/content/public/common/media_stream_request.cc b/content/public/common/media_stream_request.cc
index b15a0b04879ec7a6532a954ff13ef5188411963a..2f12be3f2bc44df22311190725aee022e4b4af0e 100644
--- a/content/public/common/media_stream_request.cc
+++ b/content/public/common/media_stream_request.cc
@@ -9,13 +9,13 @@
namespace content {
bool IsAudioMediaType(MediaStreamType type) {
- return (type == content::MEDIA_DEVICE_AUDIO_CAPTURE ||
+ return (type == MEDIA_DEVICE_AUDIO_CAPTURE ||
type == content::MEDIA_TAB_AUDIO_CAPTURE ||
type == content::MEDIA_LOOPBACK_AUDIO_CAPTURE);
}
bool IsVideoMediaType(MediaStreamType type) {
- return (type == content::MEDIA_DEVICE_VIDEO_CAPTURE ||
+ return (type == MEDIA_DEVICE_VIDEO_CAPTURE ||
type == content::MEDIA_TAB_VIDEO_CAPTURE ||
type == content::MEDIA_DESKTOP_VIDEO_CAPTURE);
}
« no previous file with comments | « content/public/common/media_stream_request.h ('k') | content/renderer/media/media_stream_dependency_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698