| 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 <windows.h> | 5 #include <windows.h> |
| 6 | 6 |
| 7 #include "remoting/host/host_main.h" | 7 #include "remoting/host/host_main.h" |
| 8 | 8 |
| 9 // The common entry point for remoting_host.exe and remoting_desktop.exe. In | 9 // The common entry point for remoting_host.exe and remoting_desktop.exe. In |
| 10 // order to be really small the app doesn't link against the CRT. | 10 // order to be really small the app doesn't link against the CRT. |
| 11 void HostEntryPoint() { | 11 void HostEntryPoint() { |
| 12 // CommandLine::Init() ignores the passed parameters on Windows, so it is safe | 12 // CommandLine::Init() ignores the passed parameters on Windows, so it is safe |
| 13 // to pass NULL here. | 13 // to pass nullptr here. |
| 14 int exit_code = remoting::HostMain(0, NULL); | 14 int exit_code = remoting::HostMain(0, nullptr); |
| 15 ExitProcess(exit_code); | 15 ExitProcess(exit_code); |
| 16 } | 16 } |
| OLD | NEW |