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 "base/at_exit.h" | 5 #include "base/at_exit.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "remoting/host/logging.h" | 7 #include "remoting/host/logging.h" |
8 #include "remoting/host/setup/native_messaging_host.h" | 8 #include "remoting/host/setup/me2me_native_messaging_host.h" |
9 | 9 |
10 int main(int argc, char** argv) { | 10 int main(int argc, char** argv) { |
11 // This object instance is required by Chrome code (such as MessageLoop). | 11 // This object instance is required by Chrome code (such as MessageLoop). |
12 base::AtExitManager exit_manager; | 12 base::AtExitManager exit_manager; |
13 | 13 |
14 CommandLine::Init(argc, argv); | 14 CommandLine::Init(argc, argv); |
15 remoting::InitHostLogging(); | 15 remoting::InitHostLogging(); |
16 | 16 |
17 return remoting::NativeMessagingHostMain(); | 17 return remoting::NativeMessagingHostMain(); |
18 } | 18 } |
OLD | NEW |