Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: talk/app/webrtc/umametrics.h

Issue 1156143005: Report metrics about negotiated ciphers. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Feedback from tommi Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « talk/app/webrtc/peerconnectioninterface.h ('k') | talk/app/webrtc/webrtcsession.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « talk/app/webrtc/peerconnectioninterface.h ('k') | talk/app/webrtc/webrtcsession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698