summaryrefslogtreecommitdiffstats
path: root/chrome/browser/content_exceptions_table_model.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-02 14:47:45 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-02 14:47:45 +0000
commit5f24f215c60528bd329930bf98373a52dfe08555 (patch)
treef26f29fd3404cacb55f55a038c094d14e2076a73 /chrome/browser/content_exceptions_table_model.h
parentc139f9bf6f6f5ce2e550c59952ff5bebb1430458 (diff)
downloadchromium_src-5f24f215c60528bd329930bf98373a52dfe08555.zip
chromium_src-5f24f215c60528bd329930bf98373a52dfe08555.tar.gz
chromium_src-5f24f215c60528bd329930bf98373a52dfe08555.tar.bz2
Move ContentSettingsDetails and Pattern out of HostContentSettingsMap as separate classes.
BUG=64753 TEST=compiles Review URL: http://codereview.chromium.org/5574001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/content_exceptions_table_model.h')
-rw-r--r--chrome/browser/content_exceptions_table_model.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/content_exceptions_table_model.h b/chrome/browser/content_exceptions_table_model.h
index 17986f7..e01250b7 100644
--- a/chrome/browser/content_exceptions_table_model.h
+++ b/chrome/browser/content_exceptions_table_model.h
@@ -37,7 +37,7 @@ class ContentExceptionsTableModel : public TableModel {
}
// Adds a new exception on the map and table model.
- void AddException(const HostContentSettingsMap::Pattern& pattern,
+ void AddException(const ContentSettingsPattern& pattern,
ContentSetting setting,
bool is_off_the_record);
@@ -49,7 +49,7 @@ class ContentExceptionsTableModel : public TableModel {
// Returns the index of the specified exception given a host, or -1 if there
// is no exception for the specified host.
- int IndexOfExceptionByPattern(const HostContentSettingsMap::Pattern& pattern,
+ int IndexOfExceptionByPattern(const ContentSettingsPattern& pattern,
bool is_off_the_record);
// TableModel overrides: