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

Unified Diff: remoting/protocol/authenticator.h

Issue 2724223003: Disconnect all users if too many connection requests are received for It2Me (Closed)
Patch Set: Fixing another non-Windows build error Created 3 years, 9 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/authenticator.h
diff --git a/remoting/protocol/authenticator.h b/remoting/protocol/authenticator.h
index 93ecfd72a3129a01da4ff243f50ac9963b274cc9..8add74cd87066b6af30dcafd93da9b5da919a4be 100644
--- a/remoting/protocol/authenticator.h
+++ b/remoting/protocol/authenticator.h
@@ -53,7 +53,7 @@ class Authenticator {
// Next message is ready to be sent to the peer.
MESSAGE_READY,
- // Session is authenticated successufully.
+ // Session is authenticated successfully.
ACCEPTED,
// Session is rejected.
@@ -68,6 +68,7 @@ class Authenticator {
INVALID_ACCOUNT,
PROTOCOL_ERROR,
REJECTED_BY_USER,
+ TOO_MANY_CONNECTIONS,
Sergey Ulanov 2017/03/15 22:25:33 Maybe add comments for each rejection reason? They
joedow 2017/03/16 21:32:18 Done.
};
// Callback used for layered Authenticator implementations, particularly
@@ -134,7 +135,7 @@ class AuthenticatorFactory {
// authenticator for the new session. |first_message| specifies
// authentication part of the session-initiate stanza so that
// appropriate type of Authenticator can be chosen for the session
- // (useful when multiple authenticators is supported). Returns nullptr
+ // (useful when multiple authenticators are supported). Returns nullptr
// if the |first_message| is invalid and the session should be
// rejected. ProcessMessage() should be called with |first_message|
// for the result of this method.

Powered by Google App Engine
This is Rietveld 408576698