Index: net/http/http_network_transaction_unittest.cc |
=================================================================== |
--- net/http/http_network_transaction_unittest.cc (revision 98481) |
+++ net/http/http_network_transaction_unittest.cc (working copy) |
@@ -4326,7 +4326,7 @@ |
// Setup state in response_ |
HttpResponseInfo* response = &trans->response_; |
response->auth_challenge = new AuthChallengeInfo(); |
- response->ssl_info.cert_status = -15; |
+ response->ssl_info.cert_status = static_cast<CertStatus>(-15); |
response->response_time = base::Time::Now(); |
response->was_cached = true; // (Wouldn't ever actually be true...) |
@@ -4350,7 +4350,7 @@ |
EXPECT_TRUE(response->auth_challenge.get() == NULL); |
EXPECT_TRUE(response->headers.get() == NULL); |
EXPECT_FALSE(response->was_cached); |
- EXPECT_EQ(0, response->ssl_info.cert_status); |
+ EXPECT_EQ(CERT_STATUS_NO_ERROR, response->ssl_info.cert_status); |
EXPECT_FALSE(response->vary_data.is_valid()); |
} |