| Index: remoting/host/chromoting_host.h
|
| diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
|
| index 463d03c80c56d0babb43e5d9600bee6821d734cf..6b00b2e6962d4e95102be078887f270e0a3efcfd 100644
|
| --- a/remoting/host/chromoting_host.h
|
| +++ b/remoting/host/chromoting_host.h
|
| @@ -23,6 +23,8 @@ class WaitableEvent;
|
|
|
| namespace remoting {
|
|
|
| +class HostConfig;
|
| +
|
| // A class to implement the functionality of a host process.
|
| //
|
| // Here's the work flow of this class:
|
| @@ -52,9 +54,8 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
|
| public ClientConnection::EventHandler,
|
| public JingleClient::Callback {
|
| public:
|
| - ChromotingHost(const std::string& username, const std::string& auth_token,
|
| - Capturer* capturer, Encoder* encoder, EventExecutor* executor,
|
| - base::WaitableEvent* host_done);
|
| + ChromotingHost(HostConfig* config, Capturer* capturer, Encoder* encoder,
|
| + EventExecutor* executor, base::WaitableEvent* host_done);
|
| virtual ~ChromotingHost();
|
|
|
| // Run the host porcess. This method returns only after the message loop
|
| @@ -108,8 +109,7 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
|
| // A thread that hosts encode operations.
|
| base::Thread encode_thread_;
|
|
|
| - std::string username_;
|
| - std::string auth_token_;
|
| + scoped_refptr<HostConfig> config_;
|
|
|
| // Capturer to be used by SessionManager. Once the SessionManager is
|
| // constructed this is set to NULL.
|
|
|