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 // This file implements the common entry point shared by all Chromoting Host | 5 // This file implements the common entry point shared by all Chromoting Host |
6 // processes. | 6 // processes. |
7 | 7 |
8 #include "remoting/host/host_main.h" | 8 #include "remoting/host/host_main.h" |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 if (exit_code == kUsageExitCode) { | 230 if (exit_code == kUsageExitCode) { |
231 Usage(command_line->GetProgram()); | 231 Usage(command_line->GetProgram()); |
232 } | 232 } |
233 | 233 |
234 remoting::UnloadResources(); | 234 remoting::UnloadResources(); |
235 | 235 |
236 return exit_code; | 236 return exit_code; |
237 } | 237 } |
238 | 238 |
239 } // namespace remoting | 239 } // namespace remoting |
| 240 |
| 241 #if !defined(OS_WIN) |
| 242 int main(int argc, char** argv) { |
| 243 return remoting::HostMain(argc, argv); |
| 244 } |
| 245 #endif // !defined(OS_WIN) |
OLD | NEW |