Index: content/renderer/media/webrtc/mock_peer_connection_dependency_factory.h |
diff --git a/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.h b/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.h |
index a4ef6d162c8498a244064fc00e8dd0fb881a7deb..b22f09676b634d23010b0b534072011fcc5cea37 100644 |
--- a/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.h |
+++ b/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.h |
@@ -147,7 +147,8 @@ |
scoped_refptr<webrtc::VideoTrackSourceInterface> CreateVideoSource( |
cricket::VideoCapturer* capturer, |
const blink::WebMediaConstraints& constraints) override; |
- void CreateWebAudioSource(blink::WebMediaStreamSource* source) override; |
+ scoped_refptr<WebAudioCapturerSource> CreateWebAudioSource( |
+ blink::WebMediaStreamSource* source) override; |
scoped_refptr<webrtc::MediaStreamInterface> CreateLocalMediaStream( |
const std::string& label) override; |
scoped_refptr<webrtc::VideoTrackInterface> CreateLocalVideoTrack( |
@@ -165,7 +166,7 @@ |
int sdp_mline_index, |
const std::string& sdp) override; |
- scoped_ptr<WebRtcAudioCapturer> CreateAudioCapturer( |
+ scoped_refptr<WebRtcAudioCapturer> CreateAudioCapturer( |
int render_frame_id, |
const StreamDeviceInfo& device_info, |
const blink::WebMediaConstraints& constraints, |
@@ -173,6 +174,8 @@ |
void FailToCreateNextAudioCapturer() { |
fail_to_create_next_audio_capturer_ = true; |
} |
+ |
+ void StartLocalAudioTrack(WebRtcLocalAudioTrack* audio_track) override; |
MockAudioSource* last_audio_source() { return last_audio_source_.get(); } |