| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/win/chromoting_module.h" | 5 #include "remoting/host/win/chromoting_module.h" |
| 6 | 6 |
| 7 #include <sddl.h> | 7 #include <sddl.h> |
| 8 | 8 |
| 9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 12 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
| 13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 14 #include "base/win/scoped_handle.h" | 14 #include "base/win/scoped_handle.h" |
| 15 #include "base/win/windows_version.h" | 15 #include "base/win/windows_version.h" |
| 16 #include "remoting/base/auto_thread_task_runner.h" | 16 #include "remoting/base/auto_thread_task_runner.h" |
| 17 #include "remoting/base/typed_buffer.h" | 17 #include "remoting/base/typed_buffer.h" |
| 18 #include "remoting/host/host_exit_codes.h" | 18 #include "remoting/host/host_exit_codes.h" |
| 19 #include "remoting/host/win/com_security.h" | 19 #include "remoting/host/win/com_security.h" |
| 20 #include "remoting/host/win/elevated_controller.h" | 20 #include "remoting/host/win/elevated_controller.h" |
| 21 #include "remoting/host/win/rdp_desktop_session.h" | 21 #include "remoting/host/win/rdp_desktop_session.h" |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 | 223 |
| 224 ATL::_ATL_OBJMAP_ENTRY rdp_client_entry[] = { | 224 ATL::_ATL_OBJMAP_ENTRY rdp_client_entry[] = { |
| 225 OBJECT_ENTRY(__uuidof(RdpDesktopSession), RdpDesktopSession) | 225 OBJECT_ENTRY(__uuidof(RdpDesktopSession), RdpDesktopSession) |
| 226 }; | 226 }; |
| 227 | 227 |
| 228 ChromotingModule module(rdp_client_entry, rdp_client_entry + 1); | 228 ChromotingModule module(rdp_client_entry, rdp_client_entry + 1); |
| 229 return module.Run() ? kSuccessExitCode : kInitializationFailed; | 229 return module.Run() ? kSuccessExitCode : kInitializationFailed; |
| 230 } | 230 } |
| 231 | 231 |
| 232 } // namespace remoting | 232 } // namespace remoting |
| OLD | NEW |