| 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 // This file implements the Windows service controlling Me2Me host processes | 5 // This file implements the Windows service controlling Me2Me host processes |
| 6 // running within user sessions. | 6 // running within user sessions. |
| 7 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 13 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
| 14 #include "build/build_config.h" |
| 14 #include "remoting/base/auto_thread.h" | 15 #include "remoting/base/auto_thread.h" |
| 15 #include "remoting/base/auto_thread_task_runner.h" | 16 #include "remoting/base/auto_thread_task_runner.h" |
| 16 #include "remoting/host/desktop_process.h" | 17 #include "remoting/host/desktop_process.h" |
| 17 #include "remoting/host/host_exit_codes.h" | 18 #include "remoting/host/host_exit_codes.h" |
| 18 #include "remoting/host/host_main.h" | 19 #include "remoting/host/host_main.h" |
| 19 #include "remoting/host/me2me_desktop_environment.h" | 20 #include "remoting/host/me2me_desktop_environment.h" |
| 20 #include "remoting/host/switches.h" | 21 #include "remoting/host/switches.h" |
| 21 #include "remoting/host/win/session_desktop_environment.h" | 22 #include "remoting/host/win/session_desktop_environment.h" |
| 22 | 23 |
| 23 namespace remoting { | 24 namespace remoting { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 return kSuccessExitCode; | 74 return kSuccessExitCode; |
| 74 } | 75 } |
| 75 | 76 |
| 76 } // namespace remoting | 77 } // namespace remoting |
| 77 | 78 |
| 78 #if !defined(OS_WIN) | 79 #if !defined(OS_WIN) |
| 79 int main(int argc, char** argv) { | 80 int main(int argc, char** argv) { |
| 80 return remoting::HostMain(argc, argv); | 81 return remoting::HostMain(argc, argv); |
| 81 } | 82 } |
| 82 #endif // !defined(OS_WIN) | 83 #endif // !defined(OS_WIN) |
| OLD | NEW |