Index: remoting/host/chromoting_host.h |
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h |
index bc470e7b98808ab0a0c4fc9509ddd782d2a42930..1a3aa07ec5eac98632ecbc50fa3d5891e773bdee 100644 |
--- a/remoting/host/chromoting_host.h |
+++ b/remoting/host/chromoting_host.h |
@@ -64,13 +64,14 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>, |
public protocol::ConnectionToClient::EventHandler, |
public JingleClient::Callback { |
public: |
- // Factory methods that must be used to create ChromotingHost |
- // instances. Default capturer is used if it is not specified. |
+ // Factory methods that must be used to create ChromotingHost instances. |
+ // Default capturer and input stub are used if it is not specified. |
static ChromotingHost* Create(ChromotingHostContext* context, |
MutableHostConfig* config); |
static ChromotingHost* Create(ChromotingHostContext* context, |
MutableHostConfig* config, |
- Capturer* capturer); |
+ Capturer* capturer, |
+ protocol::InputStub* input_stub); |
// Asynchronously start the host process. |
// |
@@ -114,7 +115,7 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>, |
private: |
friend class base::RefCountedThreadSafe<ChromotingHost>; |
ChromotingHost(ChromotingHostContext* context, MutableHostConfig* config, |
- Capturer* capturer); |
+ Capturer* capturer, protocol::InputStub* input_stub); |
virtual ~ChromotingHost(); |
enum State { |