| Index: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h
|
| diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h
|
| index 8bdce5b05a5946fd3c72dd6bd10d453f5543b610..5ea30aff8683286a783cb0b8be1456cf51986993 100644
|
| --- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h
|
| +++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h
|
| @@ -31,6 +31,7 @@
|
| #ifndef RTCPeerConnection_h
|
| #define RTCPeerConnection_h
|
|
|
| +#include <memory>
|
| #include "bindings/core/v8/ActiveScriptWrappable.h"
|
| #include "bindings/core/v8/ScriptPromise.h"
|
| #include "core/dom/SuspendableObject.h"
|
| @@ -39,10 +40,10 @@
|
| #include "modules/mediastream/MediaStream.h"
|
| #include "modules/peerconnection/RTCIceCandidate.h"
|
| #include "platform/AsyncMethodRunner.h"
|
| +#include "platform/WebFrameScheduler.h"
|
| #include "public/platform/WebMediaConstraints.h"
|
| #include "public/platform/WebRTCPeerConnectionHandler.h"
|
| #include "public/platform/WebRTCPeerConnectionHandlerClient.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
| class ExceptionState;
|
| @@ -253,6 +254,11 @@ class RTCPeerConnection final : public EventTargetWithInlineData,
|
| Member<AsyncMethodRunner<RTCPeerConnection>> m_dispatchScheduledEventRunner;
|
| HeapVector<Member<EventWrapper>> m_scheduledEvents;
|
|
|
| + // This handle notifies scheduler about an active connection associated
|
| + // with a frame. Handle should be destroyed when connection is closed.
|
| + std::unique_ptr<WebFrameScheduler::ActiveConnectionHandle>
|
| + m_connectionHandleForScheduler;
|
| +
|
| bool m_stopped;
|
| bool m_closed;
|
|
|
|
|