| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 void LogProbeResultFailure(int id, | 181 void LogProbeResultFailure(int id, |
| 182 ProbeFailureReason failure_reason) override { | 182 ProbeFailureReason failure_reason) override { |
| 183 rtc::CritScope lock(&crit_); | 183 rtc::CritScope lock(&crit_); |
| 184 if (event_log_) { | 184 if (event_log_) { |
| 185 event_log_->LogProbeResultFailure(id, failure_reason); | 185 event_log_->LogProbeResultFailure(id, failure_reason); |
| 186 } | 186 } |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 void LogHostLookupResult(int error, | |
| 190 int64_t elapsed_time_in_milliseconds) override { | |
| 191 RTC_NOTREACHED(); | |
| 192 } | |
| 193 | |
| 194 void SetEventLog(RtcEventLog* event_log) { | 189 void SetEventLog(RtcEventLog* event_log) { |
| 195 rtc::CritScope lock(&crit_); | 190 rtc::CritScope lock(&crit_); |
| 196 event_log_ = event_log; | 191 event_log_ = event_log; |
| 197 } | 192 } |
| 198 | 193 |
| 199 private: | 194 private: |
| 200 rtc::CriticalSection crit_; | 195 rtc::CriticalSection crit_; |
| 201 RtcEventLog* event_log_ GUARDED_BY(crit_); | 196 RtcEventLog* event_log_ GUARDED_BY(crit_); |
| 202 RTC_DISALLOW_COPY_AND_ASSIGN(RtcEventLogProxy); | 197 RTC_DISALLOW_COPY_AND_ASSIGN(RtcEventLogProxy); |
| 203 }; | 198 }; |
| (...skipping 2966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3170 int64_t min_rtt = 0; | 3165 int64_t min_rtt = 0; |
| 3171 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != | 3166 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != |
| 3172 0) { | 3167 0) { |
| 3173 return 0; | 3168 return 0; |
| 3174 } | 3169 } |
| 3175 return rtt; | 3170 return rtt; |
| 3176 } | 3171 } |
| 3177 | 3172 |
| 3178 } // namespace voe | 3173 } // namespace voe |
| 3179 } // namespace webrtc | 3174 } // namespace webrtc |
| OLD | NEW |