Index: components/password_manager/core/browser/psl_matching_helper.h |
diff --git a/components/password_manager/core/browser/psl_matching_helper.h b/components/password_manager/core/browser/psl_matching_helper.h |
index ed10f3074dde0197fe99b93e7d34650b0173d037..1d0e65969273aa64e33b512b3c63b5f7a2d1e998 100644 |
--- a/components/password_manager/core/browser/psl_matching_helper.h |
+++ b/components/password_manager/core/browser/psl_matching_helper.h |
@@ -76,6 +76,11 @@ bool IsPublicSuffixDomainMatch(const std::string& url1, |
// registry-controlled domain part. |
std::string GetRegistryControlledDomain(const GURL& signon_realm); |
+// Returns the organization-identifying name of the host of |url|, that is, the |
+// first domain name label below the effective TLD. Returns the empty string for |
+// URLs where these concepts are ill-defined, as well as for invalid URLs. |
+std::string GetOrganizationIdentifyingName(const GURL& url); |
+ |
} // namespace password_manager |
#endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PSL_MATCHING_HELPER_H_ |