Index: extensions/browser/api/cast_channel/logger_unittest.cc |
diff --git a/extensions/browser/api/cast_channel/logger_unittest.cc b/extensions/browser/api/cast_channel/logger_unittest.cc |
index 247ef00f772da38a47fb0ba616a16bee22d0117a..eefaea7aa10287aba101b0c14e6b0f90b0c1c50b 100644 |
--- a/extensions/browser/api/cast_channel/logger_unittest.cc |
+++ b/extensions/browser/api/cast_channel/logger_unittest.cc |
@@ -109,7 +109,7 @@ TEST_F(CastChannelLoggerTest, BasicLogging) { |
auth_result = |
AuthResult::CreateWithNSSError("Parsing failed", |
- AuthResult::ERROR_NSS_CERT_PARSING_FAILED, |
+ AuthResult::ERROR_CERT_PARSING_FAILED, |
kTestNssErrorCode); |
logger_->LogSocketChallengeReplyEvent(2, auth_result); |
@@ -117,7 +117,7 @@ TEST_F(CastChannelLoggerTest, BasicLogging) { |
EXPECT_EQ(last_errors.event_type, proto::AUTH_CHALLENGE_REPLY); |
EXPECT_EQ(last_errors.net_return_value, net::OK); |
EXPECT_EQ(last_errors.challenge_reply_error_type, |
- proto::CHALLENGE_REPLY_ERROR_NSS_CERT_PARSING_FAILED); |
+ proto::CHALLENGE_REPLY_ERROR_CERT_PARSING_FAILED); |
EXPECT_EQ(last_errors.nss_error_code, kTestNssErrorCode); |
scoped_ptr<Log> log = GetLog(); |
@@ -177,7 +177,7 @@ TEST_F(CastChannelLoggerTest, BasicLogging) { |
const SocketEvent& event = aggregated_socket_event.socket_event(3); |
EXPECT_EQ(EventType::AUTH_CHALLENGE_REPLY, event.type()); |
EXPECT_EQ(6, event.timestamp_micros()); |
- EXPECT_EQ(proto::CHALLENGE_REPLY_ERROR_NSS_CERT_PARSING_FAILED, |
+ EXPECT_EQ(proto::CHALLENGE_REPLY_ERROR_CERT_PARSING_FAILED, |
event.challenge_reply_error_type()); |
EXPECT_FALSE(event.has_net_return_value()); |
EXPECT_EQ(kTestNssErrorCode, event.nss_error_code()); |