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/content_setting_bubble_model.cc | |
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/content_setting_bubble_model.cc')
-rw-r--r-- | chrome/browser/content_setting_bubble_model.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/content_setting_bubble_model.cc b/chrome/browser/content_setting_bubble_model.cc index e385029..8cf0930 100644 --- a/chrome/browser/content_setting_bubble_model.cc +++ b/chrome/browser/content_setting_bubble_model.cc @@ -115,6 +115,8 @@ class ContentSettingSingleRadioGroup : public ContentSettingTitleAndLinkModel { radio_group.default_item = profile()->GetHostContentSettingsMap()->GetContentSetting(url, content_type()) == CONTENT_SETTING_ALLOW ? 0 : 1; + radio_group.is_mutable = + !profile()->GetHostContentSettingsMap()->IsOffTheRecord(); set_radio_group(radio_group); } |