Chromium Code Reviews| Index: content/renderer/media/rtc_data_channel_handler.cc |
| diff --git a/content/renderer/media/rtc_data_channel_handler.cc b/content/renderer/media/rtc_data_channel_handler.cc |
| index 9d2b56cba46d30c4379953d8cd1e5959f27f39a4..6db6c70a8aefabbf035a61597adb37fdd21a5a66 100644 |
| --- a/content/renderer/media/rtc_data_channel_handler.cc |
| +++ b/content/renderer/media/rtc_data_channel_handler.cc |
| @@ -4,6 +4,7 @@ |
| #include "content/renderer/media/rtc_data_channel_handler.h" |
| +#include <limits> |
| #include <string> |
| #include "base/logging.h" |
| @@ -45,6 +46,13 @@ RtcDataChannelHandler::RtcDataChannelHandler( |
| IncrementCounter(CHANNEL_ORDERED); |
| if (negotiated()) |
| IncrementCounter(CHANNEL_NEGOTIATED); |
| + |
| + UMA_HISTOGRAM_CUSTOM_COUNTS("WebRTC.DataChannelMaxRetransmits", |
| + maxRetransmits(), 1, |
|
jiayl
2014/05/07 16:25:07
min should be 0
perkj_chrome
2014/05/07 17:53:56
oops - I thought this was the size of each slot in
|
| + std::numeric_limits<unsigned short>::max(), 50); |
| + UMA_HISTOGRAM_CUSTOM_COUNTS("WebRTC.DataChannelMaxRetransmitTime", |
| + maxRetransmitTime(), 1, |
|
jiayl
2014/05/07 16:25:07
min should be 0
perkj_chrome
2014/05/07 17:53:56
Done.
|
| + std::numeric_limits<unsigned short>::max(), 50); |
| } |
| RtcDataChannelHandler::~RtcDataChannelHandler() { |