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 223b08f55523246480b29873f5f4156b1e64f423..5f6bf5c6b4ce9077eb00f54cb6f620d3bedce8fe 100644 |
--- a/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
+++ b/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
@@ -995,24 +995,21 @@ TEST_F(HostContentSettingsMapTest, ResetToDefaultsWhenManaged) { |
prefs->SetUserPref(prefs::kBlockThirdPartyCookies, |
Value::CreateBooleanValue(true)); |
- EXPECT_EQ(true, |
- host_content_settings_map->IsBlockThirdPartyCookiesManaged()); |
- EXPECT_EQ(true, host_content_settings_map->BlockThirdPartyCookies()); |
+ EXPECT_TRUE(host_content_settings_map->IsBlockThirdPartyCookiesManaged()); |
+ EXPECT_TRUE(host_content_settings_map->BlockThirdPartyCookies()); |
// Reset to the default value (false). |
host_content_settings_map->ResetToDefaults(); |
// Since the preference BlockThirdPartyCookies is managed the |
// HostContentSettingsMap should still return the managed value which is true. |
- EXPECT_EQ(true, |
- host_content_settings_map->IsBlockThirdPartyCookiesManaged()); |
- EXPECT_EQ(true, host_content_settings_map->BlockThirdPartyCookies()); |
+ EXPECT_TRUE(host_content_settings_map->IsBlockThirdPartyCookiesManaged()); |
+ EXPECT_TRUE(host_content_settings_map->BlockThirdPartyCookies()); |
// After unsetting the managed value for the preference BlockThirdPartyCookies |
// the default value should be returned now. |
prefs->RemoveManagedPref(prefs::kBlockThirdPartyCookies); |
- EXPECT_EQ(false, |
- host_content_settings_map->IsBlockThirdPartyCookiesManaged()); |
- EXPECT_EQ(false, host_content_settings_map->BlockThirdPartyCookies()); |
+ EXPECT_FALSE(host_content_settings_map->IsBlockThirdPartyCookiesManaged()); |
+ EXPECT_FALSE(host_content_settings_map->BlockThirdPartyCookies()); |
} |
} // namespace |