| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_ | |
| 6 #define CHROME_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/basictypes.h" | |
| 11 #include "chrome/common/content_settings_pattern.h" | |
| 12 | |
| 13 namespace content_settings { | |
| 14 | |
| 15 class PatternParser { | |
| 16 public: | |
| 17 static void Parse(const std::string& pattern_spec, | |
| 18 ContentSettingsPattern::BuilderInterface* builder); | |
| 19 | |
| 20 static std::string ToString( | |
| 21 const ContentSettingsPattern::PatternParts& parts); | |
| 22 }; | |
| 23 | |
| 24 } // namespace content_settings | |
| 25 | |
| 26 #endif // CHROME_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_ | |
| OLD | NEW |