| Index: webrtc/p2p/base/port.h
|
| diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h
|
| index 704fbb7a65416d42fab37cd8858a43fcdcc0292d..159dea5bf6e9ec7da30e981c28a1a667e39e1e70 100644
|
| --- a/webrtc/p2p/base/port.h
|
| +++ b/webrtc/p2p/base/port.h
|
| @@ -462,14 +462,8 @@ class Connection : public CandidatePairInterface,
|
| // Estimate of the round-trip time over this connection.
|
| int rtt() const { return rtt_; }
|
|
|
| - size_t sent_total_bytes();
|
| - size_t sent_bytes_second();
|
| - // Used to track how many packets are discarded in the application socket due
|
| - // to errors.
|
| - size_t sent_discarded_packets();
|
| - size_t sent_total_packets();
|
| - size_t recv_total_bytes();
|
| - size_t recv_bytes_second();
|
| + ConnectionInfo stats();
|
| +
|
| sigslot::signal1<Connection*> SignalStateChange;
|
|
|
| // Sent when the connection has decided that it is no longer of value. It
|
| @@ -638,8 +632,8 @@ class Connection : public CandidatePairInterface,
|
|
|
| rtc::RateTracker recv_rate_tracker_;
|
| rtc::RateTracker send_rate_tracker_;
|
| - uint32_t sent_packets_discarded_;
|
| - uint32_t sent_packets_total_;
|
| +
|
| + ConnectionInfo stats_;
|
|
|
| private:
|
| void MaybeAddPrflxCandidate(ConnectionRequest* request,
|
|
|