Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Unified Diff: remoting/host/win/daemon_process_main.cc

Issue 11970044: Merged all Chromoting Host code into remoting_core.dll (Windows). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: host_ui_resource.h has been deleted. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
+}

Powered by Google App Engine
This is Rietveld 408576698