Chromium Code Reviews| Index: content/shell/test_runner/mock_webrtc_peer_connection_handler.cc |
| diff --git a/content/shell/test_runner/mock_webrtc_peer_connection_handler.cc b/content/shell/test_runner/mock_webrtc_peer_connection_handler.cc |
| index c2f4f10083d981d1e2a55331264052a247b6bd3a..c37241011524292bf672a90285e980538f39ae3c 100644 |
| --- a/content/shell/test_runner/mock_webrtc_peer_connection_handler.cc |
| +++ b/content/shell/test_runner/mock_webrtc_peer_connection_handler.cc |
| @@ -20,6 +20,7 @@ |
| #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
| #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
| #include "third_party/WebKit/public/platform/WebRTCAnswerOptions.h" |
| +#include "third_party/WebKit/public/platform/WebRTCConfiguration.h" |
| #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" |
| #include "third_party/WebKit/public/platform/WebRTCOfferOptions.h" |
| #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandlerClient.h" |
| @@ -442,6 +443,11 @@ WebRTCErrorType MockWebRTCPeerConnectionHandler::setConfiguration( |
| return WebRTCErrorType::kNone; |
| } |
| +blink::WebRTCConfiguration MockWebRTCPeerConnectionHandler::getConfiguration() { |
| + blink::WebRTCConfiguration blink_config; |
| + return blink_config; |
|
dcheng
2017/03/09 21:36:54
Nit: return blink::WebRTCConfiguration()
zhihuang1
2017/03/10 03:20:43
Done.
|
| +} |
| + |
| bool MockWebRTCPeerConnectionHandler::addICECandidate( |
| const WebRTCICECandidate& ice_candidate) { |
| client_->didGenerateICECandidate(ice_candidate); |