diff options
Diffstat (limited to 'remoting/host/setup/me2me_native_messaging_host_main.cc')
-rw-r--r-- | remoting/host/setup/me2me_native_messaging_host_main.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/remoting/host/setup/me2me_native_messaging_host_main.cc b/remoting/host/setup/me2me_native_messaging_host_main.cc new file mode 100644 index 0000000..e69abfc --- /dev/null +++ b/remoting/host/setup/me2me_native_messaging_host_main.cc @@ -0,0 +1,18 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "base/at_exit.h" +#include "base/command_line.h" +#include "remoting/host/logging.h" +#include "remoting/host/setup/me2me_native_messaging_host.h" + +int main(int argc, char** argv) { + // This object instance is required by Chrome code (such as MessageLoop). + base::AtExitManager exit_manager; + + CommandLine::Init(argc, argv); + remoting::InitHostLogging(); + + return remoting::NativeMessagingHostMain(); +} |