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