summaryrefslogtreecommitdiffstats
path: root/remoting/host/chromoting_host.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 05:20:29 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 05:20:29 +0000
commit8de78b013c1754d83a67312b086a53bd6d593ab9 (patch)
tree652796af29d37bc785fd632e29526f4f6599b4c3 /remoting/host/chromoting_host.h
parent292918ca45e86e9b69188cba4a28f6d425e46ddb (diff)
downloadchromium_src-8de78b013c1754d83a67312b086a53bd6d593ab9.zip
chromium_src-8de78b013c1754d83a67312b086a53bd6d593ab9.tar.gz
chromium_src-8de78b013c1754d83a67312b086a53bd6d593ab9.tar.bz2
Introduce a fake HostStub since there's no need to handle it now
Also changed ChormotingHost to use it. BUG=None TEST=None Review URL: http://codereview.chromium.org/4975003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66389 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/chromoting_host.h')
-rw-r--r--remoting/host/chromoting_host.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index ab285ab..f3b908f 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -14,7 +14,6 @@
#include "remoting/host/heartbeat_sender.h"
#include "remoting/jingle_glue/jingle_client.h"
#include "remoting/jingle_glue/jingle_thread.h"
-#include "remoting/protocol/input_stub.h"
#include "remoting/protocol/session_manager.h"
#include "remoting/protocol/connection_to_client.h"
@@ -24,6 +23,8 @@ namespace remoting {
namespace protocol {
class ConnectionToClient;
+class HostStub;
+class InputStub;
class SessionConfig;
} // namespace protocol
@@ -133,6 +134,9 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
// InputStub in the host executes input events received from the client.
scoped_ptr<protocol::InputStub> input_stub_;
+ // HostStub in the host executes control events received from the client.
+ scoped_ptr<protocol::HostStub> host_stub_;
+
// The libjingle client. This is used to connect to the talk network to
// receive connection requests from chromoting client.
scoped_refptr<JingleClient> jingle_client_;