Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1245)

Unified Diff: Source/modules/mediastream/RTCPeerConnection.h

Issue 472163002: Add method to notify blink when PeerConnection is closed in Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: . Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/mediastream/RTCPeerConnection.h
diff --git a/Source/modules/mediastream/RTCPeerConnection.h b/Source/modules/mediastream/RTCPeerConnection.h
index 0a0b686383ec475490ff960b8af150238de04cbd..5c1bb0cc9331c5179573562892ab8963549bd38d 100644
--- a/Source/modules/mediastream/RTCPeerConnection.h
+++ b/Source/modules/mediastream/RTCPeerConnection.h
@@ -129,6 +129,7 @@ public:
virtual void didRemoveRemoteStream(const blink::WebMediaStream&) OVERRIDE;
virtual void didAddRemoteDataChannel(blink::WebRTCDataChannelHandler*) OVERRIDE;
virtual void releasePeerConnectionHandler() OVERRIDE;
+ virtual void closePeerConnection() OVERRIDE;
// EventTarget
virtual const AtomicString& interfaceName() const OVERRIDE;
@@ -160,6 +161,8 @@ private:
void changeIceGatheringState(blink::WebRTCPeerConnectionHandlerClient::ICEGatheringState);
void changeIceConnectionState(blink::WebRTCPeerConnectionHandlerClient::ICEConnectionState);
+ void doClose();
+
SignalingState m_signalingState;
ICEGatheringState m_iceGatheringState;
ICEConnectionState m_iceConnectionState;
« no previous file with comments | « no previous file | Source/modules/mediastream/RTCPeerConnection.cpp » ('j') | Source/modules/mediastream/RTCPeerConnection.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698