| Index: chrome/browser/ui/webui/collected_cookies_ui_delegate.cc
|
| diff --git a/chrome/browser/ui/webui/collected_cookies_ui_delegate.cc b/chrome/browser/ui/webui/collected_cookies_ui_delegate.cc
|
| index 0ad2f38cb8909853b02cbfaf41dd6301183b588e..3376ac71c41609400efc54baf49af01002485f43 100644
|
| --- a/chrome/browser/ui/webui/collected_cookies_ui_delegate.cc
|
| +++ b/chrome/browser/ui/webui/collected_cookies_ui_delegate.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/message_loop.h"
|
| #include "base/string_util.h"
|
| #include "base/values.h"
|
| +#include "chrome/browser/content_settings/cookie_settings.h"
|
| #include "chrome/browser/content_settings/host_content_settings_map.h"
|
| #include "chrome/browser/content_settings/tab_specific_content_settings.h"
|
| #include "chrome/browser/cookies_tree_model.h"
|
| @@ -147,8 +148,8 @@ CollectedCookiesUIDelegate::CollectedCookiesUIDelegate(
|
| TabContentsWrapper* wrapper =
|
| TabContentsWrapper::GetCurrentWrapperForContents(tab_contents);
|
| TabSpecificContentSettings* content_settings = wrapper->content_settings();
|
| - HostContentSettingsMap* host_content_settings_map =
|
| - wrapper->profile()->GetHostContentSettingsMap();
|
| + CookieSettings* cookie_settings =
|
| + CookieSettings::GetForProfile(wrapper->profile());
|
|
|
| registrar_.Add(this, chrome::NOTIFICATION_COLLECTED_COOKIES_SHOWN,
|
| Source<TabSpecificContentSettings>(content_settings));
|
| @@ -159,7 +160,7 @@ CollectedCookiesUIDelegate::CollectedCookiesUIDelegate(
|
| content_settings->GetBlockedCookiesTreeModel());
|
|
|
| CollectedCookiesSource* source = new CollectedCookiesSource(
|
| - host_content_settings_map->BlockThirdPartyCookies());
|
| + cookie_settings->ShouldBlockThirdPartyCookies());
|
| wrapper->profile()->GetChromeURLDataManager()->AddDataSource(source);
|
| }
|
|
|
|
|