Index: content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc |
diff --git a/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc b/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc |
index a268fc52ccd027c8bb8a05029f94c5d731ecd6fc..186618b2dbe214d0b86a52be3ed42f0cf152ecb7 100644 |
--- a/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc |
+++ b/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc |
@@ -370,8 +370,11 @@ |
return nullptr; |
} |
-void MockPeerConnectionDependencyFactory::CreateWebAudioSource( |
- blink::WebMediaStreamSource* source) {} |
+scoped_refptr<WebAudioCapturerSource> |
+MockPeerConnectionDependencyFactory::CreateWebAudioSource( |
+ blink::WebMediaStreamSource* source) { |
+ return NULL; |
+} |
scoped_refptr<webrtc::MediaStreamInterface> |
MockPeerConnectionDependencyFactory::CreateLocalMediaStream( |
@@ -412,7 +415,7 @@ |
return new MockIceCandidate(sdp_mid, sdp_mline_index, sdp); |
} |
-scoped_ptr<WebRtcAudioCapturer> |
+scoped_refptr<WebRtcAudioCapturer> |
MockPeerConnectionDependencyFactory::CreateAudioCapturer( |
int render_frame_id, |
const StreamDeviceInfo& device_info, |
@@ -427,4 +430,9 @@ |
audio_source); |
} |
+void MockPeerConnectionDependencyFactory::StartLocalAudioTrack( |
+ WebRtcLocalAudioTrack* audio_track) { |
+ audio_track->Start(); |
+} |
+ |
} // namespace content |