| 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 726e4273f59d73a1b075aa4de76583c440cf039e..2ec575071c9a0fcb6b71ea73ffd1b55590ed02ec 100644
|
| --- a/content/renderer/media/mock_peer_connection_impl.cc
|
| +++ b/content/renderer/media/mock_peer_connection_impl.cc
|
| @@ -267,8 +267,13 @@ void MockPeerConnectionImpl::SetRemoteDescriptionWorker(
|
| }
|
|
|
| bool MockPeerConnectionImpl::SetConfiguration(
|
| - const RTCConfiguration& configuration) {
|
| - return true;
|
| + const RTCConfiguration& configuration,
|
| + webrtc::RTCError* error) {
|
| + if (setconfiguration_error_type_ == webrtc::RTCErrorType::NONE) {
|
| + return true;
|
| + }
|
| + error->set_type(setconfiguration_error_type_);
|
| + return false;
|
| }
|
|
|
| bool MockPeerConnectionImpl::AddIceCandidate(
|
|
|