diff options
author | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-09 15:29:17 +0000 |
---|---|---|
committer | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-09 15:29:17 +0000 |
commit | bd14784bcadf8cf55ae92e713a2545245bb02826 (patch) | |
tree | 7cf74d7dfa33e0dd46f4c0b0e32d788f53143e29 /chrome/browser/host_content_settings_map.h | |
parent | 94d2c4067766e532bfd7b61a9b7f0a0616325642 (diff) | |
download | chromium_src-bd14784bcadf8cf55ae92e713a2545245bb02826.zip chromium_src-bd14784bcadf8cf55ae92e713a2545245bb02826.tar.gz chromium_src-bd14784bcadf8cf55ae92e713a2545245bb02826.tar.bz2 |
Disable remember option in cookie prompt and content blocked notification bubbles when running OTR.
BUG=37525
TEST=Manual, check cookie prompt and bubbles in OTR session
Review URL: http://codereview.chromium.org/1629011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44084 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/host_content_settings_map.h')
-rw-r--r-- | chrome/browser/host_content_settings_map.h | 6 |
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); }; |