Index: third_party/WebKit/Source/modules/mediastream/RTCVoidRequestImpl.h |
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCVoidRequestImpl.h b/third_party/WebKit/Source/modules/mediastream/RTCVoidRequestImpl.h |
index 7388eca4f0f6aacf62f9ccbb00ab4be7b0a5b691..22e56e2b4630d52d5af6e2c8b6452ff4b5750d0e 100644 |
--- a/third_party/WebKit/Source/modules/mediastream/RTCVoidRequestImpl.h |
+++ b/third_party/WebKit/Source/modules/mediastream/RTCVoidRequestImpl.h |
@@ -32,19 +32,20 @@ |
#define RTCVoidRequestImpl_h |
#include "core/dom/ActiveDOMObject.h" |
+#include "core/dom/ExceptionCode.h" |
#include "platform/heap/Handle.h" |
#include "platform/mediastream/RTCVoidRequest.h" |
namespace blink { |
-class RTCErrorCallback; |
class RTCPeerConnection; |
+class RTCPeerConnectionErrorCallback; |
class VoidCallback; |
class RTCVoidRequestImpl final : public RTCVoidRequest, public ActiveDOMObject { |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(RTCVoidRequestImpl); |
public: |
- static RTCVoidRequestImpl* create(ExecutionContext*, RTCPeerConnection*, VoidCallback*, RTCErrorCallback*); |
+ static RTCVoidRequestImpl* create(ExecutionContext*, RTCPeerConnection*, VoidCallback*, RTCPeerConnectionErrorCallback*); |
~RTCVoidRequestImpl() override; |
// RTCVoidRequest |
@@ -57,12 +58,12 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
private: |
- RTCVoidRequestImpl(ExecutionContext*, RTCPeerConnection*, VoidCallback*, RTCErrorCallback*); |
+ RTCVoidRequestImpl(ExecutionContext*, RTCPeerConnection*, VoidCallback*, RTCPeerConnectionErrorCallback*); |
void clear(); |
Member<VoidCallback> m_successCallback; |
- Member<RTCErrorCallback> m_errorCallback; |
+ Member<RTCPeerConnectionErrorCallback> m_errorCallback; |
Member<RTCPeerConnection> m_requester; |
}; |