Index: chrome/browser/views/options/exceptions_view.h |
diff --git a/chrome/browser/views/options/exceptions_view.h b/chrome/browser/views/options/exceptions_view.h |
index 241d055b4c340d8f92f57bd96daf0736eed3ec04..ceb9bcbd0501673be55cd9a07bd42f782859d7e2 100644 |
--- a/chrome/browser/views/options/exceptions_view.h |
+++ b/chrome/browser/views/options/exceptions_view.h |
@@ -38,6 +38,7 @@ class ExceptionsView : public ExceptionEditorView::Delegate, |
// Shows the Exceptions window. |
static void ShowExceptionsWindow(gfx::NativeWindow parent, |
HostContentSettingsMap* map, |
+ HostContentSettingsMap* off_the_record_map, |
ContentSettingsType content_type); |
virtual ~ExceptionsView(); |
@@ -69,11 +70,14 @@ class ExceptionsView : public ExceptionEditorView::Delegate, |
virtual void AcceptExceptionEdit( |
const HostContentSettingsMap::Pattern& pattern, |
ContentSetting setting, |
+ bool is_off_the_record, |
int index, |
bool is_new); |
private: |
- ExceptionsView(HostContentSettingsMap* map, ContentSettingsType type); |
+ ExceptionsView(HostContentSettingsMap* map, |
+ HostContentSettingsMap* off_the_record_map, |
+ ContentSettingsType type); |
void Init(); |
@@ -95,6 +99,9 @@ class ExceptionsView : public ExceptionEditorView::Delegate, |
// The model displayed in the table. |
ContentExceptionsTableModel model_; |
+ // True if the user can also add off the record entries. |
+ bool allow_off_the_record_; |
+ |
views::TableView* table_; |
views::NativeButton* add_button_; |