Index: chrome/browser/gtk/options/content_exception_editor.h |
diff --git a/chrome/browser/gtk/options/content_exception_editor.h b/chrome/browser/gtk/options/content_exception_editor.h |
index 5bd7ad07a16c46a079a1d4d0b9c0bb5aefc938f1..98dcbf9559feb4862ad7e93df59f80a6df8dea7a 100644 |
--- a/chrome/browser/gtk/options/content_exception_editor.h |
+++ b/chrome/browser/gtk/options/content_exception_editor.h |
@@ -26,6 +26,7 @@ class ContentExceptionEditor { |
virtual void AcceptExceptionEdit( |
const HostContentSettingsMap::Pattern& pattern, |
ContentSetting setting, |
+ bool is_off_the_record, |
int index, |
bool is_new) = 0; |
@@ -36,15 +37,18 @@ class ContentExceptionEditor { |
ContentExceptionEditor(GtkWindow* parent, |
Delegate* delegate, |
ContentExceptionsTableModel* model, |
+ bool allow_off_the_record, |
int index, |
const HostContentSettingsMap::Pattern& pattern, |
- ContentSetting setting); |
+ ContentSetting setting, |
+ bool is_off_the_record); |
private: |
// Returns true if we're adding a new item. |
bool is_new() const { return index_ == -1; } |
- bool IsPatternValid(const HostContentSettingsMap::Pattern& pattern) const; |
+ bool IsPatternValid(const HostContentSettingsMap::Pattern& pattern, |
+ bool is_off_the_record) const; |
void UpdateImage(GtkWidget* image, bool is_valid); |
@@ -69,6 +73,7 @@ class ContentExceptionEditor { |
GtkWidget* entry_; |
GtkWidget* pattern_image_; |
GtkWidget* action_combo_; |
+ GtkWidget* otr_checkbox_; |
DISALLOW_COPY_AND_ASSIGN(ContentExceptionEditor); |
}; |