| Index: content/renderer/media/mock_peer_connection_impl.cc
|
| diff --git a/content/renderer/media/mock_peer_connection_impl.cc b/content/renderer/media/mock_peer_connection_impl.cc
|
| index cc8f0bb93f3c7462c8f59c5002b346d9b3cfc4b0..759147b67df5974d14cf64b857ac235d532503a1 100644
|
| --- a/content/renderer/media/mock_peer_connection_impl.cc
|
| +++ b/content/renderer/media/mock_peer_connection_impl.cc
|
| @@ -18,7 +18,6 @@ using webrtc::CreateSessionDescriptionObserver;
|
| using webrtc::DtmfSenderInterface;
|
| using webrtc::DtmfSenderObserverInterface;
|
| using webrtc::IceCandidateInterface;
|
| -using webrtc::MediaConstraintsInterface;
|
| using webrtc::MediaStreamInterface;
|
| using webrtc::PeerConnectionInterface;
|
| using webrtc::SessionDescriptionInterface;
|
| @@ -226,7 +225,7 @@ void MockPeerConnectionImpl::AddRemoteStream(MediaStreamInterface* stream) {
|
|
|
| void MockPeerConnectionImpl::CreateOffer(
|
| CreateSessionDescriptionObserver* observer,
|
| - const MediaConstraintsInterface* constraints) {
|
| + const RTCOfferAnswerOptions& options) {
|
| DCHECK(observer);
|
| created_sessiondescription_.reset(
|
| dependency_factory_->CreateSessionDescription("unknown", kDummyOffer,
|
| @@ -235,7 +234,7 @@ void MockPeerConnectionImpl::CreateOffer(
|
|
|
| void MockPeerConnectionImpl::CreateAnswer(
|
| CreateSessionDescriptionObserver* observer,
|
| - const MediaConstraintsInterface* constraints) {
|
| + const RTCOfferAnswerOptions& options) {
|
| DCHECK(observer);
|
| created_sessiondescription_.reset(
|
| dependency_factory_->CreateSessionDescription("unknown", kDummyAnswer,
|
| @@ -256,9 +255,7 @@ void MockPeerConnectionImpl::SetRemoteDescriptionWorker(
|
| remote_desc_.reset(desc);
|
| }
|
|
|
| -bool MockPeerConnectionImpl::UpdateIce(
|
| - const IceServers& configuration,
|
| - const MediaConstraintsInterface* constraints) {
|
| +bool MockPeerConnectionImpl::UpdateIce(const IceServers& configuration) {
|
| return true;
|
| }
|
|
|
|
|