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

Side by Side Diff: chrome/common/content_settings_pattern_parser.h

Issue 9254028: Added support for file URI path wildcards in content settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase on trunk Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 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 #ifndef CHROME_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_ 5 #ifndef CHROME_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_
6 #define CHROME_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_ 6 #define CHROME_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "chrome/common/content_settings_pattern.h" 11 #include "chrome/common/content_settings_pattern.h"
(...skipping 14 matching lines...) Expand all
26 static const char* kDomainWildcard; 26 static const char* kDomainWildcard;
27 27
28 static const size_t kDomainWildcardLength; 28 static const size_t kDomainWildcardLength;
29 29
30 static const char* kSchemeWildcard; 30 static const char* kSchemeWildcard;
31 31
32 static const char* kHostWildcard; 32 static const char* kHostWildcard;
33 33
34 static const char* kPortWildcard; 34 static const char* kPortWildcard;
35 35
36 static const char* kPathWildcard;
37
36 DISALLOW_COPY_AND_ASSIGN(PatternParser); 38 DISALLOW_COPY_AND_ASSIGN(PatternParser);
37 }; 39 };
38 40
39 } // namespace content_settings 41 } // namespace content_settings
40 42
41 #endif // CHROME_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_ 43 #endif // CHROME_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/common/content_settings_pattern.cc ('k') | chrome/common/content_settings_pattern_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698