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

Unified Diff: third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl

Issue 1373023002: RTCCertificate, RTCPeerConnection.generateCertificate (WebRTC JavaScript) added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make trybots compile (WebRTCCertificate not including wtf/Noncopyable) Created 5 years, 2 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: third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl
index fa5494606e720f8f19b2043bc0492e96f623dd77..3f6d720bd221151920dab45bb1378bc02e5964ab 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl
+++ b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl
@@ -48,8 +48,12 @@
readonly attribute DOMString signalingState;
+ // FIXME: Latest WebRTC specifications renames this to setConfiguration
[RaisesException] void updateIce(optional Dictionary configuration, optional Dictionary mediaConstraints);
+ // TODO(hbos): Use AlgorithmIdentifier and the WebCryptoAPI normalization process.
philipj_slow 2015/10/08 08:32:31 Are there any difficulties in just using the exist
hbos_chromium 2015/10/14 13:00:50 Yes, I can't readily depend on the WebCrypto code
philipj_slow 2015/10/16 13:32:31 Acknowledged.
+ [RuntimeEnabled=RTCCertificate, RaisesException, CallWith=ScriptState] static Promise<RTCCertificate> generateCertificate(Dictionary keygenAlgorithm);
philipj_slow 2015/10/08 08:32:31 Since this is in a partial interface in the spec,
hbos_chromium 2015/10/14 13:00:50 Done.
+
// DEPRECATED
[RaisesException] void addIceCandidate(RTCIceCandidate candidate);

Powered by Google App Engine
This is Rietveld 408576698