Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: remoting/host/constants_mac.cc

Issue 24616002: Clean up a few unused globals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/" 15 #define LOG_DIR "/var/log/"
16 #define LOG_CONFIG_DIR "/etc/newsyslog.d/" 16 #define LOG_CONFIG_DIR "/etc/newsyslog.d/"
17 17
18 const char kServiceName[] = SERVICE_NAME; 18 const char kServiceName[] = SERVICE_NAME;
19 19
20 const char kUpdateSucceededNotificationName[] =
Sergey Ulanov 2013/09/25 18:04:44 Looks like the header also defines UPDATE_SUCCEEDE
Sergey Ulanov 2013/09/25 18:06:35 I take this back. these two strings need to be def
21 SERVICE_NAME ".update_succeeded";
22 const char kUpdateFailedNotificationName[] = SERVICE_NAME ".update_failed";
23
24 const char kPrefPaneFileName[] = SERVICE_NAME ".prefPane"; 20 const char kPrefPaneFileName[] = SERVICE_NAME ".prefPane";
25 const char kPrefPaneFilePath[] = PREFERENCE_PANES_DIR SERVICE_NAME ".prefPane"; 21 const char kPrefPaneFilePath[] = PREFERENCE_PANES_DIR SERVICE_NAME ".prefPane";
26 22
27 const char kHostConfigFileName[] = SERVICE_NAME ".json"; 23 const char kHostConfigFileName[] = SERVICE_NAME ".json";
28 const char kHostConfigFilePath[] = HELPER_TOOLS_DIR SERVICE_NAME ".json"; 24 const char kHostConfigFilePath[] = HELPER_TOOLS_DIR SERVICE_NAME ".json";
29 25
30 const char kHostHelperScriptPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me.sh"; 26 const char kHostHelperScriptPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me.sh";
31 const char kHostBinaryPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me_host.app"; 27 const char kHostBinaryPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me_host.app";
32 const char kHostEnabledPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me_enabled"; 28 const char kHostEnabledPath[] = HELPER_TOOLS_DIR SERVICE_NAME ".me2me_enabled";
33 29
34 const char kServicePlistPath[] = LAUNCH_AGENTS_DIR SERVICE_NAME ".plist"; 30 const char kServicePlistPath[] = LAUNCH_AGENTS_DIR SERVICE_NAME ".plist";
35 31
36 const char kLogFilePath[] = LOG_DIR SERVICE_NAME ".log"; 32 const char kLogFilePath[] = LOG_DIR SERVICE_NAME ".log";
37 const char kLogFileConfigPath[] = LOG_CONFIG_DIR SERVICE_NAME ".conf"; 33 const char kLogFileConfigPath[] = LOG_CONFIG_DIR SERVICE_NAME ".conf";
38 34
39 const char kNativeMessagingManifestPath[] = 35 const char kNativeMessagingManifestPath[] =
40 "/Library/Google/Chrome/NativeMessagingHosts/" 36 "/Library/Google/Chrome/NativeMessagingHosts/"
41 "com.google.chrome.remote_desktop.json"; 37 "com.google.chrome.remote_desktop.json";
42 38
43 const char kBrandedUninstallerPath[] = APPLICATIONS_DIR 39 const char kBrandedUninstallerPath[] = APPLICATIONS_DIR
44 "Chrome Remote Desktop Host Uninstaller.app"; 40 "Chrome Remote Desktop Host Uninstaller.app";
45 const char kUnbrandedUninstallerPath[] = APPLICATIONS_DIR 41 const char kUnbrandedUninstallerPath[] = APPLICATIONS_DIR
46 "Chromoting Host Uninstaller.app"; 42 "Chromoting Host Uninstaller.app";
47 43
48 } // namespace remoting 44 } // namespace remoting
OLDNEW
« chrome/common/chrome_paths.cc ('K') | « ppapi/native_client/src/trusted/plugin/plugin.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698