Chromium Code Reviews| Index: chrome/browser/ui/webui/options2/certificate_manager_handler2.cc |
| diff --git a/chrome/browser/ui/webui/options2/certificate_manager_handler2.cc b/chrome/browser/ui/webui/options2/certificate_manager_handler2.cc |
| index 5129a2178220d5ba45c968db2097e5ddfdaad76d..bc019c7f850a610dea5c35db228e0eac7d7bb4f4 100644 |
| --- a/chrome/browser/ui/webui/options2/certificate_manager_handler2.cc |
| +++ b/chrome/browser/ui/webui/options2/certificate_manager_handler2.cc |
| @@ -808,6 +808,7 @@ void CertificateManagerHandler::ImportServerFileRead(int read_errno, |
| net::CertDatabase::ImportCertFailureList not_imported; |
| bool result = certificate_manager_model_->ImportServerCert( |
| selected_cert_list_, |
| + net::CertDatabase::UNTRUSTED, // TODO(mattm): Add UI for trust. |
|
Ryan Sleevi
2012/05/16 03:57:23
open a bug for these two?
mattm
2012/05/16 22:30:51
filed / added links.
|
| ¬_imported); |
| if (!result) { |
| ShowError( |
| @@ -886,6 +887,7 @@ void CertificateManagerHandler::ImportCATrustSelected(const ListValue* args) { |
| return; |
| } |
| + // TODO(mattm): add UI for setting explicit distrust, too. |
| net::CertDatabase::ImportCertFailureList not_imported; |
| bool result = certificate_manager_model_->ImportCACerts( |
| selected_cert_list_, |