| 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> | 
|   11  |   11  | 
|   12 #include "base/at_exit.h" |   12 #include "base/at_exit.h" | 
|   13 #include "base/command_line.h" |   13 #include "base/command_line.h" | 
|   14 #include "base/files/file_path.h" |   14 #include "base/files/file_path.h" | 
|   15 #include "base/i18n/icu_util.h" |   15 #include "base/i18n/icu_util.h" | 
|   16 #include "base/logging.h" |   16 #include "base/logging.h" | 
|   17 #include "base/strings/string_util.h" |   17 #include "base/strings/string_util.h" | 
|   18 #include "base/strings/stringize_macros.h" |   18 #include "base/strings/stringize_macros.h" | 
|   19 #include "base/strings/stringprintf.h" |   19 #include "base/strings/stringprintf.h" | 
|   20 #include "base/strings/utf_string_conversions.h" |   20 #include "base/strings/utf_string_conversions.h" | 
|   21 #include "remoting/base/breakpad.h" |   21 #include "remoting/base/breakpad.h" | 
|   22 #include "remoting/base/resources.h" |  | 
|   23 #include "remoting/host/host_exit_codes.h" |   22 #include "remoting/host/host_exit_codes.h" | 
|   24 #include "remoting/host/logging.h" |   23 #include "remoting/host/logging.h" | 
 |   24 #include "remoting/host/resources.h" | 
|   25 #include "remoting/host/setup/me2me_native_messaging_host.h" |   25 #include "remoting/host/setup/me2me_native_messaging_host.h" | 
|   26 #include "remoting/host/switches.h" |   26 #include "remoting/host/switches.h" | 
|   27 #include "remoting/host/usage_stats_consent.h" |   27 #include "remoting/host/usage_stats_consent.h" | 
|   28  |   28  | 
|   29 #if defined(OS_MACOSX) |   29 #if defined(OS_MACOSX) | 
|   30 #include "base/mac/scoped_nsautorelease_pool.h" |   30 #include "base/mac/scoped_nsautorelease_pool.h" | 
|   31 #endif  // defined(OS_MACOSX) |   31 #endif  // defined(OS_MACOSX) | 
|   32  |   32  | 
|   33 #if defined(OS_WIN) |   33 #if defined(OS_WIN) | 
|   34 #include <commctrl.h> |   34 #include <commctrl.h> | 
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  220   return exit_code; |  220   return exit_code; | 
|  221 } |  221 } | 
|  222  |  222  | 
|  223 }  // namespace remoting |  223 }  // namespace remoting | 
|  224  |  224  | 
|  225 #if !defined(OS_WIN) |  225 #if !defined(OS_WIN) | 
|  226 int main(int argc, char** argv) { |  226 int main(int argc, char** argv) { | 
|  227   return remoting::HostMain(argc, argv); |  227   return remoting::HostMain(argc, argv); | 
|  228 } |  228 } | 
|  229 #endif  // !defined(OS_WIN) |  229 #endif  // !defined(OS_WIN) | 
| OLD | NEW |