| Index: chrome/common/content_settings_pattern.h
|
| diff --git a/chrome/common/content_settings_pattern.h b/chrome/common/content_settings_pattern.h
|
| index 187ec2439687553c8c748dcdea0bc8d643c9685d..3664851b1aa728a43e2456efe343b0a5b5ff1aa7 100644
|
| --- a/chrome/common/content_settings_pattern.h
|
| +++ b/chrome/common/content_settings_pattern.h
|
| @@ -219,8 +219,9 @@ class ContentSettingsPattern {
|
| virtual ContentSettingsPattern Build() OVERRIDE;
|
| private:
|
| // Canonicalizes the pattern parts so that they are ASCII only, either
|
| - // in original (if it was already ASCII) or punycode form.
|
| - static void Canonicalize(PatternParts* parts);
|
| + // in original (if it was already ASCII) or punycode form. Returns true if
|
| + // the canonicalization was successful.
|
| + static bool Canonicalize(PatternParts* parts);
|
|
|
| // Returns true when the pattern |parts| represent a valid pattern.
|
| static bool Validate(const PatternParts& parts);
|
|
|