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

Unified Diff: content/renderer/media/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: Added unit test and mock. Removed old bad mock. Created 8 years, 4 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/media_stream_dependency_factory.h
diff --git a/content/renderer/media/media_stream_dependency_factory.h b/content/renderer/media/media_stream_dependency_factory.h
index 05aac0cbb6bf3f1dc9e9d41c72aaad732ed5592e..01873aa4579ef88abfff7d9dc02a333e0f18310c 100644
--- a/content/renderer/media/media_stream_dependency_factory.h
+++ b/content/renderer/media/media_stream_dependency_factory.h
@@ -58,6 +58,10 @@ class CONTENT_EXPORT MediaStreamDependencyFactory {
virtual talk_base::scoped_refptr<webrtc::PeerConnectionInterface>
CreatePeerConnection(const std::string& config,
webrtc::PeerConnectionObserver* observer);
+ virtual talk_base::scoped_refptr<webrtc::PeerConnectionInterface>
+ CreatePeerConnection(const webrtc::JsepInterface::IceServers& ice_servers,
+ const webrtc::MediaConstraintsInterface* constraints,
+ webrtc::PeerConnectionObserver* observer);
// Asks the PeerConnection factory to create a Local MediaStream object.
virtual talk_base::scoped_refptr<webrtc::LocalMediaStreamInterface>
@@ -75,6 +79,9 @@ class CONTENT_EXPORT MediaStreamDependencyFactory {
virtual webrtc::SessionDescriptionInterface* CreateSessionDescription(
const std::string& sdp);
+ virtual webrtc::SessionDescriptionInterface* CreateSessionDescription(
+ const std::string& type,
+ const std::string& sdp);
virtual webrtc::IceCandidateInterface* CreateIceCandidate(
const std::string& sdp_mid,
int sdp_mline_index,

Powered by Google App Engine
This is Rietveld 408576698