summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/jingle_chromoting_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/protocol/jingle_chromoting_connection.h')
-rw-r--r--remoting/protocol/jingle_chromoting_connection.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/remoting/protocol/jingle_chromoting_connection.h b/remoting/protocol/jingle_chromoting_connection.h
index ada4ead..cc54182 100644
--- a/remoting/protocol/jingle_chromoting_connection.h
+++ b/remoting/protocol/jingle_chromoting_connection.h
@@ -41,9 +41,8 @@ class JingleChromotingConnection : public ChromotingConnection,
virtual net::Socket* GetVideoRtpChannel();
virtual net::Socket* GetVideoRtcpChannel();
- // No synchronization is needed because jid_ is not changed
- // after new connection is passed to JingleChromotingServer callback.
- virtual const std::string& jid() { return jid_; };
+ virtual const std::string& jid();
+ virtual MessageLoop* message_loop();
virtual void Close(Task* closed_task);
@@ -68,7 +67,7 @@ class JingleChromotingConnection : public ChromotingConnection,
void SetState(State new_state);
// JingleChromotingServer that created this connection.
- scoped_refptr<JingleChromotingServer> session_client_;
+ scoped_refptr<JingleChromotingServer> server_;
State state_;
scoped_ptr<StateChangeCallback> state_change_callback_;