Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / content / renderer / media / rtc_peer_connection_handler.h
index ec5f775..81be1ac 100644 (file)
@@ -185,6 +185,9 @@ class CONTENT_EXPORT RTCPeerConnectionHandler
                 webrtc::MediaStreamTrackInterface* track,
                 webrtc::PeerConnectionInterface::StatsOutputLevel level);
 
+  // Tells the |client_| to close RTCPeerConnection.
+  void CloseClientPeerConnection();
+
   PeerConnectionTracker* peer_connection_tracker();
 
  protected:
@@ -215,6 +218,10 @@ class CONTENT_EXPORT RTCPeerConnectionHandler
   // Counter for a UMA stat reported at destruction time.
   int num_data_channels_created_;
 
+  // Counter for number of IPv4 and IPv6 local candidates.
+  int num_local_candidates_ipv4_;
+  int num_local_candidates_ipv6_;
+
   // |native_peer_connection_| is the libjingle native PeerConnection object.
   scoped_refptr<webrtc::PeerConnectionInterface> native_peer_connection_;