diff options
Diffstat (limited to 'chrome/browser/ssl/ssl_error_classification.h')
-rw-r--r-- | chrome/browser/ssl/ssl_error_classification.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/ssl/ssl_error_classification.h b/chrome/browser/ssl/ssl_error_classification.h index 2eda135..89869b9 100644 --- a/chrome/browser/ssl/ssl_error_classification.h +++ b/chrome/browser/ssl/ssl_error_classification.h @@ -117,6 +117,11 @@ class SSLErrorClassification : public content::NotificationObserver { // fields. bool IsCertLikelyFromMultiTenantHosting() const; + // Returns true if the hostname in |request_url_| has the same domain + // (effective TLD + 1 label) as at least one of the subject + // alternative names in |cert_|. + bool IsCertLikelyFromSameDomain() const; + static std::vector<Tokens> GetTokenizedDNSNames( const std::vector<std::string>& dns_names); |