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 "remoting/host/desktop_process.h" | 8 #include "remoting/host/desktop_process.h" |
9 | 9 |
10 #include "base/at_exit.h" | 10 #include "base/at_exit.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/scoped_native_library.h" | 14 #include "base/scoped_native_library.h" |
15 #include "base/stringprintf.h" | 15 #include "base/stringprintf.h" |
16 #include "base/utf_string_conversions.h" | 16 #include "base/utf_string_conversions.h" |
17 #include "base/win/windows_version.h" | 17 #include "base/win/windows_version.h" |
18 #include "remoting/host/branding.h" | 18 #include "remoting/host/branding.h" |
19 #include "remoting/host/host_exit_codes.h" | 19 #include "remoting/host/constants.h" |
20 #include "remoting/host/usage_stats_consent.h" | 20 #include "remoting/host/usage_stats_consent.h" |
21 | 21 |
22 #if defined(OS_MACOSX) | 22 #if defined(OS_MACOSX) |
23 #include "base/mac/scoped_nsautorelease_pool.h" | 23 #include "base/mac/scoped_nsautorelease_pool.h" |
24 #endif // defined(OS_MACOSX) | 24 #endif // defined(OS_MACOSX) |
25 | 25 |
26 #if defined(OS_WIN) | 26 #if defined(OS_WIN) |
27 #include <commctrl.h> | 27 #include <commctrl.h> |
28 #endif // defined(OS_WIN) | 28 #endif // defined(OS_WIN) |
29 | 29 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 user32.GetFunctionPointer("SetProcessDPIAware")); | 130 user32.GetFunctionPointer("SetProcessDPIAware")); |
131 set_process_dpi_aware(); | 131 set_process_dpi_aware(); |
132 } | 132 } |
133 | 133 |
134 // CommandLine::Init() ignores the passed |argc| and |argv| on Windows getting | 134 // CommandLine::Init() ignores the passed |argc| and |argv| on Windows getting |
135 // the command line from GetCommandLineW(), so we can safely pass NULL here. | 135 // the command line from GetCommandLineW(), so we can safely pass NULL here. |
136 return main(0, NULL); | 136 return main(0, NULL); |
137 } | 137 } |
138 | 138 |
139 #endif // defined(OS_WIN) | 139 #endif // defined(OS_WIN) |
OLD | NEW |