Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1494)

Unified Diff: content/shell/test_runner/mock_webrtc_peer_connection_handler.cc

Issue 2706563003: Create the API that returns the RTCConfiguration of the PeerConnection.
Patch Set: rebaselining again Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698