OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 #include <stddef.h> |
| 6 |
| 7 #include "base/macros.h" |
5 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
6 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
7 #include "content/renderer/media/media_stream_audio_processor_options.h" | 10 #include "content/renderer/media/media_stream_audio_processor_options.h" |
8 #include "content/renderer/media/mock_media_constraint_factory.h" | 11 #include "content/renderer/media/mock_media_constraint_factory.h" |
9 #include "third_party/libjingle/source/talk/app/webrtc/mediaconstraintsinterface
.h" | 12 #include "third_party/libjingle/source/talk/app/webrtc/mediaconstraintsinterface
.h" |
10 | 13 |
11 namespace content { | 14 namespace content { |
12 | 15 |
13 namespace { | 16 namespace { |
14 | 17 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // This isn't part of the MediaConstraintsInterface. | 98 // This isn't part of the MediaConstraintsInterface. |
96 MediaAudioConstraints::kGoogBeamforming | 99 MediaAudioConstraints::kGoogBeamforming |
97 }; | 100 }; |
98 MockMediaConstraintFactory factory; | 101 MockMediaConstraintFactory factory; |
99 for (size_t i = 0; i < arraysize(kDefaultAudioConstraints); ++i) { | 102 for (size_t i = 0; i < arraysize(kDefaultAudioConstraints); ++i) { |
100 AddMandatory(kDefaultAudioConstraints[i], false); | 103 AddMandatory(kDefaultAudioConstraints[i], false); |
101 } | 104 } |
102 } | 105 } |
103 | 106 |
104 } // namespace content | 107 } // namespace content |
OLD | NEW |