summaryrefslogtreecommitdiffstats
path: root/remoting/host/constants_mac.cc
diff options
context:
space:
mode:
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-23 01:42:47 +0000
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-23 01:42:47 +0000
commitfd7144ada8809eac45c61cbc9eb32f9aaa94368f (patch)
tree119db84b2aaa6ea2797b1ab925ff6315079b7063 /remoting/host/constants_mac.cc
parentc026d0b1222dbdcbe6785d4b37af1d77940df095 (diff)
downloadchromium_src-fd7144ada8809eac45c61cbc9eb32f9aaa94368f.zip
chromium_src-fd7144ada8809eac45c61cbc9eb32f9aaa94368f.tar.gz
chromium_src-fd7144ada8809eac45c61cbc9eb32f9aaa94368f.tar.bz2
Native messaging installer for Mac.
Since Packages doesn't allow for a different source and destination file name, I decided to make the build create the native messaging manifest under the name it eventually has under Linux, which entailed a small change to the Linux installer as well. One thing I'm not entirely happy about with this CL is that the Mac is installed as org.chromium.chromoting, whereas the native messaging component is called com.google.chome.remote_desktop. It would be nice if we could use the same name for both. For this CL, I think keeping the two different names is best for the sake of keeping it small. BUG=173509 Review URL: https://chromiumcodereview.appspot.com/22901019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219180 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/constants_mac.cc')
-rw-r--r--remoting/host/constants_mac.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/remoting/host/constants_mac.cc b/remoting/host/constants_mac.cc
index 9b79384..3b48ca0 100644
--- a/remoting/host/constants_mac.cc
+++ b/remoting/host/constants_mac.cc
@@ -36,6 +36,10 @@ const char kServicePlistPath[] = LAUNCH_AGENTS_DIR SERVICE_NAME ".plist";
const char kLogFilePath[] = LOG_DIR SERVICE_NAME ".log";
const char kLogFileConfigPath[] = LOG_CONFIG_DIR SERVICE_NAME ".conf";
+const char kNativeMessagingManifestPath[] =
+ "/Library/Google/Chrome/NativeMessagingHosts/"
+ "com.google.chrome.remote_desktop.json";
+
const char kBrandedUninstallerPath[] = APPLICATIONS_DIR
"Chrome Remote Desktop Host Uninstaller.app";
const char kUnbrandedUninstallerPath[] = APPLICATIONS_DIR