Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: remoting/client/client_telemetry_logger.cc

Issue 1987163002: Add DOMAIN_MISMATCH message end to end (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep the order of ChromotingEvent list Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/client/client_telemetry_logger.cc
diff --git a/remoting/client/client_telemetry_logger.cc b/remoting/client/client_telemetry_logger.cc
index 9289c6e0d3eb1052e38ec57fffc089a74540053d..6db048493a0af2cff06890fb63915f7ce76edd7d 100644
--- a/remoting/client/client_telemetry_logger.cc
+++ b/remoting/client/client_telemetry_logger.cc
@@ -127,6 +127,8 @@ ChromotingEvent::ConnectionError ClientTelemetryLogger::TranslateError(
return ChromotingEvent::ConnectionError::INCOMPATIBLE_PROTOCOL;
case protocol::AUTHENTICATION_FAILED:
return ChromotingEvent::ConnectionError::AUTHENTICATION_FAILED;
+ case protocol::DOMAIN_MISMATCH:
+ return ChromotingEvent::ConnectionError::DOMAIN_MISMATCH;
case protocol::CHANNEL_CONNECTION_ERROR:
return ChromotingEvent::ConnectionError::P2P_FAILURE;
case protocol::SIGNALING_ERROR:

Powered by Google App Engine
This is Rietveld 408576698