Index: chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
diff --git a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
index 05437fd9a0a1827fc43ed481771e2bcca924fe24..8d24b1976eb8157aa27dfea660902db60fb6e30c 100644 |
--- a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
+++ b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
@@ -561,7 +561,7 @@ TEST_F(ClientSideDetectionHostTest, OnPhishingDetectionDoneShowInterstitial) { |
EXPECT_EQ(phishing_url, resource.url); |
EXPECT_EQ(phishing_url, resource.original_url); |
EXPECT_FALSE(resource.is_subresource); |
- EXPECT_EQ(SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL, resource.threat_type); |
+ EXPECT_EQ(SB_THREAT_TYPE_URL_CLIENT_SIDE_PHISHING, resource.threat_type); |
EXPECT_EQ(ThreatSource::CLIENT_SIDE_DETECTION, resource.threat_source); |
EXPECT_EQ(web_contents(), resource.web_contents_getter.Run()); |
@@ -647,7 +647,7 @@ TEST_F(ClientSideDetectionHostTest, OnPhishingDetectionDoneMultiplePings) { |
EXPECT_EQ(other_phishing_url, resource.url); |
EXPECT_EQ(other_phishing_url, resource.original_url); |
EXPECT_FALSE(resource.is_subresource); |
- EXPECT_EQ(SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL, resource.threat_type); |
+ EXPECT_EQ(SB_THREAT_TYPE_URL_CLIENT_SIDE_PHISHING, resource.threat_type); |
EXPECT_EQ(ThreatSource::CLIENT_SIDE_DETECTION, resource.threat_source); |
EXPECT_EQ(web_contents(), resource.web_contents_getter.Run()); |
@@ -860,7 +860,7 @@ TEST_F(ClientSideDetectionHostTest, |
EXPECT_EQ(malware_ip_url, resource.url); |
EXPECT_EQ(malware_landing_url, resource.original_url); |
EXPECT_TRUE(resource.is_subresource); |
- EXPECT_EQ(SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL, resource.threat_type); |
+ EXPECT_EQ(SB_THREAT_TYPE_URL_CLIENT_SIDE_MALWARE, resource.threat_type); |
EXPECT_EQ(ThreatSource::CLIENT_SIDE_DETECTION, resource.threat_source); |
EXPECT_EQ(web_contents(), resource.web_contents_getter.Run()); |