Chromium Code Reviews| Index: webrtc/api/statstypes.cc |
| diff --git a/webrtc/api/statstypes.cc b/webrtc/api/statstypes.cc |
| index 61af82467a7595b2ff255726bd2d53a334839fa5..bde7dcb24ebb739073dd3262862483f12f96ff59 100644 |
| --- a/webrtc/api/statstypes.cc |
| +++ b/webrtc/api/statstypes.cc |
| @@ -414,6 +414,18 @@ const char* StatsReport::Value::display_name() const { |
| return "googBucketDelay"; |
| case kStatsValueNameBandwidthLimitedResolution: |
| return "googBandwidthLimitedResolution"; |
| + // STUN ping related attributes. |
| + // TODO(zhihuang) Rename these stats to follow the standards. |
| + case kStatsValueNameSentPingRequestsTotal: |
| + return "consentRequestsSent"; |
|
pthatcher1
2016/05/27 21:27:15
I think it's more likely this will end up "request
zhihuang1
2016/06/01 21:30:05
Then I will keep the TODO part.
|
| + case kStatsValueNameSentPingRequestsBeforeFirstResponse: |
| + return "consentRequestsSentBeforeFirstResponse"; |
|
pthatcher1
2016/05/27 21:27:15
And this might be "consentRequestsSent".
|
| + case kStatsValueNameSentPingResponses: |
| + return "consentResponsesSent"; |
| + case kStatsValueNameRecvPingRequests: |
| + return "consentRequestsReceived"; |
| + case kStatsValueNameRecvPingResponses: |
| + return "consentResponsesReceived"; |
| // Candidate related attributes. Values are taken from |
| // http://w3c.github.io/webrtc-stats/#rtcstatstype-enum*. |