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_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ | 5 #ifndef REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ |
6 #define REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ | 6 #define REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/single_thread_task_runner.h" |
12 #include "remoting/host/me2me_desktop_environment.h" | 13 #include "remoting/host/me2me_desktop_environment.h" |
13 | 14 |
14 namespace remoting { | 15 namespace remoting { |
15 | 16 |
16 // Used to create audio/video capturers and event executor that are compatible | 17 // Used to create audio/video capturers and event executor that are compatible |
17 // with Windows sessions. | 18 // with Windows sessions. |
18 class SessionDesktopEnvironment : public Me2MeDesktopEnvironment { | 19 class SessionDesktopEnvironment : public Me2MeDesktopEnvironment { |
19 public: | 20 public: |
20 ~SessionDesktopEnvironment() override; | 21 ~SessionDesktopEnvironment() override; |
21 | 22 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 66 |
66 // Used to lock the workstation for the current session. | 67 // Used to lock the workstation for the current session. |
67 base::Closure lock_workstation_; | 68 base::Closure lock_workstation_; |
68 | 69 |
69 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory); | 70 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory); |
70 }; | 71 }; |
71 | 72 |
72 } // namespace remoting | 73 } // namespace remoting |
73 | 74 |
74 #endif // REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ | 75 #endif // REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ |
OLD | NEW |