Bug 1342523 - Part 3: Remove old Telemetry probes. r=drno

MozReview-Commit-ID: CkwIMn9Y6sJ

--HG--
extra : rebase_source : 9a6eb6f9d720392de352c6df8c68a17b40dade40
This commit is contained in:
Byron Campen [:bwc] 2017-02-24 15:07:08 -06:00
Родитель 3be4ec69b5
Коммит 408ae2fda0
1 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -3288,19 +3288,6 @@ void PeerConnectionImpl::IceConnectionStateChange(
}
if (!isDone(mIceConnectionState) && isDone(domState)) {
// mIceStartTime can be null if going directly from New to Closed, in which
// case we don't count it as a success or a failure.
if (!mIceStartTime.IsNull()){
TimeDuration timeDelta = TimeStamp::Now() - mIceStartTime;
if (isSucceeded(domState)) {
Telemetry::Accumulate(Telemetry::WEBRTC_ICE_SUCCESS_TIME,
timeDelta.ToMilliseconds());
} else if (isFailed(domState)) {
Telemetry::Accumulate(Telemetry::WEBRTC_ICE_FAILURE_TIME,
timeDelta.ToMilliseconds());
}
}
if (isSucceeded(domState)) {
Telemetry::Accumulate(
Telemetry::WEBRTC_ICE_ADD_CANDIDATE_ERRORS_GIVEN_SUCCESS,