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

Unified Diff: chrome/browser/content_exceptions_table_model.h

Issue 5574001: Move ContentSettingsDetails and Pattern out of HostContentSettingsMap as separate classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/content_settings
Patch Set: updates Created 10 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/content_exceptions_table_model.h
diff --git a/chrome/browser/content_exceptions_table_model.h b/chrome/browser/content_exceptions_table_model.h
index 17986f765943b828209051961ddd061ce4ff15c7..e01250b7bcbb4bbdd58cd5b0677c9701393a4942 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:

Powered by Google App Engine
This is Rietveld 408576698