summaryrefslogtreecommitdiffstats
path: root/chrome/browser/host_content_settings_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/host_content_settings_map.h')
-rw-r--r--chrome/browser/host_content_settings_map.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/host_content_settings_map.h b/chrome/browser/host_content_settings_map.h
index babc769..4107fb4 100644
--- a/chrome/browser/host_content_settings_map.h
+++ b/chrome/browser/host_content_settings_map.h
@@ -148,6 +148,9 @@ class HostContentSettingsMap
// This should only be called on the UI thread.
void ResetToDefaults();
+ // Whether this settings map is associated with an OTR session.
+ bool IsOffTheRecord();
+
private:
friend class base::RefCountedThreadSafe<HostContentSettingsMap>;
@@ -196,6 +199,9 @@ class HostContentSettingsMap
// Used around accesses to the settings objects to guarantee thread safety.
mutable Lock lock_;
+ // Whether this settings map is for an OTR session.
+ bool is_off_the_record_;
+
DISALLOW_COPY_AND_ASSIGN(HostContentSettingsMap);
};