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

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

Issue 883293005: Cast: Basic cast_receiver API for chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed extra BUILD.gn line Created 5 years, 10 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/webrtc_local_audio_track_unittest.cc
diff --git a/content/renderer/media/webrtc_local_audio_track_unittest.cc b/content/renderer/media/webrtc_local_audio_track_unittest.cc
index a0daaa5d367a4353a21d95574a5d6b8f02d25b9e..bf20c9d88befa363869dfb2c970111e634cd56a1 100644
--- a/content/renderer/media/webrtc_local_audio_track_unittest.cc
+++ b/content/renderer/media/webrtc_local_audio_track_unittest.cc
@@ -171,7 +171,7 @@ class WebRtcLocalAudioTrackTest : public ::testing::Test {
.WillOnce(Return());
EXPECT_CALL(*capturer_source_.get(), SetAutomaticGainControl(true));
EXPECT_CALL(*capturer_source_.get(), OnStart());
- capturer_->SetCapturerSourceForTesting(capturer_source_, params_);
+ capturer_->SetCapturerSource(capturer_source_, params_);
}
void TearDown() override {
@@ -428,7 +428,7 @@ TEST_F(WebRtcLocalAudioTrackTest,
media::AudioParameters new_param(
media::AudioParameters::AUDIO_PCM_LOW_LATENCY,
media::CHANNEL_LAYOUT_MONO, 44100, 16, 441);
- new_capturer->SetCapturerSourceForTesting(new_source, new_param);
+ new_capturer->SetCapturerSource(new_source, new_param);
// Setup the second audio track, connect it to the new capturer and start it.
scoped_refptr<WebRtcLocalAudioTrackAdapter> adapter_2(
@@ -482,7 +482,7 @@ TEST_F(WebRtcLocalAudioTrackTest, TrackWorkWithSmallBufferSize) {
EXPECT_CALL(*source.get(), OnInitialize(_, capturer.get(), -1));
EXPECT_CALL(*source.get(), SetAutomaticGainControl(true));
EXPECT_CALL(*source.get(), OnStart());
- capturer->SetCapturerSourceForTesting(source, params);
+ capturer->SetCapturerSource(source, params);
// Setup a audio track, connect it to the capturer and start it.
scoped_refptr<WebRtcLocalAudioTrackAdapter> adapter(
« no previous file with comments | « content/renderer/media/webrtc_audio_capturer_unittest.cc ('k') | content/renderer/pepper/pepper_platform_camera_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698