Index: chrome/browser/ssl/ssl_add_cert_handler.cc |
=================================================================== |
--- chrome/browser/ssl/ssl_add_cert_handler.cc (revision 133822) |
+++ chrome/browser/ssl/ssl_add_cert_handler.cc (working copy) |
@@ -39,6 +39,10 @@ |
SSLAddCertHandler::~SSLAddCertHandler() {} |
void SSLAddCertHandler::Run() { |
+ // TODO(wtc): if cert_ is NULL, it means we could not decode the |
+ // application/x-x509-user-cert response. db.CheckUserCert() will |
+ // return net::ERR_CERT_INVALID. We should add a more informative |
+ // error code. |
int cert_error; |
{ |
net::CertDatabase db; |