diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-20 21:18:10 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-20 21:18:10 +0000 |
commit | 273d0de7c54bfc083d753868fdb7d3063a860780 (patch) | |
tree | 9308e8530841558840c6c584bf7577b28954e65e /remoting/host/host_status_observer.h | |
parent | 1dc2961c69bb18a61b0572e8f7bc0b8449b8fd60 (diff) | |
download | chromium_src-273d0de7c54bfc083d753868fdb7d3063a860780.zip chromium_src-273d0de7c54bfc083d753868fdb7d3063a860780.tar.gz chromium_src-273d0de7c54bfc083d753868fdb7d3063a860780.tar.bz2 |
Limit number of failed connection attempts.
BUG=None
TEST=Host shuts down after 5 failed connection attempts
Review URL: http://codereview.chromium.org/7172021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89733 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/host_status_observer.h')
-rw-r--r-- | remoting/host/host_status_observer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/remoting/host/host_status_observer.h b/remoting/host/host_status_observer.h index e7fda0b..f38775a 100644 --- a/remoting/host/host_status_observer.h +++ b/remoting/host/host_status_observer.h @@ -19,6 +19,10 @@ class HostStatusObserver { const std::string& full_jid) = 0; virtual void OnSignallingDisconnected() = 0; + // Called on the network thread when an unauthorized user attempts + // to connect to the host. + virtual void OnAccessDenied() = 0; + // Called on the main thread when the host shuts down. virtual void OnShutdown() = 0; }; |