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

Unified Diff: remoting/host/chromoting_host.cc

Issue 7547001: Propagate connected user to web app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 5 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 | « no previous file | remoting/host/heartbeat_sender.h » ('j') | remoting/host/plugin/host_script_object.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.cc
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index a1e0e5197914de614363758ade03b0a35eb87e47..9398d3d9d2e6365a9f5621170e7be4e4b2658692 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -402,7 +402,7 @@ void ChromotingHost::OnClientDisconnected(ConnectionToClient* connection) {
if (old_authenticated_clients != authenticated_clients) {
for (StatusObserverList::iterator it = status_observers_.begin();
it != status_observers_.end(); ++it) {
- (*it)->OnAuthenticatedClientsChanged(authenticated_clients);
+ (*it)->OnClientDisconnected(connection);
}
}
@@ -518,7 +518,7 @@ void ChromotingHost::LocalLoginSucceeded(
// Notify observers that there is at least one authenticated client.
for (StatusObserverList::iterator it = status_observers_.begin();
it != status_observers_.end(); ++it) {
- (*it)->OnAuthenticatedClientsChanged(AuthenticatedClientsCount());
+ (*it)->OnClientAuthenticated(connection);
}
}
« no previous file with comments | « no previous file | remoting/host/heartbeat_sender.h » ('j') | remoting/host/plugin/host_script_object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698