Revert of Sandbox html_viewer on Linux. (patchset #6 id:100001 of https://codereview...
[chromium-blink-merge.git] / remoting / host / host_main.h
blob527e4b3b37ca4f86efddfbb2f87bc6d57b5e6620
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
3 // found in the LICENSE file.
5 #ifndef REMOTING_HOST_ENTRY_POINT_H_
6 #define REMOTING_HOST_ENTRY_POINT_H_
8 #include "remoting/host/host_export.h"
10 namespace remoting {
12 // "--elevate=<binary>" requests |binary| to be launched elevated (possibly
13 // causing a UAC prompt).
14 extern const char kElevateSwitchName[];
16 // "--type=<type>" specifies the kind of process to run.
17 extern const char kProcessTypeSwitchName[];
19 extern const char kProcessTypeController[];
20 extern const char kProcessTypeDaemon[];
21 extern const char kProcessTypeDesktop[];
22 extern const char kProcessTypeHost[];
23 extern const char kProcessTypeRdpDesktopSession[];
25 // The common entry point exported from remoting_core.dll. It uses
26 // "--type==<type>" command line parameter to determine the kind of process it
27 // needs to run.
28 HOST_EXPORT int HostMain(int argc, char** argv);
30 } // namespace remoting
32 #endif // REMOTING_HOST_ENTRY_POINT_H_