Index: Source/WebCore/Modules/mediastream/RTCPeerConnection.h |
=================================================================== |
--- Source/WebCore/Modules/mediastream/RTCPeerConnection.h (revision 132836) |
+++ Source/WebCore/Modules/mediastream/RTCPeerConnection.h (working copy) |
@@ -42,6 +42,7 @@ |
#include "RTCIceCandidate.h" |
#include "RTCPeerConnectionHandler.h" |
#include "RTCPeerConnectionHandlerClient.h" |
+#include "Timer.h" |
#include <wtf/RefCounted.h> |
namespace WebCore { |
@@ -116,6 +117,8 @@ |
RTCPeerConnection(ScriptExecutionContext*, PassRefPtr<RTCConfiguration>, PassRefPtr<MediaConstraints>, ExceptionCode&); |
static PassRefPtr<RTCConfiguration> parseConfiguration(const Dictionary& configuration, ExceptionCode&); |
+ void scheduleDispatchEvent(PassRefPtr<Event>); |
+ void scheduledEventTimerFired(Timer<RTCPeerConnection>*); |
// EventTarget implementation. |
virtual EventTargetData* eventTargetData(); |
@@ -134,6 +137,9 @@ |
RefPtr<MediaStreamList> m_remoteStreams; |
OwnPtr<RTCPeerConnectionHandler> m_peerHandler; |
+ |
+ Timer<RTCPeerConnection> m_scheduledEventTimer; |
+ Vector<RefPtr<Event> > m_scheduledEvents; |
}; |
} // namespace WebCore |