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

Unified Diff: tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate

Issue 2875773003: Roll 50: Updated for push to origin/master. (Closed)
Patch Set: Roll 50: Updated to latest Created 3 years, 7 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: tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate b/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate
index 9b8eea8517993ae9876604ba9a8ab8b716f27edf..39a6607fc86f7691e4eea7f68d5bb2c9fb17a218 100644
--- a/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate
+++ b/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate
@@ -62,5 +62,17 @@ $endif
_getStats((value) { completer.complete(value); }, selector);
return completer.future;
}
+
+ @DomName('RTCPeerConnection.generateCertificate')
+ @DocsEditable()
+ @Experimental() // untriaged
+ static Future generateCertificate(/*AlgorithmIdentifier*/ keygenAlgorithm) =>
+$if DART2JS
+ JS('dynamic', 'generateCertificate(#)', keygenAlgorithm);
+$else
+ convertNativePromiseToDartFuture(_blink.BlinkRTCPeerConnection.instance
+ .generateCertificate_Callback_1_(keygenAlgorithm));
+$endif
+
$!MEMBERS
}

Powered by Google App Engine
This is Rietveld 408576698