Roll src/third_party/WebKit b41a10f:afd8afd (svn 202201:202202)
[chromium-blink-merge.git] / remoting / host / constants_mac.h
blob5d131d2875638811b0336eb964383d330d0211c1
1 // Copyright (c) 2012 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_CONSTANTS_MAC_H_
6 #define REMOTING_HOST_CONSTANTS_MAC_H_
8 namespace remoting {
10 // The name of the Remoting Host service that is registered with launchd.
11 extern const char kServiceName[];
13 // Use separate named notifications for success and failure because sandboxed
14 // components can't include a dictionary when sending distributed notifications.
15 // The preferences panel is not yet sandboxed, but err on the side of caution.
16 // These are #defines because they are used with CFSTR macro, which requires
17 // string literals.
18 #define UPDATE_SUCCEEDED_NOTIFICATION_NAME \
19 "org.chromium.chromoting.update_succeeded"
20 #define UPDATE_FAILED_NOTIFICATION_NAME "org.chromium.chromoting.update_failed"
23 // Chromoting's preference pane file.
24 extern const char kPrefPaneFileName[];
25 extern const char kPrefPaneFilePath[];
27 // Use a single configuration file, instead of separate "auth" and "host" files.
28 // This is because the SetConfigAndStart() API only provides a single
29 // dictionary, and splitting this into two dictionaries would require
30 // knowledge of which keys belong in which files.
31 extern const char kHostConfigFileName[];
32 extern const char kHostConfigFilePath[];
34 // This helper script is executed as root to enable/disable/configure the host
35 // service.
36 // It is also used (as non-root) to provide version information for the
37 // installed host components.
38 extern const char kHostHelperScriptPath[];
40 // Path to the service binary (.app).
41 extern const char kHostBinaryPath[];
43 // If this file exists, it means that the host is enabled for sharing.
44 extern const char kHostEnabledPath[];
46 // The .plist file for the Chromoting service.
47 extern const char kServicePlistPath[];
49 // Path to the host log file
50 extern const char kLogFilePath[];
52 // Path to the log config file
53 extern const char kLogFileConfigPath[];
55 // Path to the native messaging host manifest
56 extern const char kNativeMessagingManifestPath[];
58 // The branded and unbranded names for the uninstaller.
59 // This is the only file that changes names based on branding. We define both
60 // because we want local dev builds to be able to clean up both files.
61 extern const char kBrandedUninstallerPath[];
62 extern const char kUnbrandedUninstallerPath[];
64 } // namespace remoting
66 #endif // REMOTING_HOST_CONSTANTS_MAC_H_