Index: remoting/protocol/session_manager.h |
diff --git a/remoting/protocol/session_manager.h b/remoting/protocol/session_manager.h |
index 1a3e8aa4dd267e080f13f442216ce6d234decd10..2cc575914650f4dcc1c1f6daf4eeb79c02a0b1c8 100644 |
--- a/remoting/protocol/session_manager.h |
+++ b/remoting/protocol/session_manager.h |
@@ -110,8 +110,18 @@ class SessionManager : public base::NonThreadSafe { |
virtual ~SessionManager() { } |
enum IncomingSessionResponse { |
+ // Accept the session. |
ACCEPT, |
+ |
+ // Reject the session due to incompatible session configuration. |
INCOMPATIBLE, |
+ |
+ // Reject the session because the host is currently disabled due |
+ // to previous login attempts. |
+ DISABLED, |
Wez
2012/03/27 16:23:56
nit: "DISABLED" seems like a bad name for this, si
Sergey Ulanov
2012/03/27 18:00:52
There is HOST_IS_OFFLINE error code that we use to
Wez
2012/03/27 19:49:41
If we have "offline" and "disabled" then it's natu
|
+ |
+ // Reject the session because the client is not allowed to connect |
+ // to the host. |
DECLINE, |
}; |