diff options
Diffstat (limited to 'chromium/components/url_formatter/spoof_checks/idn_spoof_checker.h')
-rw-r--r-- | chromium/components/url_formatter/spoof_checks/idn_spoof_checker.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/components/url_formatter/spoof_checks/idn_spoof_checker.h b/chromium/components/url_formatter/spoof_checks/idn_spoof_checker.h index 1a30355caab..bd955952d45 100644 --- a/chromium/components/url_formatter/spoof_checks/idn_spoof_checker.h +++ b/chromium/components/url_formatter/spoof_checks/idn_spoof_checker.h @@ -54,7 +54,8 @@ class IDNSpoofChecker { // Returns true if |label| is safe to display as Unicode. In the event of // library failure, all IDN inputs will be treated as unsafe. // See the function body for details on the specific safety checks performed. - bool SafeToDisplayAsUnicode(base::StringPiece16 label, bool is_tld_ascii); + bool SafeToDisplayAsUnicode(base::StringPiece16 label, + base::StringPiece top_level_domain); // Returns the matching top domain if |hostname| or the last few components of // |hostname| looks similar to one of top domains listed i |