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

Unified Diff: content/renderer/media/media_stream_video_source.cc

Issue 2393923002: Add unit tests for webrtc_media_stream_adapter.cc (Closed)
Patch Set: Renamed test function Created 4 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/renderer/media/media_stream_video_source.cc
diff --git a/content/renderer/media/media_stream_video_source.cc b/content/renderer/media/media_stream_video_source.cc
index 0f531443b61e26566ce755385c84f5cb1dbf2ea7..ab1453fed9bb3c12922edc98e15080c5bf316bad 100644
--- a/content/renderer/media/media_stream_video_source.cc
+++ b/content/renderer/media/media_stream_video_source.cc
@@ -20,10 +20,15 @@ namespace content {
namespace {
-const char* const kLegalVideoConstraints[] = {
- "width", "height", "aspectRatio", "frameRate",
- "facingMode", "deviceId", "groupId", "mediaStreamSource",
-};
+const char* const kLegalVideoConstraints[] = {"width",
+ "height",
+ "aspectRatio",
+ "frameRate",
+ "facingMode",
+ "deviceId",
+ "groupId",
+ "mediaStreamSource",
+ "googNoiseReduction"};
// Returns true if |constraint| has mandatory constraints.
bool HasMandatoryConstraints(const blink::WebMediaConstraints& constraints) {
« no previous file with comments | « content/renderer/media/media_stream_constraints_util.cc ('k') | content/renderer/media/mock_media_stream_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698