| Index: content/renderer/media/mock_peer_connection_impl.h
|
| diff --git a/content/renderer/media/mock_peer_connection_impl.h b/content/renderer/media/mock_peer_connection_impl.h
|
| index 835228874e61eb4a17a3198c74fc30a3efd6ab78..629144689e7d66917394d7cc703c6dd927e20c0a 100644
|
| --- a/content/renderer/media/mock_peer_connection_impl.h
|
| +++ b/content/renderer/media/mock_peer_connection_impl.h
|
| @@ -102,7 +102,8 @@ class MockPeerConnectionImpl : public webrtc::PeerConnectionInterface {
|
| void SetRemoteDescriptionWorker(
|
| webrtc::SetSessionDescriptionObserver* observer,
|
| webrtc::SessionDescriptionInterface* desc);
|
| - bool SetConfiguration(const RTCConfiguration& configuration) override;
|
| + bool SetConfiguration(const RTCConfiguration& configuration,
|
| + webrtc::RTCError* error) override;
|
| bool AddIceCandidate(const webrtc::IceCandidateInterface* candidate) override;
|
| void RegisterUMAObserver(webrtc::UMAObserver* observer) override;
|
|
|
| @@ -121,6 +122,9 @@ class MockPeerConnectionImpl : public webrtc::PeerConnectionInterface {
|
| webrtc::PeerConnectionObserver* observer() {
|
| return observer_;
|
| }
|
| + void set_setconfiguration_error_type(webrtc::RTCErrorType error_type) {
|
| + setconfiguration_error_type_ = error_type;
|
| + }
|
| static const char kDummyOffer[];
|
| static const char kDummyAnswer[];
|
|
|
| @@ -146,6 +150,8 @@ class MockPeerConnectionImpl : public webrtc::PeerConnectionInterface {
|
| int sdp_mline_index_;
|
| std::string ice_sdp_;
|
| webrtc::PeerConnectionObserver* observer_;
|
| + webrtc::RTCErrorType setconfiguration_error_type_ =
|
| + webrtc::RTCErrorType::NONE;
|
| rtc::scoped_refptr<webrtc::RTCStatsReport> stats_report_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl);
|
|
|