Index: chrome/browser/ssl/ssl_error_classification.h |
diff --git a/chrome/browser/ssl/ssl_error_classification.h b/chrome/browser/ssl/ssl_error_classification.h |
index 2eda135dfb616681c3a8c77120c7eee52067e927..89869b9ad6dc0f9804841523e57874b81aec24da 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); |