OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_HOST_DESKTOP_PROCESS_H_ | 5 #ifndef REMOTING_HOST_DESKTOP_PROCESS_H_ |
6 #define REMOTING_HOST_DESKTOP_PROCESS_H_ | 6 #define REMOTING_HOST_DESKTOP_PROCESS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "ipc/ipc_listener.h" | 18 #include "ipc/ipc_listener.h" |
19 #include "mojo/public/cpp/system/message_pipe.h" | 19 #include "mojo/public/cpp/system/message_pipe.h" |
20 #include "remoting/host/desktop_session_agent.h" | 20 #include "remoting/host/desktop_session_agent.h" |
21 | 21 |
22 namespace IPC { | 22 namespace IPC { |
23 class ChannelProxy; | 23 class ChannelProxy; |
24 } // namespace IPC | 24 } // namespace IPC |
25 | 25 |
26 namespace remoting { | 26 namespace remoting { |
27 | 27 |
28 class AutoThreadTaskRunner; | 28 class AutoThreadTaskRunner; |
29 class DesktopEnvironment; | |
30 class DesktopEnvironmentFactory; | 29 class DesktopEnvironmentFactory; |
31 class DesktopSessionAgent; | 30 class DesktopSessionAgent; |
32 | 31 |
33 class DesktopProcess : public DesktopSessionAgent::Delegate, | 32 class DesktopProcess : public DesktopSessionAgent::Delegate, |
34 public IPC::Listener, | 33 public IPC::Listener, |
35 public base::SupportsWeakPtr<DesktopProcess> { | 34 public base::SupportsWeakPtr<DesktopProcess> { |
36 public: | 35 public: |
37 DesktopProcess(scoped_refptr<AutoThreadTaskRunner> caller_task_runner, | 36 DesktopProcess(scoped_refptr<AutoThreadTaskRunner> caller_task_runner, |
38 scoped_refptr<AutoThreadTaskRunner> input_task_runner, | 37 scoped_refptr<AutoThreadTaskRunner> input_task_runner, |
39 scoped_refptr<AutoThreadTaskRunner> io_task_runner, | 38 scoped_refptr<AutoThreadTaskRunner> io_task_runner, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 // Provides screen/audio capturing and input injection services for | 89 // Provides screen/audio capturing and input injection services for |
91 // the network process. | 90 // the network process. |
92 scoped_refptr<DesktopSessionAgent> desktop_agent_; | 91 scoped_refptr<DesktopSessionAgent> desktop_agent_; |
93 | 92 |
94 DISALLOW_COPY_AND_ASSIGN(DesktopProcess); | 93 DISALLOW_COPY_AND_ASSIGN(DesktopProcess); |
95 }; | 94 }; |
96 | 95 |
97 } // namespace remoting | 96 } // namespace remoting |
98 | 97 |
99 #endif // REMOTING_HOST_DESKTOP_PROCESS_H_ | 98 #endif // REMOTING_HOST_DESKTOP_PROCESS_H_ |
OLD | NEW |