| Index: net/base/ssl_info.h | 
| diff --git a/net/base/ssl_info.h b/net/base/ssl_info.h | 
| index 4c68f06e79300a91f6d48bf689c60e8b95f9d632..1832b8c112cb25fb0a77c3ee68c23cc8fc4e1855 100644 | 
| --- a/net/base/ssl_info.h | 
| +++ b/net/base/ssl_info.h | 
| @@ -6,6 +6,7 @@ | 
| #define NET_BASE_SSL_INFO_H_ | 
| #pragma once | 
|  | 
| +#include "base/string16.h" | 
| #include "base/ref_counted.h" | 
|  | 
| namespace net { | 
| @@ -23,7 +24,7 @@ class SSLInfo { | 
|  | 
| void Reset(); | 
|  | 
| -  bool is_valid() const { return cert != NULL; } | 
| +  bool is_valid() const { return cert != NULL || !tls_username.empty(); } | 
|  | 
| // Adds the specified |error| to the cert status. | 
| void SetCertError(int error); | 
| @@ -31,6 +32,9 @@ class SSLInfo { | 
| // The SSL certificate. | 
| scoped_refptr<X509Certificate> cert; | 
|  | 
| +  // The TLS username, or the empty string "" if TLS login auth wasn't used. | 
| +  string16 tls_username; | 
| + | 
| // Bitmask of status info of |cert|, representing, for example, known errors | 
| // and extended validation (EV) status. | 
| // See cert_status_flags.h for values. | 
|  |