Chromium Code Reviews| Index: chrome/common/content_settings_pattern_parser.h |
| diff --git a/chrome/common/content_settings_pattern_parser.h b/chrome/common/content_settings_pattern_parser.h |
| index 19f8d2710002d88379cfb22f8c5dd48724d186b6..c58490b52768774c2c06142bbfb0f31946ad831f 100644 |
| --- a/chrome/common/content_settings_pattern_parser.h |
| +++ b/chrome/common/content_settings_pattern_parser.h |
| @@ -12,30 +12,17 @@ |
| namespace content_settings { |
| -struct PatternParts; |
| +class ContentSettingsClient; |
| class PatternParser { |
| public: |
| - static void Parse(const std::string& pattern_spec, |
| + static void Parse(ContentSettingsClient* client, |
|
Bernhard Bauer
2014/08/11 08:43:50
If you make these methods take the client as a con
|
| + const std::string& pattern_spec, |
| ContentSettingsPattern::BuilderInterface* builder); |
| static std::string ToString( |
| + ContentSettingsClient* client, |
| const ContentSettingsPattern::PatternParts& parts); |
| - |
| - private: |
| - static const char* kDomainWildcard; |
| - |
| - static const size_t kDomainWildcardLength; |
| - |
| - static const char* kSchemeWildcard; |
| - |
| - static const char* kHostWildcard; |
| - |
| - static const char* kPortWildcard; |
| - |
| - static const char* kPathWildcard; |
| - |
| - DISALLOW_COPY_AND_ASSIGN(PatternParser); |
| }; |
| } // namespace content_settings |