summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-03 21:49:00 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-03 21:49:00 +0000
commitb1fa235f89f443ca06c36727257323227be979b0 (patch)
treea2c49a48306435a784fbf3df602299d4f9d9cc23 /net
parentbde09081c382696d8b6ab619e68f0f59055ac3de (diff)
downloadchromium_src-b1fa235f89f443ca06c36727257323227be979b0.zip
chromium_src-b1fa235f89f443ca06c36727257323227be979b0.tar.gz
chromium_src-b1fa235f89f443ca06c36727257323227be979b0.tar.bz2
Change histogram names because collected data is somewhat different.
Net.HadConnectionType3 Each bucket is a boolean (0 or 1) indicating whether the user has had a successful connection of that type during the session. The bucket indexes are defined in "net/base/connection_type_histograms.h". 0 = Any connection (SSL or not); 1 = An SSL connection; 2 = An SSL connection with an MD5 certificate in the certificate chain (excluding root); 3 = An SSL connection with an MD2 certificate in the certificate chain (excluding root); 4 = An SSL connection with an MD4 certificate in the certificate chain (excluding root); 5 = An SSL connection with an MD5 CA certificate in the certificate chain (excluding root); 6 = An SSL connection with an MD2 CA certificate in the certificate chain (excluding root); 7 = A HTTP connection. 8 = A SPDY connection. BUG=none TEST=none Review URL: http://codereview.chromium.org/661409 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40545 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/connection_type_histograms.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/connection_type_histograms.cc b/net/base/connection_type_histograms.cc
index 988e96e..de780f2 100644
--- a/net/base/connection_type_histograms.cc
+++ b/net/base/connection_type_histograms.cc
@@ -26,11 +26,11 @@ void UpdateConnectionTypeHistograms(ConnectionType type) {
if (type >= 0 && type < NUM_OF_CONNECTION_TYPES) {
if (!had_connection_type[type]) {
had_connection_type[type] = true;
- UMA_HISTOGRAM_ENUMERATION("Net.HadConnectionType2",
+ UMA_HISTOGRAM_ENUMERATION("Net.HadConnectionType3",
type, NUM_OF_CONNECTION_TYPES);
}
- UMA_HISTOGRAM_ENUMERATION("Net.ConnectionTypeCount2",
+ UMA_HISTOGRAM_ENUMERATION("Net.ConnectionTypeCount3",
type, NUM_OF_CONNECTION_TYPES);
} else {
NOTREACHED(); // Someone's logging an invalid type!