Use process_singleton_linux on Mac.

The current process singleton implementation on Linux does what we want for
Mac. I.e. it creates a unix domain socket in a temporary directory and a symlink
to it in the user data dir. The motivation for this in Linux is to support having
the user data dir on a networked filesystem. On Mac, it circumvents the path
length limit of unix domain sockets (104 characters). A similar solution is used
to allow app shims to connect to Chrome.

BUG=148465,353047,367612

Review URL: https://codereview.chromium.org/218883008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267512 0039d316-1c4b-4281-b951-d872f2087c98
11 files changed