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

Unified Diff: remoting/host/client_session.cc

Issue 205583011: [Draft] Fix canceling pin prompt causes host overload (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedbacks from sergey Created 6 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/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index 6057f122a80b73f814319db05887a3564e8dca31..ea97300a7e393ce01b826e828dc225f835d87512 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -210,6 +210,12 @@ void ClientSession::DeliverClientMessage(
<< message.type() << ": " << message.data();
}
+void ClientSession::OnConnectionAuthenticating(
+ protocol::ConnectionToClient* connection) {
+ DCHECK(event_handler_);
Sergey Ulanov 2014/03/26 01:49:16 nit: don't need this DCHECK.
kelvinp 2014/03/27 03:23:21 Done.
+ event_handler_->OnSessionAuthenticating(this);
+}
+
void ClientSession::OnConnectionAuthenticated(
protocol::ConnectionToClient* connection) {
DCHECK(CalledOnValidThread());

Powered by Google App Engine
This is Rietveld 408576698