summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/connection_to_client.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 20:18:40 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 20:18:40 +0000
commitd462298cf2a54318e0f1ad0126ed0b3cab952f4f (patch)
treea222a397c78cffbab3050b8d950ee65b9b305f66 /remoting/protocol/connection_to_client.h
parentd931741758670a6310cdfc2a776f046e428e846b (diff)
downloadchromium_src-d462298cf2a54318e0f1ad0126ed0b3cab952f4f.zip
chromium_src-d462298cf2a54318e0f1ad0126ed0b3cab952f4f.tar.gz
chromium_src-d462298cf2a54318e0f1ad0126ed0b3cab952f4f.tar.bz2
Revert "Fix crashes in ChromotingHost"
Reverting the patch since it exposed several memory leaks and threading problems. TBR=thakis BUG=70935 TEST=None Review URL: http://codereview.chromium.org/6266023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72679 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/connection_to_client.h')
-rw-r--r--remoting/protocol/connection_to_client.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h
index b7aa052..749ef5c 100644
--- a/remoting/protocol/connection_to_client.h
+++ b/remoting/protocol/connection_to_client.h
@@ -55,10 +55,10 @@ class ConnectionToClient :
virtual ~ConnectionToClient();
- virtual void Init(Session* session);
+ virtual void Init(protocol::Session* session);
// Returns the connection in use.
- virtual Session* session();
+ virtual protocol::Session* session();
// Disconnect the client connection. This method is allowed to be called
// more than once and calls after the first one will be ignored.
@@ -78,15 +78,15 @@ class ConnectionToClient :
private:
// Callback for protocol Session.
- void OnSessionStateChange(Session::State state);
+ void OnSessionStateChange(protocol::Session::State state);
// Process a libjingle state change event on the |loop_|.
- void StateChangeTask(Session::State state);
+ void StateChangeTask(protocol::Session::State state);
void OnClosed();
// The libjingle channel used to send and receive data from the remote client.
- scoped_refptr<Session> session_;
+ scoped_refptr<protocol::Session> session_;
scoped_ptr<VideoWriter> video_writer_;