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

Unified Diff: remoting/protocol/session.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/session.h
diff --git a/remoting/protocol/session.h b/remoting/protocol/session.h
index a542283001e6ced5fbb0359d11895c9a2442d9cd..d370c785ead02b7fc939d7f004680aa006076ac5 100644
--- a/remoting/protocol/session.h
+++ b/remoting/protocol/session.h
@@ -69,6 +69,9 @@ class Session {
// means and how it can used.
virtual void OnSessionChannelReady(const std::string& channel_name,
bool ready) {}
+
+ // Called when the session begins authentication
+ virtual void OnSessionAuthenticationBegin() {};
Sergey Ulanov 2014/03/24 18:42:36 Instead of adding this callback I think it would b
Sergey Ulanov 2014/03/24 18:42:36 If you keep this method: s/Begin/Started/ for cons
kelvinp 2014/03/24 23:11:39 Done.
kelvinp 2014/03/24 23:11:39 I have added the extra state instead
};

Powered by Google App Engine
This is Rietveld 408576698