Index: chrome/browser/ssl/ssl_error_handler.cc |
diff --git a/chrome/browser/ssl/ssl_error_handler.cc b/chrome/browser/ssl/ssl_error_handler.cc |
index 91c451082b005b9eddb9d4cd6fb4a41928f16fc2..7fe5d0251963a45e8dfff7775d061cf1f7665eb6 100644 |
--- a/chrome/browser/ssl/ssl_error_handler.cc |
+++ b/chrome/browser/ssl/ssl_error_handler.cc |
@@ -15,7 +15,7 @@ |
#include "chrome/browser/ssl/ssl_blocking_page.h" |
#include "chrome/browser/ssl/ssl_cert_reporter.h" |
#include "chrome/browser/ssl/ssl_error_classification.h" |
-#include "chrome/browser/ssl/ssl_error_info.h" |
+#include "components/ssl_errors/error_info.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_source.h" |
#include "content/public/browser/render_frame_host.h" |
@@ -133,8 +133,8 @@ bool IsSSLCommonNameMismatchHandlingEnabled() { |
} |
bool IsErrorDueToBadClock(const base::Time& now, int error) { |
- if (SSLErrorInfo::NetErrorToErrorType(error) != |
- SSLErrorInfo::CERT_DATE_INVALID) { |
+ if (ssl_errors::ErrorInfo::NetErrorToErrorType(error) != |
+ ssl_errors::ErrorInfo::CERT_DATE_INVALID) { |
return false; |
} |
return SSLErrorClassification::IsUserClockInThePast(now) || |