Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Unified Diff: chrome/browser/ssl/ssl_error_handler.cc

Issue 1341923002: Create a component for SSL error handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update iOS grit whitelist Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ssl/ssl_error_classification.cc ('k') | chrome/browser/ssl/ssl_error_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) ||
« no previous file with comments | « chrome/browser/ssl/ssl_error_classification.cc ('k') | chrome/browser/ssl/ssl_error_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698