OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Patterns used in content setting rules. | 5 // Patterns used in content setting rules. |
6 | 6 |
7 #ifndef CHROME_COMMON_CONTENT_SETTINGS_PATTERN_H_ | 7 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_PATTERN_H_ |
8 #define CHROME_COMMON_CONTENT_SETTINGS_PATTERN_H_ | 8 #define COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_PATTERN_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 | 13 |
14 class GURL; | 14 class GURL; |
15 | 15 |
16 namespace content_settings { | 16 namespace content_settings { |
17 class PatternParser; | 17 class PatternParser; |
18 } | 18 } |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 const ContentSettingsPattern::PatternParts& parts, | 204 const ContentSettingsPattern::PatternParts& parts, |
205 const ContentSettingsPattern::PatternParts& other_parts); | 205 const ContentSettingsPattern::PatternParts& other_parts); |
206 | 206 |
207 ContentSettingsPattern(const PatternParts& parts, bool valid); | 207 ContentSettingsPattern(const PatternParts& parts, bool valid); |
208 | 208 |
209 PatternParts parts_; | 209 PatternParts parts_; |
210 | 210 |
211 bool is_valid_; | 211 bool is_valid_; |
212 }; | 212 }; |
213 | 213 |
214 #endif // CHROME_COMMON_CONTENT_SETTINGS_PATTERN_H_ | 214 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_PATTERN_H_ |
OLD | NEW |