File: constants_mac.h

package info (click to toggle)
chromium 138.0.7204.183-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,071,908 kB
  • sloc: cpp: 34,937,088; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,953; asm: 946,768; xml: 739,971; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,806; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (76 lines) | stat: -rw-r--r-- 2,687 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef REMOTING_HOST_MAC_CONSTANTS_MAC_H_
#define REMOTING_HOST_MAC_CONSTANTS_MAC_H_

namespace remoting {

// The bundle ID for the Remoting Host.
extern const char kBundleId[];

// The name of the Remoting Host service that is registered with launchd.
extern const char kServiceName[];

// The name of the Remoting Host broker that is registered with launchd.
extern const char kBrokerName[];

// Use a single configuration file, instead of separate "auth" and "host" files.
// This is because the SetConfigAndStart() API only provides a single
// dictionary, and splitting this into two dictionaries would require
// knowledge of which keys belong in which files.
extern const char kHostConfigFileName[];
extern const char kHostConfigFilePath[];

// File that stores lightweight host settings as key-value pairs. See
// HostSettings for more info.
extern const char kHostSettingsFilePath[];

// This helper script is executed as root to enable/disable/configure the host
// service.
// It is also used (as non-root) to provide version information for the
// installed host components.
extern const char kHostServiceBinaryPath[];

// Path to the old host helper script, which is still used after user updates
// their host on macOS 10.14.*. TODO(crbug.com/40275162): Remove.
extern const char kOldHostHelperScriptPath[];

// Path to the service binary (.app).
extern const char kHostBinaryPath[];

// Path to the legacy service binary (.bundle).
extern const char kHostLegacyBinaryPath[];

// If this file exists, it means that the host is enabled for sharing.
extern const char kHostEnabledPath[];

// The .plist file for the Chromoting service.
extern const char kServicePlistPath[];

// The .plist file for the Chromoting agent broker.
extern const char kBrokerPlistPath[];

// Path to the host log file
extern const char kLogFilePath[];

// Path to the log config file
extern const char kLogFileConfigPath[];

// Paths to the native messaging host manifests
extern const char* kNativeMessagingManifestPaths[5];

// The branded and unbranded names for the uninstaller.
// This is the only file that changes names based on branding. We define both
// because we want local dev builds to be able to clean up both files.
extern const char kBrandedUninstallerPath[];
extern const char kUnbrandedUninstallerPath[];

// The launchctl service target (domain_target/service_name) that can be used to
// unload the broker service.
extern const char kBrokerServiceTarget[];

}  // namespace remoting

#endif  // REMOTING_HOST_MAC_CONSTANTS_MAC_H_