| Index: third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h
|
| diff --git a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h
|
| index 06a9e7878d3ebece1ec0bdffc7bed1e933934cae..4845b6dc535680c81c5e3a8eebce60cc4228647a 100644
|
| --- a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h
|
| +++ b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h
|
| @@ -49,9 +49,9 @@ class MediaStreamTrack;
|
| class RTCConfiguration;
|
| class RTCDTMFSender;
|
| class RTCDataChannel;
|
| -class RTCErrorCallback;
|
| class RTCIceCandidateInitOrRTCIceCandidate;
|
| class RTCOfferOptions;
|
| +class RTCPeerConnectionErrorCallback;
|
| class RTCSessionDescription;
|
| class RTCSessionDescriptionCallback;
|
| class RTCSessionDescriptionInit;
|
| @@ -71,16 +71,15 @@ public:
|
| static RTCPeerConnection* create(ExecutionContext*, const Dictionary&, const Dictionary&, ExceptionState&);
|
| ~RTCPeerConnection() override;
|
|
|
| - void createOffer(ExecutionContext*, RTCSessionDescriptionCallback*, RTCErrorCallback*, const Dictionary&, ExceptionState&);
|
| -
|
| - void createAnswer(ExecutionContext*, RTCSessionDescriptionCallback*, RTCErrorCallback*, const Dictionary&, ExceptionState&);
|
| + void createOffer(ExecutionContext*, RTCSessionDescriptionCallback*, RTCPeerConnectionErrorCallback*, const Dictionary&, ExceptionState&);
|
| + void createAnswer(ExecutionContext*, RTCSessionDescriptionCallback*, RTCPeerConnectionErrorCallback*, const Dictionary&, ExceptionState&);
|
|
|
| ScriptPromise setLocalDescription(ScriptState*, const RTCSessionDescriptionInit&);
|
| - ScriptPromise setLocalDescription(ScriptState*, RTCSessionDescription*, VoidCallback*, RTCErrorCallback*);
|
| + ScriptPromise setLocalDescription(ScriptState*, RTCSessionDescription*, VoidCallback*, RTCPeerConnectionErrorCallback*);
|
| RTCSessionDescription* localDescription();
|
|
|
| ScriptPromise setRemoteDescription(ScriptState*, const RTCSessionDescriptionInit&);
|
| - ScriptPromise setRemoteDescription(ScriptState*, RTCSessionDescription*, VoidCallback*, RTCErrorCallback*);
|
| + ScriptPromise setRemoteDescription(ScriptState*, RTCSessionDescription*, VoidCallback*, RTCPeerConnectionErrorCallback*);
|
| RTCSessionDescription* remoteDescription();
|
|
|
| String signalingState() const;
|
| @@ -92,7 +91,7 @@ public:
|
| static ScriptPromise generateCertificate(ScriptState*, const AlgorithmIdentifier& keygenAlgorithm, ExceptionState&);
|
|
|
| ScriptPromise addIceCandidate(ScriptState*, const RTCIceCandidateInitOrRTCIceCandidate&);
|
| - ScriptPromise addIceCandidate(ScriptState*, RTCIceCandidate*, VoidCallback*, RTCErrorCallback*);
|
| + ScriptPromise addIceCandidate(ScriptState*, RTCIceCandidate*, VoidCallback*, RTCPeerConnectionErrorCallback*);
|
|
|
| String iceGatheringState() const;
|
|
|
|
|