Chromium Code Reviews| Index: content/renderer/media/rtc_peer_connection_handler.h |
| diff --git a/content/renderer/media/rtc_peer_connection_handler.h b/content/renderer/media/rtc_peer_connection_handler.h |
| index 8e8af25fcfd40e043f9f4dc7bbbe5dc4f4dde89a..a2e1b2046ff58a862d66207488773b76a07e0abd 100644 |
| --- a/content/renderer/media/rtc_peer_connection_handler.h |
| +++ b/content/renderer/media/rtc_peer_connection_handler.h |
| @@ -225,8 +225,14 @@ class CONTENT_EXPORT RTCPeerConnectionHandler |
| base::ThreadChecker thread_checker_; |
| - // |client_| is a weak pointer, and is valid until stop() has returned. |
| + // |client_| is a weak pointer to the blink object (blink::RTCPeerConnection) |
| + // that owns this object. |
| + // It is valid for the lifetime of this object. |
| blink::WebRTCPeerConnectionHandlerClient* client_; |
| + // True if this PeerConnection has been closed. |
| + // After PeerConnection has been closed, this object may no longer forward |
|
tommi (sloooow) - chröme
2015/11/12 14:53:19
nit: After the PeerConnection has been ...
perkj_chrome
2015/11/12 15:48:38
Done.
|
| + // callbacks to blink. |
| + bool is_closed_; |
| // |dependency_factory_| is a raw pointer, and is valid for the lifetime of |
| // RenderThreadImpl. |