| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "remoting/host/constants_mac.h" | 5 #include "remoting/host/constants_mac.h" |
| 6 | 6 |
| 7 namespace remoting { | 7 namespace remoting { |
| 8 | 8 |
| 9 #define SERVICE_NAME "org.chromium.chromoting" | 9 #define SERVICE_NAME "org.chromium.chromoting" |
| 10 | 10 |
| 11 #define APPLICATIONS_DIR "/Applications/" | 11 #define APPLICATIONS_DIR "/Applications/" |
| 12 #define HELPER_TOOLS_DIR "/Library/PrivilegedHelperTools/" | 12 #define HELPER_TOOLS_DIR "/Library/PrivilegedHelperTools/" |
| 13 #define LAUNCH_AGENTS_DIR "/Library/LaunchAgents/" | 13 #define LAUNCH_AGENTS_DIR "/Library/LaunchAgents/" |
| 14 #define PREFERENCE_PANES_DIR "/Library/PreferencePanes/" | 14 #define PREFERENCE_PANES_DIR "/Library/PreferencePanes/" |
| 15 #define LOG_DIR "/var/log/" |
| 16 #define LOG_CONFIG_DIR "/etc/newsyslog.d/" |
| 15 | 17 |
| 16 const char kServiceName[] = SERVICE_NAME; | 18 const char kServiceName[] = SERVICE_NAME; |
| 17 | 19 |
| 18 const char kUpdateSucceededNotificationName[] = | 20 const char kUpdateSucceededNotificationName[] = |
| 19 SERVICE_NAME ".update_succeeded"; | 21 SERVICE_NAME ".update_succeeded"; |
| 20 const char kUpdateFailedNotificationName[] = SERVICE_NAME ".update_failed"; | 22 const char kUpdateFailedNotificationName[] = SERVICE_NAME ".update_failed"; |
| 21 | 23 |
| 22 const char kPrefPaneFileName[] = SERVICE_NAME ".prefPane"; | 24 const char kPrefPaneFileName[] = SERVICE_NAME ".prefPane"; |
| 23 const char kPrefPaneFilePath[] = PREFERENCE_PANES_DIR SERVICE_NAME ".prefPane"; | 25 const char kPrefPaneFilePath[] = PREFERENCE_PANES_DIR SERVICE_NAME ".prefPane"; |
| 24 | 26 |
| 25 const char kHostConfigFileName[] = SERVICE_NAME ".json"; | 27 const char kHostConfigFileName[] = SERVICE_NAME ".json"; |
| 26 const char kHostConfigFilePath[] = HELPER_TOOLS_DIR SERVICE_NAME ".json"; | 28 const char kHostConfigFilePath[] = HELPER_TOOLS_DIR SERVICE_NAME ".json"; |
| 27 | 29 |
| 28 const char kHostHelperScriptPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me.sh"; | 30 const char kHostHelperScriptPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me.sh"; |
| 29 const char kHostBinaryPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me_host.app"; | 31 const char kHostBinaryPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me_host.app"; |
| 30 const char kHostEnabledPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me_enabled"; | 32 const char kHostEnabledPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me_enabled"; |
| 31 | 33 |
| 32 const char kServicePlistPath[] = LAUNCH_AGENTS_DIR SERVICE_NAME ".plist"; | 34 const char kServicePlistPath[] = LAUNCH_AGENTS_DIR SERVICE_NAME ".plist"; |
| 33 | 35 |
| 36 const char kLogFilePath[] = LOG_DIR SERVICE_NAME ".log"; |
| 37 const char kLogFileConfigPath[] = LOG_CONFIG_DIR SERVICE_NAME ".conf"; |
| 38 |
| 34 const char kBrandedUninstallerPath[] = APPLICATIONS_DIR | 39 const char kBrandedUninstallerPath[] = APPLICATIONS_DIR |
| 35 "Chrome Remote Desktop Host Uninstaller.app"; | 40 "Chrome Remote Desktop Host Uninstaller.app"; |
| 36 const char kUnbrandedUninstallerPath[] = APPLICATIONS_DIR | 41 const char kUnbrandedUninstallerPath[] = APPLICATIONS_DIR |
| 37 "Chromoting Host Uninstaller.app"; | 42 "Chromoting Host Uninstaller.app"; |
| 38 | 43 |
| 39 } // namespace remoting | 44 } // namespace remoting |
| OLD | NEW |