| Index: chrome/browser/content_settings/content_settings_pattern.h
|
| diff --git a/chrome/browser/content_settings/content_settings_pattern.h b/chrome/browser/content_settings/content_settings_pattern.h
|
| index 4b55683c81d473f4e99e9afcfe1fc09d72a86723..ae08404710f42a5ed8af7f1e71e0db4dacfc1dd1 100644
|
| --- a/chrome/browser/content_settings/content_settings_pattern.h
|
| +++ b/chrome/browser/content_settings/content_settings_pattern.h
|
| @@ -122,6 +122,14 @@ class ContentSettingsPattern {
|
| return Compare(other) == IDENTITY;
|
| }
|
|
|
| + bool operator<(const ContentSettingsPattern& other) const {
|
| + return Compare(other) == SUCCESSOR;
|
| + }
|
| +
|
| + bool operator>(const ContentSettingsPattern& other) const {
|
| + return Compare(other) == PREDECESSOR;
|
| + }
|
| +
|
| private:
|
| friend class content_settings::PatternParser;
|
| friend class ContentSettingsPatternParserTest_SerializePatterns_Test;
|
|
|