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

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

Issue 396193005: Converts RTCOfferOptions to constriants in the glue code for createOffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix sync Created 6 years, 5 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/renderer/test_runner/mock_webrtc_peer_connection_handler.cc
diff --git a/content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler.cc b/content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler.cc
index dca2f30924d20fdb0797d32e03bb518ef98b36d4..1a610dc9731c078062a449946b08d7c6e38a09e9 100644
--- a/content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler.cc
+++ b/content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler.cc
@@ -187,6 +187,13 @@ void MockWebRTCPeerConnectionHandler::createOffer(
new RTCSessionDescriptionRequestFailedTask(this, request));
}
+void MockWebRTCPeerConnectionHandler::createOffer(
+ const WebRTCSessionDescriptionRequest& request,
+ const blink::WebRTCOfferOptions& options) {
+ interfaces_->delegate()->postTask(
+ new RTCSessionDescriptionRequestFailedTask(this, request));
+}
+
void MockWebRTCPeerConnectionHandler::createAnswer(
const WebRTCSessionDescriptionRequest& request,
const WebMediaConstraints& constraints) {

Powered by Google App Engine
This is Rietveld 408576698