// Copyright (c) 2012 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. #ifndef REMOTING_HOST_CONSTANTS_MAC_H_ #define REMOTING_HOST_CONSTANTS_MAC_H_ namespace remoting { // The name of the Remoting Host service that is registered with launchd. extern const char kServiceName[]; // Use separate named notifications for success and failure because sandboxed // components can't include a dictionary when sending distributed notifications. // The preferences panel is not yet sandboxed, but err on the side of caution. // These are #defines because they are used with CFSTR macro, which requires // string literals. #define UPDATE_SUCCEEDED_NOTIFICATION_NAME \ "org.chromium.chromoting.update_succeeded" #define UPDATE_FAILED_NOTIFICATION_NAME "org.chromium.chromoting.update_failed" // Chromoting's preference pane file. extern const char kPrefPaneFileName[]; extern const char kPrefPaneFilePath[]; // 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[]; // 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 kHostHelperScriptPath[]; // Path to the service binary (.app). extern const char kHostBinaryPath[]; // 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[]; // Path to the host log file extern const char kLogFilePath[]; // Path to the log config file extern const char kLogFileConfigPath[]; // Path to the native messaging host manifest extern const char kNativeMessagingManifestPath[]; // 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[]; } // namespace remoting #endif // REMOTING_HOST_CONSTANTS_MAC_H_