| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2016 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 consent_requests_received(other.consent_requests_received), | 229 consent_requests_received(other.consent_requests_received), |
| 230 consent_requests_sent(other.consent_requests_sent), | 230 consent_requests_sent(other.consent_requests_sent), |
| 231 consent_responses_received(other.consent_responses_received), | 231 consent_responses_received(other.consent_responses_received), |
| 232 consent_responses_sent(other.consent_responses_sent) { | 232 consent_responses_sent(other.consent_responses_sent) { |
| 233 } | 233 } |
| 234 | 234 |
| 235 RTCIceCandidatePairStats::~RTCIceCandidatePairStats() { | 235 RTCIceCandidatePairStats::~RTCIceCandidatePairStats() { |
| 236 } | 236 } |
| 237 | 237 |
| 238 WEBRTC_RTCSTATS_IMPL(RTCIceCandidateStats, RTCStats, "ice-candidate", | 238 WEBRTC_RTCSTATS_IMPL(RTCIceCandidateStats, RTCStats, "ice-candidate", |
| 239 &transport_id, |
| 239 &is_remote, | 240 &is_remote, |
| 240 &ip, | 241 &ip, |
| 241 &port, | 242 &port, |
| 242 &protocol, | 243 &protocol, |
| 243 &candidate_type, | 244 &candidate_type, |
| 244 &priority, | 245 &priority, |
| 245 &url, | 246 &url, |
| 246 &deleted); | 247 &deleted); |
| 247 | 248 |
| 248 RTCIceCandidateStats::RTCIceCandidateStats( | 249 RTCIceCandidateStats::RTCIceCandidateStats( |
| 249 const std::string& id, int64_t timestamp_us, bool is_remote) | 250 const std::string& id, int64_t timestamp_us, bool is_remote) |
| 250 : RTCIceCandidateStats(std::string(id), timestamp_us, is_remote) { | 251 : RTCIceCandidateStats(std::string(id), timestamp_us, is_remote) { |
| 251 } | 252 } |
| 252 | 253 |
| 253 RTCIceCandidateStats::RTCIceCandidateStats( | 254 RTCIceCandidateStats::RTCIceCandidateStats( |
| 254 std::string&& id, int64_t timestamp_us, bool is_remote) | 255 std::string&& id, int64_t timestamp_us, bool is_remote) |
| 255 : RTCStats(std::move(id), timestamp_us), | 256 : RTCStats(std::move(id), timestamp_us), |
| 257 transport_id("transportId"), |
| 256 is_remote("isRemote", is_remote), | 258 is_remote("isRemote", is_remote), |
| 257 ip("ip"), | 259 ip("ip"), |
| 258 port("port"), | 260 port("port"), |
| 259 protocol("protocol"), | 261 protocol("protocol"), |
| 260 candidate_type("candidateType"), | 262 candidate_type("candidateType"), |
| 261 priority("priority"), | 263 priority("priority"), |
| 262 url("url"), | 264 url("url"), |
| 263 deleted("deleted", false) { | 265 deleted("deleted", false) { |
| 264 } | 266 } |
| 265 | 267 |
| 266 RTCIceCandidateStats::RTCIceCandidateStats(const RTCIceCandidateStats& other) | 268 RTCIceCandidateStats::RTCIceCandidateStats(const RTCIceCandidateStats& other) |
| 267 : RTCStats(other.id(), other.timestamp_us()), | 269 : RTCStats(other.id(), other.timestamp_us()), |
| 270 transport_id(other.transport_id), |
| 268 is_remote(other.is_remote), | 271 is_remote(other.is_remote), |
| 269 ip(other.ip), | 272 ip(other.ip), |
| 270 port(other.port), | 273 port(other.port), |
| 271 protocol(other.protocol), | 274 protocol(other.protocol), |
| 272 candidate_type(other.candidate_type), | 275 candidate_type(other.candidate_type), |
| 273 priority(other.priority), | 276 priority(other.priority), |
| 274 url(other.url), | 277 url(other.url), |
| 275 deleted(other.deleted) { | 278 deleted(other.deleted) { |
| 276 } | 279 } |
| 277 | 280 |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 active_connection(other.active_connection), | 635 active_connection(other.active_connection), |
| 633 selected_candidate_pair_id(other.selected_candidate_pair_id), | 636 selected_candidate_pair_id(other.selected_candidate_pair_id), |
| 634 local_certificate_id(other.local_certificate_id), | 637 local_certificate_id(other.local_certificate_id), |
| 635 remote_certificate_id(other.remote_certificate_id) { | 638 remote_certificate_id(other.remote_certificate_id) { |
| 636 } | 639 } |
| 637 | 640 |
| 638 RTCTransportStats::~RTCTransportStats() { | 641 RTCTransportStats::~RTCTransportStats() { |
| 639 } | 642 } |
| 640 | 643 |
| 641 } // namespace webrtc | 644 } // namespace webrtc |
| OLD | NEW |