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

Unified Diff: content/browser/renderer_host/media/media_stream_dispatcher_host.cc

Issue 10177008: Shift media_stream::StreamOptions to align with the new getUserMedia spec (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 8 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/browser/renderer_host/media/media_stream_dispatcher_host.cc
diff --git a/content/browser/renderer_host/media/media_stream_dispatcher_host.cc b/content/browser/renderer_host/media/media_stream_dispatcher_host.cc
index 56559a6f68c6fe3e4f0cae0238cf17566ff43fac..0e9ff10bfae8d446f0610b5eb64272dee3bb9457 100644
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host.cc
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host.cc
@@ -195,12 +195,7 @@ void MediaStreamDispatcherHost::OnGenerateStream(
<< render_view_id << ", "
<< page_request_id << ", [ "
<< (components.audio ? "audio " : "")
- << ((components.video_option &
- StreamOptions::kFacingUser) ?
- "video_facing_user " : "")
- << ((components.video_option &
- StreamOptions::kFacingEnvironment) ?
- "video_facing_environment " : "")
+ << (components.video ? "video " : "")
<< "], "
<< security_origin << ")";

Powered by Google App Engine
This is Rietveld 408576698