OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "remoting/host/setup/me2me_native_messaging_host_main.h" | 5 #include "remoting/host/setup/me2me_native_messaging_host_main.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "remoting/host/setup/gaia_oauth_client.h" | 27 #include "remoting/host/setup/gaia_oauth_client.h" |
28 #include "remoting/host/setup/me2me_native_messaging_host.h" | 28 #include "remoting/host/setup/me2me_native_messaging_host.h" |
29 #include "remoting/host/usage_stats_consent.h" | 29 #include "remoting/host/usage_stats_consent.h" |
30 | 30 |
31 #if defined(OS_MACOSX) | 31 #if defined(OS_MACOSX) |
32 #include "base/mac/scoped_nsautorelease_pool.h" | 32 #include "base/mac/scoped_nsautorelease_pool.h" |
33 #endif // defined(OS_MACOSX) | 33 #endif // defined(OS_MACOSX) |
34 | 34 |
35 #if defined(OS_WIN) | 35 #if defined(OS_WIN) |
36 #include "base/win/registry.h" | 36 #include "base/win/registry.h" |
37 #include "base/win/windows_version.h" | |
38 #include "remoting/host/pairing_registry_delegate_win.h" | 37 #include "remoting/host/pairing_registry_delegate_win.h" |
39 #include "remoting/host/win/elevation_helpers.h" | 38 #include "remoting/host/win/elevation_helpers.h" |
40 #endif // defined(OS_WIN) | 39 #endif // defined(OS_WIN) |
41 | 40 |
42 #if defined(OS_LINUX) | 41 #if defined(OS_LINUX) |
43 #include <glib-object.h> | 42 #include <glib-object.h> |
44 #endif // defined(OS_LINUX) | 43 #endif // defined(OS_LINUX) |
45 | 44 |
46 using remoting::protocol::PairingRegistry; | 45 using remoting::protocol::PairingRegistry; |
47 | 46 |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 // This object instance is required by Chrome code (such as MessageLoop). | 254 // This object instance is required by Chrome code (such as MessageLoop). |
256 base::AtExitManager exit_manager; | 255 base::AtExitManager exit_manager; |
257 | 256 |
258 base::CommandLine::Init(argc, argv); | 257 base::CommandLine::Init(argc, argv); |
259 remoting::InitHostLogging(); | 258 remoting::InitHostLogging(); |
260 | 259 |
261 return StartMe2MeNativeMessagingHost(); | 260 return StartMe2MeNativeMessagingHost(); |
262 } | 261 } |
263 | 262 |
264 } // namespace remoting | 263 } // namespace remoting |
OLD | NEW |