Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(696)

Side by Side Diff: components/content_settings/core/common/content_settings_pattern.h

Issue 518803009: Move content_settings_pattern and content_settings_pattern_parser to the content_settings component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/content_settings/core/common/DEPS ('k') | components/content_settings/core/common/content_settings_pattern.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698