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

Unified Diff: content/renderer/media/mock_media_stream_dependency_factory.h

Issue 10703095: New PeerConnection handler in Chrome to support latest PeerConnection draft (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed broken unittes. Created 8 years, 3 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/mock_media_stream_dependency_factory.h
diff --git a/content/renderer/media/mock_media_stream_dependency_factory.h b/content/renderer/media/mock_media_stream_dependency_factory.h
index 39d0a34f2cb6120089b85331e5107bb613aa8166..bcf2970d7d481d28a88230f2001f62abc772e25f 100644
--- a/content/renderer/media/mock_media_stream_dependency_factory.h
+++ b/content/renderer/media/mock_media_stream_dependency_factory.h
@@ -74,20 +74,24 @@ class MockMediaStreamDependencyFactory : public MediaStreamDependencyFactory {
virtual ~MockMediaStreamDependencyFactory();
virtual talk_base::scoped_refptr<webrtc::PeerConnectionInterface>
- CreatePeerConnection(
- const std::string& config,
- webrtc::PeerConnectionObserver* observer) OVERRIDE;
+ CreatePeerConnection(const std::string& config,
+ webrtc::PeerConnectionObserver* observer) OVERRIDE;
+ virtual talk_base::scoped_refptr<webrtc::PeerConnectionInterface>
+ CreatePeerConnection(const webrtc::JsepInterface::IceServers& ice_servers,
+ const webrtc::MediaConstraintsInterface* constraints,
+ webrtc::PeerConnectionObserver* observer) OVERRIDE;
virtual talk_base::scoped_refptr<webrtc::LocalMediaStreamInterface>
CreateLocalMediaStream(const std::string& label) OVERRIDE;
virtual talk_base::scoped_refptr<webrtc::LocalVideoTrackInterface>
- CreateLocalVideoTrack(
- const std::string& label,
- int video_session_id) OVERRIDE;
+ CreateLocalVideoTrack(const std::string& label,
+ int video_session_id) OVERRIDE;
virtual talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface>
- CreateLocalAudioTrack(
- const std::string& label,
- webrtc::AudioDeviceModule* audio_device) OVERRIDE;
+ CreateLocalAudioTrack(const std::string& label,
+ webrtc::AudioDeviceModule* audio_device) OVERRIDE;
+ virtual webrtc::SessionDescriptionInterface* CreateSessionDescription(
+ const std::string& sdp) OVERRIDE;
virtual webrtc::SessionDescriptionInterface* CreateSessionDescription(
+ const std::string& type,
const std::string& sdp) OVERRIDE;
virtual webrtc::IceCandidateInterface* CreateIceCandidate(
const std::string& sdp_mid,

Powered by Google App Engine
This is Rietveld 408576698