Index: content/renderer/media/mock_peer_connection_impl.cc |
=================================================================== |
--- content/renderer/media/mock_peer_connection_impl.cc (revision 181693) |
+++ content/renderer/media/mock_peer_connection_impl.cc (working copy) |
@@ -288,7 +288,8 @@ |
const MediaConstraintsInterface* constraints) { |
DCHECK(observer); |
created_sessiondescription_.reset( |
- dependency_factory_->CreateSessionDescription("unknown", kDummyOffer)); |
+ dependency_factory_->CreateSessionDescription("unknown", kDummyOffer, |
+ NULL)); |
} |
void MockPeerConnectionImpl::CreateAnswer( |
@@ -296,7 +297,8 @@ |
const MediaConstraintsInterface* constraints) { |
DCHECK(observer); |
created_sessiondescription_.reset( |
- dependency_factory_->CreateSessionDescription("unknown", kDummyAnswer)); |
+ dependency_factory_->CreateSessionDescription("unknown", kDummyAnswer, |
+ NULL)); |
} |
void MockPeerConnectionImpl::SetLocalDescriptionWorker( |
@@ -330,4 +332,16 @@ |
return ice_state_; |
} |
+PeerConnectionInterface::IceConnectionState |
+ MockPeerConnectionImpl::ice_connection_state() { |
+ NOTIMPLEMENTED(); |
+ return PeerConnectionInterface::kIceConnectionNew; |
+} |
+ |
+PeerConnectionInterface::IceGatheringState |
+ MockPeerConnectionImpl::ice_gathering_state() { |
+ NOTIMPLEMENTED(); |
+ return PeerConnectionInterface::kIceGatheringNew; |
+} |
+ |
} // namespace content |