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

Unified Diff: remoting/protocol/session.h

Issue 12389010: Refactor of Authenticator to allow it to ProcessMessage asynchronously and then call a callback (Closed) Base URL: http://git.chromium.org/chromium/src.git@host_key_pair
Patch Set: Rebase missed one include Created 7 years, 10 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
« no previous file with comments | « remoting/protocol/negotiating_authenticator.cc ('k') | remoting/protocol/v2_authenticator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/session.h
diff --git a/remoting/protocol/session.h b/remoting/protocol/session.h
index daa12e478c6f6e9261877b44f7a151f4d4872031..a542283001e6ced5fbb0359d11895c9a2442d9cd 100644
--- a/remoting/protocol/session.h
+++ b/remoting/protocol/session.h
@@ -29,11 +29,12 @@ class Session {
// Created, but not connecting yet.
INITIALIZING,
- // Sent or received session-initiate, but haven't sent or received
- // session-accept.
- // TODO(sergeyu): Do we really need this state?
+ // Sent session-initiate, but haven't received session-accept.
CONNECTING,
+ // Received session-initiate, but haven't sent session-accept.
+ ACCEPTING,
+
// Session has been accepted and is pending authentication.
CONNECTED,
« no previous file with comments | « remoting/protocol/negotiating_authenticator.cc ('k') | remoting/protocol/v2_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698