| Index: chrome/browser/cookies_tree_model.cc
|
| diff --git a/chrome/browser/cookies_tree_model.cc b/chrome/browser/cookies_tree_model.cc
|
| index a51d2cb68808d15dada0951a4418d0ff14dbbd4b..fad1e472a84ed66d7b14878018d7d686d2b458cf 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);
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|