Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: chrome/browser/ui/content_settings/content_setting_bubble_model.cc

Issue 7008025: Apply third party cookie blocking to all kinds of cookies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/renderer_host/chrome_render_message_filter.cc ('k') | net/base/static_cookie_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/content_settings/content_setting_bubble_model.cc
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
index 865f1c2f31b1a9f44b8e7ca6ded14d07a7c9653c..1d96238eeb2d29daabd78a75768d494c8d864ccd 100644
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
@@ -280,7 +280,9 @@ class ContentSettingSingleRadioGroup
ContentSetting mostRestrictiveSetting;
if (resources.empty()) {
mostRestrictiveSetting =
- map->GetContentSetting(url, content_type(), std::string());
+ content_type() == CONTENT_SETTINGS_TYPE_COOKIES ?
+ map->GetCookieContentSetting(url, url, true) :
+ map->GetContentSetting(url, content_type(), std::string());
} else {
mostRestrictiveSetting = CONTENT_SETTING_ALLOW;
for (std::set<std::string>::const_iterator it = resources.begin();
« no previous file with comments | « chrome/browser/renderer_host/chrome_render_message_filter.cc ('k') | net/base/static_cookie_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698