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

Unified Diff: remoting/host/host_status_observer.h

Issue 7134023: Notify calling web-app when Host plugin becomes connected to a client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove blank line from rebase. Created 9 years, 6 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 | « remoting/host/host_script_object.cc ('k') | remoting/host/register_support_host_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_status_observer.h
diff --git a/remoting/host/host_status_observer.h b/remoting/host/host_status_observer.h
index 45bdd22918d69822aacce2cc36b56635b35df18e..fc158ec73984439642fa73a6ee3a12911bbe87da 100644
--- a/remoting/host/host_status_observer.h
+++ b/remoting/host/host_status_observer.h
@@ -25,6 +25,11 @@ class HostStatusObserver {
// to connect to the host.
virtual void OnAccessDenied() = 0;
+ // Called on the main thread when a client authenticates, or disconnects.
+ // The observer must not tear-down ChromotingHost state on receipt of
+ // this callback; it is purely informational.
+ virtual void OnAuthenticatedClientsChanged(int authenticated_clients) = 0;
+
// Called on the main thread when the host shuts down.
virtual void OnShutdown() = 0;
};
« no previous file with comments | « remoting/host/host_script_object.cc ('k') | remoting/host/register_support_host_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698