Index: Source/modules/mediastream/RTCPeerConnection.h |
diff --git a/Source/modules/mediastream/RTCPeerConnection.h b/Source/modules/mediastream/RTCPeerConnection.h |
index ba53a6b985763e8f370a641c31af1407bd49239b..8975e507ae868dd64868872d95d50c639e725723 100644 |
--- a/Source/modules/mediastream/RTCPeerConnection.h |
+++ b/Source/modules/mediastream/RTCPeerConnection.h |
@@ -32,9 +32,11 @@ |
#define RTCPeerConnection_h |
#include "bindings/core/v8/Dictionary.h" |
+#include "bindings/core/v8/ScriptPromise.h" |
#include "core/dom/ActiveDOMObject.h" |
#include "modules/EventTargetModules.h" |
#include "modules/mediastream/MediaStream.h" |
+#include "modules/mediastream/RTCCertificate.h" |
#include "modules/mediastream/RTCIceCandidate.h" |
#include "platform/AsyncMethodRunner.h" |
#include "public/platform/WebMediaConstraints.h" |
@@ -80,6 +82,8 @@ public: |
void updateIce(const Dictionary& rtcConfiguration, const Dictionary& mediaConstraints, ExceptionState&); |
+ static ScriptPromise generateCertificate(ScriptState*, const Dictionary& keygenAlgorithm, ExceptionState&); |
+ |
// DEPRECATED |
void addIceCandidate(RTCIceCandidate*, ExceptionState&); |