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

Unified Diff: remoting/client/chromoting_client.cc

Issue 6594138: Block event processing on host/client until the client has authenticated. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing source files Created 9 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 | « no previous file | remoting/client/input_handler.cc » ('j') | remoting/client/input_handler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client.cc
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index 0449d8f2edebe6f0112d54b2e4263170b8eed74b..d3384ae936ce0d41ede184b36ffb57570df9ebf7 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -233,6 +233,10 @@ void ChromotingClient::BeginSessionResponse(
return;
}
+ // Inform the connection that the client has been authenticated. This will
+ // enable the communication channels.
+ connection_->SetClientAuthenticated(msg->success());
Wez 2011/03/04 12:09:38 I'd recommend SetClientAuthenticated(bool) -> if (
garykac 2011/03/04 20:28:02 Done.
+
view_->UpdateLoginStatus(msg->success(), msg->error_info());
done->Run();
delete done;
« no previous file with comments | « no previous file | remoting/client/input_handler.cc » ('j') | remoting/client/input_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698