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

Unified Diff: remoting/protocol/jingle_session.cc

Issue 2277553002: Adding a new authenticator which can be used to validate the remote user (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@policy_change
Patch Set: Addressing Feedback Created 4 years, 4 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/protocol/jingle_session.cc
diff --git a/remoting/protocol/jingle_session.cc b/remoting/protocol/jingle_session.cc
index ddef7589afd95eff4782fe1e509cf20c84a94ef6..90f7e9e7f42f78bdecbbaebf99dc459959141548 100644
--- a/remoting/protocol/jingle_session.cc
+++ b/remoting/protocol/jingle_session.cc
@@ -56,6 +56,8 @@ ErrorCode AuthRejectionReasonToErrorCode(
return INCOMPATIBLE_PROTOCOL;
case Authenticator::INVALID_ACCOUNT:
return INVALID_ACCOUNT;
+ case Authenticator::REJECTED_BY_USER:
+ return SESSION_REJECTED;
}
NOTREACHED();
return UNKNOWN_ERROR;

Powered by Google App Engine
This is Rietveld 408576698