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

Unified Diff: remoting/host/client_session.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/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.h
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index 12962ce5844d50e668361d05459f29e343f26c9a..d9cd337550f39cd44929c0680c158451cb18ffcf 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -72,6 +72,8 @@ class ClientSession : public protocol::HostStub,
awaiting_continue_approval_ = awaiting;
}
+ const std::string& client_jid() { return client_jid_; }
+
// Indicate that local mouse activity has been detected. This causes remote
// inputs to be ignored for a short time so that the local user will always
// have the upper hand in 'pointer wars'.
@@ -102,6 +104,8 @@ class ClientSession : public protocol::HostStub,
// The connection to the client.
scoped_refptr<protocol::ConnectionToClient> connection_;
+ std::string client_jid_;
+
// The input stub to which this object delegates.
protocol::InputStub* input_stub_;
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698