From cc2724b7c0fa92466b26eca1e8851d53ab0649b4 Mon Sep 17 00:00:00 2001 From: "bauerb@chromium.org" Date: Mon, 19 Jul 2010 09:41:25 +0000 Subject: compile fix. accidentally committed an old version. tbr=jochen Review URL: http://codereview.chromium.org/3044010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52889 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/cookies_tree_model.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'chrome/browser/cookies_tree_model.cc') diff --git a/chrome/browser/cookies_tree_model.cc b/chrome/browser/cookies_tree_model.cc index a51d2cb..fad1e47 100644 --- a/chrome/browser/cookies_tree_model.cc +++ b/chrome/browser/cookies_tree_model.cc @@ -237,11 +237,12 @@ CookieTreeAppCachesNode* CookieTreeOriginNode::GetOrCreateAppCachesNode() { return appcaches_child_; } -void CookieTreeOriginNode::CreateContentException() { -// profile_->GetHostContentSettingsMap()->AddExceptionForURL( -// , -// CONTENT_, -// radio_index == 0 ? CONTENT_SETTING_ALLOW : CONTENT_SETTING_BLOCK); +void CookieTreeOriginNode::CreateContentException( + HostContentSettingsMap* content_settings, ContentSetting setting) { + std::wstring title(GetTitle()); + content_settings->AddExceptionForURL(GURL(WideToUTF16(title)), + CONTENT_SETTINGS_TYPE_COOKIES, + setting); } /////////////////////////////////////////////////////////////////////////////// -- cgit v1.1