Index: content/renderer/media/webrtc/peer_connection_dependency_factory.h |
diff --git a/content/renderer/media/webrtc/peer_connection_dependency_factory.h b/content/renderer/media/webrtc/peer_connection_dependency_factory.h |
index 212eefb20d2ed70cfc54ba1c040b5242b5405b23..a05867b839f597a7b8b6ed9f8249c5921b2914ce 100644 |
--- a/content/renderer/media/webrtc/peer_connection_dependency_factory.h |
+++ b/content/renderer/media/webrtc/peer_connection_dependency_factory.h |
@@ -153,7 +153,7 @@ class CONTENT_EXPORT PeerConnectionDependencyFactory |
// specific for a WebAudio source. The created WebAudioCapturerSource |
// instance will function as audio source instead of the default |
// WebRtcAudioCapturer. |
- virtual scoped_refptr<WebAudioCapturerSource> CreateWebAudioSource( |
+ virtual scoped_ptr<WebAudioCapturerSource> CreateWebAudioSource( |
blink::WebMediaStreamSource* source); |
// Asks the PeerConnection factory to create a Local VideoTrack object with |
@@ -169,17 +169,12 @@ class CONTENT_EXPORT PeerConnectionDependencyFactory |
// Returns a new capturer or existing capturer based on the |render_frame_id| |
// and |device_info|; if both are valid, it reuses existing capture if any -- |
// otherwise it creates a new capturer. |
- virtual scoped_refptr<WebRtcAudioCapturer> CreateAudioCapturer( |
+ virtual scoped_ptr<WebRtcAudioCapturer> CreateAudioCapturer( |
int render_frame_id, |
const StreamDeviceInfo& device_info, |
const blink::WebMediaConstraints& constraints, |
MediaStreamAudioSource* audio_source); |
- // Adds the audio device as a sink to the audio track and starts the local |
- // audio track. This is virtual for test purposes since no real audio device |
- // exist in unit tests. |
- virtual void StartLocalAudioTrack(WebRtcLocalAudioTrack* audio_track); |
- |
private: |
// Implement base::MessageLoop::DestructionObserver. |
// This makes sure the libjingle PeerConnectionFactory is released before |