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

Unified Diff: remoting/host/host_status_observer.h

Issue 7867019: Access Session::config() and Session::jid() on the correct thread only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 9 years, 3 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/heartbeat_sender.cc ('k') | remoting/host/plugin/host_script_object.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 3de73fde6ed0216e66f10f8df2b9622594679649..132dc9854ffea005039d44bfeac0bb5669b08158 100644
--- a/remoting/host/host_status_observer.h
+++ b/remoting/host/host_status_observer.h
@@ -31,10 +31,8 @@ class HostStatusObserver {
// 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 OnClientAuthenticated(
- remoting::protocol::ConnectionToClient* client) = 0;
- virtual void OnClientDisconnected(
- remoting::protocol::ConnectionToClient* client) = 0;
+ virtual void OnClientAuthenticated(const std::string& jid) = 0;
+ virtual void OnClientDisconnected(const std::string& jid) = 0;
// Called on the main thread when the host shuts down.
virtual void OnShutdown() = 0;
« no previous file with comments | « remoting/host/heartbeat_sender.cc ('k') | remoting/host/plugin/host_script_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698