| Index: chrome/browser/content_settings/host_content_settings_map_unittest.cc
|
| diff --git a/chrome/browser/content_settings/host_content_settings_map_unittest.cc b/chrome/browser/content_settings/host_content_settings_map_unittest.cc
|
| index caa66edfcd8a1cb9afc3d4be5faafb12a44031a8..cdc5ba6f7879ebca31224b61d85cb8ace6101894 100644
|
| --- a/chrome/browser/content_settings/host_content_settings_map_unittest.cc
|
| +++ b/chrome/browser/content_settings/host_content_settings_map_unittest.cc
|
| @@ -1109,16 +1109,6 @@ TEST_F(HostContentSettingsMapTest, CookiesBlockThirdParty) {
|
| HostContentSettingsMap* host_content_settings_map =
|
| profile.GetHostContentSettingsMap();
|
| host_content_settings_map->SetBlockThirdPartyCookies(true);
|
| - EXPECT_EQ(CONTENT_SETTING_ALLOW,
|
| - host_content_settings_map->GetCookieContentSetting(
|
| - kBlockedSite, kFirstPartySite, false));
|
| - EXPECT_EQ(CONTENT_SETTING_BLOCK,
|
| - host_content_settings_map->GetCookieContentSetting(
|
| - kBlockedSite, kFirstPartySite, true));
|
| -
|
| - CommandLine* cmd = CommandLine::ForCurrentProcess();
|
| - AutoReset<CommandLine> auto_reset(cmd, *cmd);
|
| - cmd->AppendSwitch(switches::kBlockReadingThirdPartyCookies);
|
|
|
| EXPECT_EQ(CONTENT_SETTING_BLOCK,
|
| host_content_settings_map->GetCookieContentSetting(
|
| @@ -1203,22 +1193,6 @@ TEST_F(HostContentSettingsMapTest, CookiesThirdPartyBlockedExplicitAllow) {
|
| EXPECT_EQ(CONTENT_SETTING_ALLOW,
|
| host_content_settings_map->GetCookieContentSetting(
|
| kAllowedSite, kExtensionURL, true));
|
| -
|
| - CommandLine* cmd = CommandLine::ForCurrentProcess();
|
| - AutoReset<CommandLine> auto_reset(cmd, *cmd);
|
| - cmd->AppendSwitch(switches::kBlockReadingThirdPartyCookies);
|
| -
|
| - EXPECT_EQ(CONTENT_SETTING_ALLOW,
|
| - host_content_settings_map->GetCookieContentSetting(
|
| - kAllowedSite, kFirstPartySite, false));
|
| -
|
| - // Extensions should always be allowed to use cookies.
|
| - EXPECT_EQ(CONTENT_SETTING_ALLOW,
|
| - host_content_settings_map->GetCookieContentSetting(
|
| - kAllowedSite, kExtensionURL, false));
|
| - EXPECT_EQ(CONTENT_SETTING_ALLOW,
|
| - host_content_settings_map->GetCookieContentSetting(
|
| - kAllowedSite, kExtensionURL, true));
|
| }
|
|
|
| TEST_F(HostContentSettingsMapTest, CookiesBlockEverything) {
|
|
|