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

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: 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/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 8d994335c3077075fa4ba43d867e75e97e9794bf..0d5dcd20ff5ce662f581c9caca1b17400e1e450d 100644
--- a/content/renderer/media/mock_media_stream_dependency_factory.h
+++ b/content/renderer/media/mock_media_stream_dependency_factory.h
@@ -84,6 +84,10 @@ class MockMediaStreamDependencyFactory : public MediaStreamDependencyFactory {
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>
@@ -96,6 +100,9 @@ class MockMediaStreamDependencyFactory : public MediaStreamDependencyFactory {
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;
wjia(left Chromium) 2012/08/12 17:06:52 indent.
perkj_chrome 2012/08/13 07:35:46 Done.
virtual webrtc::IceCandidateInterface* CreateIceCandidate(
const std::string& sdp_mid,
int sdp_mline_index,

Powered by Google App Engine
This is Rietveld 408576698