summaryrefslogtreecommitdiffstats
path: root/chrome/browser/content_setting_bubble_model.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 07:11:23 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 07:11:23 +0000
commitb9a4ea7fbdc54868b60d50bc5fade451718dec23 (patch)
tree952098c43264b79a6b196af301d2ca51232a3e33 /chrome/browser/content_setting_bubble_model.cc
parent4930760d08e0d3afef5e99684fc7450b15d0cf78 (diff)
downloadchromium_src-b9a4ea7fbdc54868b60d50bc5fade451718dec23.zip
chromium_src-b9a4ea7fbdc54868b60d50bc5fade451718dec23.tar.gz
chromium_src-b9a4ea7fbdc54868b60d50bc5fade451718dec23.tar.bz2
Allow content setting changes in incognito mode.
This removes the logic to disable the "remeber" functions in the UI elements (basically reverting r44084, but leaves the incognito host content setting map in place. Changes to this map are allowed but do not get stored in preferences. BUG=44480 TEST=none Review URL: http://codereview.chromium.org/2811025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50829 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/content_setting_bubble_model.cc')
-rw-r--r--chrome/browser/content_setting_bubble_model.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/content_setting_bubble_model.cc b/chrome/browser/content_setting_bubble_model.cc
index 03dbe06..260e126 100644
--- a/chrome/browser/content_setting_bubble_model.cc
+++ b/chrome/browser/content_setting_bubble_model.cc
@@ -115,8 +115,6 @@ 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);
}