Index: content/browser/download/download_resource_handler.cc |
diff --git a/content/browser/download/download_resource_handler.cc b/content/browser/download/download_resource_handler.cc |
index f2fb2a5b267f68158625704cbb4a9f09ee9952d4..7516761bd62dd25e0cf751c79d1baa67b0be7ad8 100644 |
--- a/content/browser/download/download_resource_handler.cc |
+++ b/content/browser/download/download_resource_handler.cc |
@@ -380,10 +380,12 @@ void DownloadResourceHandler::OnResponseCompleted( |
// to a user action. |
// TODO(ahendrickson) -- Find a better set of codes to use here, as |
// CANCELED/ERR_ABORTED can occur for reasons other than user cancel. |
- if (net::IsCertStatusError(request()->ssl_info().cert_status)) |
+ if (net::IsCertStatusError(request()->ssl_info().cert_status) && |
+ !net::IsCertStatusMinorError(request()->ssl_info().cert_status)) { |
reason = DOWNLOAD_INTERRUPT_REASON_SERVER_CERT_PROBLEM; |
- else |
+ } else { |
reason = DOWNLOAD_INTERRUPT_REASON_USER_CANCELED; |
+ } |
} |
if (status.is_success() && |