| Index: content/renderer/media/rtc_peer_connection_handler.cc
|
| diff --git a/content/renderer/media/rtc_peer_connection_handler.cc b/content/renderer/media/rtc_peer_connection_handler.cc
|
| index 3240a7a2fbe2e9e97bb3f0bade3ce22d159fb618..315cc7228f51808196608059868d0bbc0f60443a 100644
|
| --- a/content/renderer/media/rtc_peer_connection_handler.cc
|
| +++ b/content/renderer/media/rtc_peer_connection_handler.cc
|
| @@ -777,28 +777,30 @@ class PeerConnectionUMAObserver : public webrtc::UMAObserver {
|
| int counter_max) override {
|
| switch (counter_type) {
|
| case webrtc::kEnumCounterAddressFamily:
|
| - UMA_HISTOGRAM_ENUMERATION("WebRTC.PeerConnection.IPMetrics", counter,
|
| - counter_max);
|
| + UMA_HISTOGRAM_EXACT_LINEAR("WebRTC.PeerConnection.IPMetrics", counter,
|
| + counter_max);
|
| break;
|
| case webrtc::kEnumCounterIceCandidatePairTypeUdp:
|
| - UMA_HISTOGRAM_ENUMERATION("WebRTC.PeerConnection.CandidatePairType_UDP",
|
| - counter, counter_max);
|
| + UMA_HISTOGRAM_EXACT_LINEAR(
|
| + "WebRTC.PeerConnection.CandidatePairType_UDP", counter,
|
| + counter_max);
|
| break;
|
| case webrtc::kEnumCounterIceCandidatePairTypeTcp:
|
| - UMA_HISTOGRAM_ENUMERATION("WebRTC.PeerConnection.CandidatePairType_TCP",
|
| - counter, counter_max);
|
| + UMA_HISTOGRAM_EXACT_LINEAR(
|
| + "WebRTC.PeerConnection.CandidatePairType_TCP", counter,
|
| + counter_max);
|
| break;
|
| case webrtc::kEnumCounterDtlsHandshakeError:
|
| - UMA_HISTOGRAM_ENUMERATION("WebRTC.PeerConnection.DtlsHandshakeError",
|
| - counter, counter_max);
|
| + UMA_HISTOGRAM_EXACT_LINEAR("WebRTC.PeerConnection.DtlsHandshakeError",
|
| + counter, counter_max);
|
| break;
|
| case webrtc::kEnumCounterIceRestart:
|
| - UMA_HISTOGRAM_ENUMERATION("WebRTC.PeerConnection.IceRestartState",
|
| - counter, counter_max);
|
| + UMA_HISTOGRAM_EXACT_LINEAR("WebRTC.PeerConnection.IceRestartState",
|
| + counter, counter_max);
|
| break;
|
| case webrtc::kEnumCounterIceRegathering:
|
| - UMA_HISTOGRAM_ENUMERATION("WebRTC.PeerConnection.IceRegatheringReason",
|
| - counter, counter_max);
|
| + UMA_HISTOGRAM_EXACT_LINEAR("WebRTC.PeerConnection.IceRegatheringReason",
|
| + counter, counter_max);
|
| break;
|
| default:
|
| // The default clause is expected to reach when new enum types are
|
|
|