| Index: chrome/browser/content_settings/cookie_settings.cc
|
| diff --git a/chrome/browser/content_settings/cookie_settings.cc b/chrome/browser/content_settings/cookie_settings.cc
|
| index ff27e3407a18adf7110289d501e72efa9a3fe022..fb2eb4f6a59a60810c3a2163ed8ffa8c938a986b 100644
|
| --- a/chrome/browser/content_settings/cookie_settings.cc
|
| +++ b/chrome/browser/content_settings/cookie_settings.cc
|
| @@ -200,8 +200,8 @@ ContentSetting CookieSettings::GetCookieSetting(
|
|
|
| // If no explicit exception has been made and third-party cookies are blocked
|
| // by default, apply that rule.
|
| - if (info.primary_pattern == ContentSettingsPattern::Wildcard() &&
|
| - info.secondary_pattern == ContentSettingsPattern::Wildcard() &&
|
| + if (info.primary_pattern.MatchesAllHosts() &&
|
| + info.secondary_pattern.MatchesAllHosts() &&
|
| ShouldBlockThirdPartyCookies() &&
|
| !first_party_url.SchemeIs(chrome::kExtensionScheme)) {
|
| bool not_strict = CommandLine::ForCurrentProcess()->HasSwitch(
|
|
|