Index: remoting/protocol/session.h |
diff --git a/remoting/protocol/session.h b/remoting/protocol/session.h |
index a542283001e6ced5fbb0359d11895c9a2442d9cd..232a1d04bf6fc4c91de4958b7b6e63a2e950b291 100644 |
--- a/remoting/protocol/session.h |
+++ b/remoting/protocol/session.h |
@@ -38,6 +38,9 @@ class Session { |
// Session has been accepted and is pending authentication. |
CONNECTED, |
+ // Session has started authenticating. |
+ AUTHENTICATING, |
+ |
// Session has been connected and authenticated. |
AUTHENTICATED, |
@@ -54,8 +57,8 @@ class Session { |
virtual ~EventHandler() {} |
// Called after session state has changed. It is safe to destroy |
- // the session from within the handler if |state| is CLOSED or |
- // FAILED. |
+ // the session from within the handler if |state| is AUTHENTICATING |
+ // or CLOSED or FAILED. |
virtual void OnSessionStateChange(State state) = 0; |
// Called whenever route for the channel specified with |