| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_BASE_CONNECTION_TYPE_HISTOGRAMS_H_ | 5 #ifndef NET_BASE_CONNECTION_TYPE_HISTOGRAMS_H_ |
| 6 #define NET_BASE_CONNECTION_TYPE_HISTOGRAMS_H_ | 6 #define NET_BASE_CONNECTION_TYPE_HISTOGRAMS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // The UpdateConnectionTypeHistograms function collects statistics related | 9 // The UpdateConnectionTypeHistograms function collects statistics related |
| 10 // to the number of MD5 certificates that our users are encountering. The | 10 // to the number of MD5 certificates that our users are encountering. The |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 // in the certificate chain (excluding root) | 28 // in the certificate chain (excluding root) |
| 29 CONNECTION_SSL_MD2_CA = 6, // An SSL connection with an MD2 CA certificate | 29 CONNECTION_SSL_MD2_CA = 6, // An SSL connection with an MD2 CA certificate |
| 30 // in the certificate chain (excluding root) | 30 // in the certificate chain (excluding root) |
| 31 CONNECTION_HTTP = 7, // An HTTP connection | 31 CONNECTION_HTTP = 7, // An HTTP connection |
| 32 CONNECTION_SPDY = 8, // A SPDY connection | 32 CONNECTION_SPDY = 8, // A SPDY connection |
| 33 CONNECTION_SSL_SSL2 = 9, // An SSL connection that uses SSL 2.0 | 33 CONNECTION_SSL_SSL2 = 9, // An SSL connection that uses SSL 2.0 |
| 34 CONNECTION_SSL_SSL3 = 10, // An SSL connection that uses SSL 3.0 | 34 CONNECTION_SSL_SSL3 = 10, // An SSL connection that uses SSL 3.0 |
| 35 CONNECTION_SSL_TLS1 = 11, // An SSL connection that uses TLS 1.0 | 35 CONNECTION_SSL_TLS1 = 11, // An SSL connection that uses TLS 1.0 |
| 36 CONNECTION_SSL_TLS1_1 = 12, // An SSL connection that uses TLS 1.1 | 36 CONNECTION_SSL_TLS1_1 = 12, // An SSL connection that uses TLS 1.1 |
| 37 CONNECTION_SSL_TLS1_2 = 13, // An SSL connection that uses TLS 1.2 | 37 CONNECTION_SSL_TLS1_2 = 13, // An SSL connection that uses TLS 1.2 |
| 38 |
| 39 CONNECTION_TLS_PASSWORD_AUTH = 14, // A TLS connection that uses password auth |
| 38 NUM_OF_CONNECTION_TYPES | 40 NUM_OF_CONNECTION_TYPES |
| 39 }; | 41 }; |
| 40 | 42 |
| 41 // Update the connection type histograms. |type| is the connection type. | 43 // Update the connection type histograms. |type| is the connection type. |
| 42 void UpdateConnectionTypeHistograms(ConnectionType type); | 44 void UpdateConnectionTypeHistograms(ConnectionType type); |
| 43 | 45 |
| 44 } // namespace net | 46 } // namespace net |
| 45 | 47 |
| 46 #endif // NET_BASE_CONNECTION_TYPE_HISTOGRAMS_H_ | 48 #endif // NET_BASE_CONNECTION_TYPE_HISTOGRAMS_H_ |
| OLD | NEW |