| Index: chrome/browser/ssl/common_name_mismatch_handler.cc
|
| diff --git a/chrome/browser/ssl/common_name_mismatch_handler.cc b/chrome/browser/ssl/common_name_mismatch_handler.cc
|
| index 941127b7d95d4fda27dbc828fdcc54eb8cd93cd4..ea03d87150e2c649e8e4e1daebb6f2279d37195c 100644
|
| --- a/chrome/browser/ssl/common_name_mismatch_handler.cc
|
| +++ b/chrome/browser/ssl/common_name_mismatch_handler.cc
|
| @@ -7,7 +7,7 @@
|
| #include "base/callback_helpers.h"
|
| #include "base/logging.h"
|
| #include "base/strings/string_number_conversions.h"
|
| -#include "chrome/browser/ssl/ssl_error_classification.h"
|
| +#include "components/ssl_errors/error_classification.h"
|
| #include "net/base/load_flags.h"
|
| #include "net/http/http_response_headers.h"
|
| #include "net/http/http_util.h"
|
| @@ -56,8 +56,8 @@ bool CommonNameMismatchHandler::GetSuggestedUrl(
|
| GURL* suggested_url) {
|
| std::string host_name = request_url.host();
|
| std::string www_mismatch_hostname;
|
| - if (!SSLErrorClassification::GetWWWSubDomainMatch(host_name, dns_names,
|
| - &www_mismatch_hostname)) {
|
| + if (!ssl_errors::ErrorClassification::GetWWWSubDomainMatch(
|
| + host_name, dns_names, &www_mismatch_hostname)) {
|
| return false;
|
| }
|
| // The full URL should be pinged, not just the new hostname. So, get the
|
|
|