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

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

Issue 2956063003: Add support for echoCancellation and deviceId to MediaStreamTrack.getSettings (Closed)
Patch Set: Created 3 years, 6 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/user_media_client_impl_unittest.cc
diff --git a/content/renderer/media/user_media_client_impl_unittest.cc b/content/renderer/media/user_media_client_impl_unittest.cc
index b5505f07521a1df9199ec43878b2e87f58628814..e0ba4a025f324d6d3d3fc700d830c7433e16f2f6 100644
--- a/content/renderer/media/user_media_client_impl_unittest.cc
+++ b/content/renderer/media/user_media_client_impl_unittest.cc
@@ -284,7 +284,8 @@ class UserMediaClientImplUnderTest : public UserMediaClientImpl {
MediaStreamAudioSource* CreateAudioSource(
const StreamDeviceInfo& device,
const blink::WebMediaConstraints& constraints,
- const MediaStreamSource::ConstraintsCallback& source_ready) override {
+ const MediaStreamSource::ConstraintsCallback& source_ready,
+ bool* has_sw_echo_cancellation) override {
MediaStreamAudioSource* source;
if (create_source_that_fails_) {
class FailedAtLifeAudioSource : public MediaStreamAudioSource {
@@ -310,6 +311,7 @@ class UserMediaClientImplUnderTest : public UserMediaClientImpl {
source_ready, source));
}
+ *has_sw_echo_cancellation = false;
return source;
}

Powered by Google App Engine
This is Rietveld 408576698