summaryrefslogtreecommitdiffstats
path: root/chrome/common/content_settings_pattern_parser.h
diff options
context:
space:
mode:
authormarkusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-23 17:52:08 +0000
committermarkusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-23 17:52:08 +0000
commitae689aab246d7763cb04ecba1bd382749c599ee7 (patch)
tree28c10be46648b3327e04b9a3ef78d312851013cd /chrome/common/content_settings_pattern_parser.h
parentaff8b47835f1f9faa471fd23b8db782cdb492ddd (diff)
downloadchromium_src-ae689aab246d7763cb04ecba1bd382749c599ee7.zip
chromium_src-ae689aab246d7763cb04ecba1bd382749c599ee7.tar.gz
chromium_src-ae689aab246d7763cb04ecba1bd382749c599ee7.tar.bz2
Added support for file URI path wildcards in content settings
patterns. I.e. "file:///*" matches all file URIs. Full/explicit/absolute paths (e.g. "file:///foo/bar.html") are still supported. contributed by Francois Kritzinger (francoisk777@gmail.com) BUG=77149 TEST=ContentSettingsPattern* Review URL: http://codereview.chromium.org/9254028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/content_settings_pattern_parser.h')
-rw-r--r--chrome/common/content_settings_pattern_parser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/content_settings_pattern_parser.h b/chrome/common/content_settings_pattern_parser.h
index 3638c5d..19f8d27 100644
--- a/chrome/common/content_settings_pattern_parser.h
+++ b/chrome/common/content_settings_pattern_parser.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -33,6 +33,8 @@ class PatternParser {
static const char* kPortWildcard;
+ static const char* kPathWildcard;
+
DISALLOW_COPY_AND_ASSIGN(PatternParser);
};