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 8f0b7bf93f5af0ea21344860c02e6dda5ede5883..3fc15aa9ecf1dbb7963d74138ca283d40b52ecf7 100644 |
--- a/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.h |
+++ b/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.h |
@@ -188,8 +188,7 @@ class MockPeerConnectionDependencyFactory |
scoped_refptr<webrtc::VideoSourceInterface> CreateVideoSource( |
cricket::VideoCapturer* capturer, |
const blink::WebMediaConstraints& constraints) override; |
- scoped_refptr<WebAudioCapturerSource> CreateWebAudioSource( |
- blink::WebMediaStreamSource* source) override; |
+ void CreateWebAudioSource(blink::WebMediaStreamSource* source) override; |
scoped_refptr<webrtc::MediaStreamInterface> CreateLocalMediaStream( |
const std::string& label) override; |
scoped_refptr<webrtc::VideoTrackInterface> CreateLocalVideoTrack( |
@@ -207,7 +206,7 @@ class MockPeerConnectionDependencyFactory |
int sdp_mline_index, |
const std::string& sdp) override; |
- scoped_refptr<WebRtcAudioCapturer> CreateAudioCapturer( |
+ scoped_ptr<WebRtcAudioCapturer> CreateAudioCapturer( |
int render_frame_id, |
const StreamDeviceInfo& device_info, |
const blink::WebMediaConstraints& constraints, |
@@ -216,8 +215,6 @@ class MockPeerConnectionDependencyFactory |
fail_to_create_next_audio_capturer_ = true; |
} |
- void StartLocalAudioTrack(WebRtcLocalAudioTrack* audio_track) override; |
- |
MockAudioSource* last_audio_source() { return last_audio_source_.get(); } |
MockVideoSource* last_video_source() { return last_video_source_.get(); } |