Index: webrtc/p2p/base/port.h |
diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h |
index 06efd2d3c235c4e976fda6f610c187741ac7542f..35fd6fd58fa3eda8010ae643515b7134f954269b 100644 |
--- a/webrtc/p2p/base/port.h |
+++ b/webrtc/p2p/base/port.h |
@@ -585,6 +585,10 @@ class Connection : public CandidatePairInterface, |
// response in milliseconds |
int64_t last_received() const; |
+ std::vector<SentPing> pings_since_last_response() const { |
+ return pings_since_last_response_; |
+ } |
+ |
protected: |
enum { MSG_DELETE = 0, MSG_FIRST_AVAILABLE }; |