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

Unified Diff: content/renderer/media/webrtc/mock_peer_connection_dependency_factory.h

Issue 1721273002: MediaStream audio object graph untangling and clean-ups. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/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 60dec668d8e4967716ffb43220715a5404c3b60a..1e28f5dc0d425173b9d8970c4588a416eb25b393 100644
--- a/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.h
+++ b/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.h
@@ -189,7 +189,7 @@ class MockPeerConnectionDependencyFactory
scoped_refptr<webrtc::VideoSourceInterface> CreateVideoSource(
cricket::VideoCapturer* capturer,
const blink::WebMediaConstraints& constraints) override;
- scoped_refptr<WebAudioCapturerSource> CreateWebAudioSource(
+ scoped_ptr<WebAudioCapturerSource> CreateWebAudioSource(
blink::WebMediaStreamSource* source) override;
scoped_refptr<webrtc::MediaStreamInterface> CreateLocalMediaStream(
const std::string& label) override;
@@ -208,7 +208,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,
@@ -217,8 +217,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(); }

Powered by Google App Engine
This is Rietveld 408576698