Searched refs:last_errors (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/extensions/browser/api/cast_channel/
H A Dcast_channel_api.cc73 // Fills |error_info| from |error_state| and |last_errors|.
75 const LastErrors& last_errors,
78 if (last_errors.event_type != cast_channel::proto::EVENT_TYPE_UNKNOWN)
79 error_info->event_type.reset(new int(last_errors.event_type));
80 if (last_errors.challenge_reply_error_type !=
83 new int(last_errors.challenge_reply_error_type));
85 if (last_errors.net_return_value <= 0)
86 error_info->net_return_value.reset(new int(last_errors.net_return_value));
87 if (last_errors.nss_error_code < 0)
88 error_info->nss_error_code.reset(new int(last_errors
74 FillErrorInfo(ChannelError error_state, const LastErrors& last_errors, ErrorInfo* error_info) argument
142 OnError(const CastSocket* socket, cast_channel::ChannelError error_state, const cast_channel::LastErrors& last_errors) argument
[all...]
H A Dlogger.cc293 it->second->last_errors.event_type = socket_event.type();
295 it->second->last_errors.net_return_value = socket_event.net_return_value();
298 it->second->last_errors.challenge_reply_error_type =
302 it->second->last_errors.nss_error_code = socket_event.nss_error_code();
352 return it->second->last_errors;
H A Dlogger_unittest.cc113 LastErrors last_errors = logger_->GetLastErrors(2); local
114 EXPECT_EQ(last_errors.event_type, proto::AUTH_CHALLENGE_REPLY);
115 EXPECT_EQ(last_errors.net_return_value, 0);
116 EXPECT_EQ(last_errors.challenge_reply_error_type,
118 EXPECT_EQ(last_errors.nss_error_code, kTestNssErrorCode);
H A Dcast_channel_apitest.cc144 cast_channel::LastErrors last_errors; local
145 last_errors.challenge_reply_error_type =
147 last_errors.nss_error_code = -8164;
150 last_errors);
H A Dlogger.h107 LastErrors last_errors; member in struct:extensions::core_api::cast_channel::Logger::AggregatedSocketEventLog
H A Dcast_transport.h71 // An error occurred on the channel. |last_errors| contains the last errors
75 const LastErrors& last_errors) = 0;
H A Dcast_channel_api.h76 const cast_channel::LastErrors& last_errors) OVERRIDE;
H A Dcast_socket.h58 // An error occurred on the channel. |last_errors| contains the last errors
62 const LastErrors& last_errors) = 0;
H A Dcast_transport_unittest.cc128 const LastErrors& last_errors));
H A Dcast_socket_unittest.cc82 const LastErrors& last_errors));

Completed in 1419 milliseconds