| Index: remoting/host/desktop_process.h
|
| diff --git a/remoting/host/desktop_process.h b/remoting/host/desktop_process.h
|
| index e95971ee00067a7a1a13ad2fdaaad441a1d29e9b..a79f27f5f04cd1bf52549053a4fdc211f3bc35d9 100644
|
| --- a/remoting/host/desktop_process.h
|
| +++ b/remoting/host/desktop_process.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "ipc/ipc_listener.h"
|
| +#include "remoting/host/desktop_session_agent.h"
|
|
|
| namespace IPC {
|
| class ChannelProxy;
|
| @@ -22,12 +23,17 @@ namespace remoting {
|
| class AutoThreadTaskRunner;
|
| class DesktopSessionAgent;
|
|
|
| -class DesktopProcess : public IPC::Listener {
|
| +class DesktopProcess : public DesktopSessionAgent::Delegate,
|
| + public IPC::Listener {
|
| public:
|
| DesktopProcess(scoped_refptr<AutoThreadTaskRunner> caller_task_runner,
|
| const std::string& daemon_channel_name);
|
| virtual ~DesktopProcess();
|
|
|
| + // DesktopSessionAgent::Delegate implementation.
|
| + virtual void OnNetworkProcessDisconnected() OVERRIDE;
|
| + virtual void InjectSas() OVERRIDE;
|
| +
|
| // IPC::Listener implementation.
|
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
| virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
|
|
|