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 const char kHostHelperTool[] = kHostConfigDir kServiceName ".me2me.sh"; | 9 #define SERVICE_NAME "org.chromium.chromoting" |
| 10 |
| 11 #define APPLICATIONS_DIR "/Applications/" |
| 12 #define HELPER_TOOLS_DIR "/Library/PrivilegedHelperTools/" |
| 13 #define LAUNCH_AGENTS_DIR "/Library/LaunchAgents/" |
| 14 #define PREFERENCE_PANES_DIR "/Library/PreferencePanes/" |
| 15 |
| 16 const char kServiceName[] = SERVICE_NAME; |
| 17 |
| 18 const char kUpdateSucceededNotificationName[] = |
| 19 SERVICE_NAME ".update_succeeded"; |
| 20 const char kUpdateFailedNotificationName[] = SERVICE_NAME ".update_failed"; |
| 21 |
| 22 const char kPrefPaneFileName[] = SERVICE_NAME ".prefPane"; |
| 23 const char kPrefPaneFilePath[] = PREFERENCE_PANES_DIR SERVICE_NAME ".prefPane"; |
| 24 |
| 25 const char kHostConfigFileName[] = SERVICE_NAME ".json"; |
| 26 const char kHostConfigFilePath[] = HELPER_TOOLS_DIR SERVICE_NAME ".json"; |
| 27 |
| 28 const char kHostHelperScriptPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me.sh"; |
| 29 const char kHostBinaryPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me_host.app"; |
| 30 const char kHostEnabledPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me_enabled"; |
| 31 |
| 32 const char kServicePlistPath[] = LAUNCH_AGENTS_DIR SERVICE_NAME ".plist"; |
| 33 |
| 34 const char kBrandedUninstallerPath[] = APPLICATIONS_DIR |
| 35 "Chrome Remote Desktop Host Uninstaller.app"; |
| 36 const char kUnbrandedUninstallerPath[] = APPLICATIONS_DIR |
| 37 "Chromoting Host Uninstaller.app"; |
10 | 38 |
11 } // namespace remoting | 39 } // namespace remoting |
OLD | NEW |