| 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 #include "remoting/host/curtain_mode.h" | 5 #include "remoting/host/curtain_mode.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/macros.h" |
| 8 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
| 9 #include "base/win/windows_version.h" | 10 #include "base/win/windows_version.h" |
| 10 #include "remoting/host/client_session_control.h" | 11 #include "remoting/host/client_session_control.h" |
| 11 | 12 |
| 12 namespace remoting { | 13 namespace remoting { |
| 13 | 14 |
| 14 class CurtainModeWin : public CurtainMode { | 15 class CurtainModeWin : public CurtainMode { |
| 15 public: | 16 public: |
| 16 CurtainModeWin(); | 17 CurtainModeWin(); |
| 17 | 18 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 47 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, | 48 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, |
| 48 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, | 49 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, |
| 49 base::WeakPtr<ClientSessionControl> client_session_control) { | 50 base::WeakPtr<ClientSessionControl> client_session_control) { |
| 50 // |client_session_control| is not used because the client session is | 51 // |client_session_control| is not used because the client session is |
| 51 // disconnected as soon as the session is re-attached to the local console. | 52 // disconnected as soon as the session is re-attached to the local console. |
| 52 // See RdpDesktopSession for more details. | 53 // See RdpDesktopSession for more details. |
| 53 return make_scoped_ptr(new CurtainModeWin()); | 54 return make_scoped_ptr(new CurtainModeWin()); |
| 54 } | 55 } |
| 55 | 56 |
| 56 } // namespace remoting | 57 } // namespace remoting |
| OLD | NEW |