Index: remoting/host/win/daemon_process_main.cc |
diff --git a/remoting/host/win/daemon_process_main.cc b/remoting/host/win/daemon_process_main.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..16aaf48e0ac796e1d78d31a95ab0e019a8bbf528 |
--- /dev/null |
+++ b/remoting/host/win/daemon_process_main.cc |
@@ -0,0 +1,14 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include <windows.h> |
+ |
+#include "remoting/host/win/host_service.h" |
+ |
+// The entry point of the daemon process binary. In order to be really small |
+// the app doesn't link against the CRT. |
+void DaemonProcessMain() { |
Sergey Ulanov
2013/01/18 21:14:55
why not main()?
alexeypa (please no reviews)
2013/01/18 22:06:10
main() implies that CRT is here and initialized.
Sergey Ulanov
2013/01/24 20:02:11
Ok, I see now. Maybe then call it DaemonProcessEnt
alexeypa (please no reviews)
2013/01/28 21:57:29
Done.
|
+ int exit_code = remoting::RunDaemonProcess(); |
+ ExitProcess(exit_code); |
+} |