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

Unified Diff: remoting/protocol/connection_to_client.h

Issue 205583011: [Draft] Fix canceling pin prompt causes host overload (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing .gitIngore 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/protocol/connection_to_client.h
diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h
index 986530708497f5b52ca685be606ea5bd270fe7a8..c0fd2931b4779865f1e43c2382a501929463f701 100644
--- a/remoting/protocol/connection_to_client.h
+++ b/remoting/protocol/connection_to_client.h
@@ -38,6 +38,9 @@ class ConnectionToClient : public base::NonThreadSafe,
public:
class EventHandler {
public:
+ // Called when the network connection is Authenticating
+ virtual void OnConnectionAuthenticating(ConnectionToClient* connection) = 0;
+
// Called when the network connection is authenticated.
virtual void OnConnectionAuthenticated(ConnectionToClient* connection) = 0;
@@ -101,6 +104,7 @@ class ConnectionToClient : public base::NonThreadSafe,
virtual InputStub* input_stub();
// Session::EventHandler interface.
+ virtual void OnSessionAuthenticationBegin() OVERRIDE;
virtual void OnSessionStateChange(Session::State state) OVERRIDE;
virtual void OnSessionRouteChange(const std::string& channel_name,
const TransportRoute& route) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698