OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2014 Google Inc. | 3 * Copyright 2014 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // TODO(guoweis): Keep previous name here until all references are renamed. | 58 // TODO(guoweis): Keep previous name here until all references are renamed. |
59 typedef PeerConnectionMetricsCounter PeerConnectionUMAMetricsCounter; | 59 typedef PeerConnectionMetricsCounter PeerConnectionUMAMetricsCounter; |
60 | 60 |
61 // This enum defines types for UMA samples, which will have a range. | 61 // This enum defines types for UMA samples, which will have a range. |
62 enum PeerConnectionMetricsName { | 62 enum PeerConnectionMetricsName { |
63 kNetworkInterfaces_IPv4, // Number of IPv4 interfaces. | 63 kNetworkInterfaces_IPv4, // Number of IPv4 interfaces. |
64 kNetworkInterfaces_IPv6, // Number of IPv6 interfaces. | 64 kNetworkInterfaces_IPv6, // Number of IPv6 interfaces. |
65 kTimeToConnect, // In milliseconds. | 65 kTimeToConnect, // In milliseconds. |
66 kLocalCandidates_IPv4, // Number of IPv4 local candidates. | 66 kLocalCandidates_IPv4, // Number of IPv4 local candidates. |
67 kLocalCandidates_IPv6, // Number of IPv6 local candidates. | 67 kLocalCandidates_IPv6, // Number of IPv6 local candidates. |
| 68 kAudioSrtpCipher, // Name of SRTP cipher used in audio channel. |
| 69 kAudioSslCipher, // Name of SSL cipher used in audio channel. |
| 70 kVideoSrtpCipher, // Name of SRTP cipher used in video channel. |
| 71 kVideoSslCipher, // Name of SSL cipher used in video channel. |
| 72 kDataSrtpCipher, // Name of SRTP cipher used in data channel. |
| 73 kDataSslCipher, // Name of SSL cipher used in data channel. |
68 kPeerConnectionMetricsName_Max | 74 kPeerConnectionMetricsName_Max |
69 }; | 75 }; |
70 | 76 |
71 // TODO(guoweis): Keep previous name here until all references are renamed. | 77 // TODO(guoweis): Keep previous name here until all references are renamed. |
72 typedef PeerConnectionMetricsName PeerConnectionUMAMetricsName; | 78 typedef PeerConnectionMetricsName PeerConnectionUMAMetricsName; |
73 | 79 |
74 } // namespace webrtc | 80 } // namespace webrtc |
75 | 81 |
76 #endif // TALK_APP_WEBRTC_UMA6METRICS_H_ | 82 #endif // TALK_APP_WEBRTC_UMA6METRICS_H_ |
OLD | NEW |