| Index: chrome/common/mac/app_mode_common.h
|
| diff --git a/chrome/common/mac/app_mode_common.h b/chrome/common/mac/app_mode_common.h
|
| index a88ded6598f762040990af264ee83f18409c6509..dd1915c668b3bec1fc91e620c0103ad45e7ee0ae 100644
|
| --- a/chrome/common/mac/app_mode_common.h
|
| +++ b/chrome/common/mac/app_mode_common.h
|
| @@ -23,8 +23,11 @@ const AEEventClass kAEChromeAppClass = 'cApp';
|
| const AEEventID kAEChromeAppPing = 'ping';
|
|
|
| // The IPC socket used to communicate between app shims and Chrome will be
|
| -// created under the user data directory with this name.
|
| -extern const char kAppShimSocketName[];
|
| +// created under a temporary directory with this name.
|
| +extern const char kAppShimSocketShortName[];
|
| +// A symlink to allow the app shim to find the socket will be created under the
|
| +// user data dir with this name.
|
| +extern const char kAppShimSocketSymlinkName[];
|
|
|
| // Special app mode id used for the App Launcher.
|
| extern const char kAppListModeId[];
|
| @@ -127,6 +130,10 @@ struct ChromeAppModeInfo {
|
| base::FilePath profile_dir;
|
| };
|
|
|
| +// Check that the socket and its parent directory have the correct permissions
|
| +// and are owned by the user.
|
| +void VerifySocketPermissions(const base::FilePath& socket_path);
|
| +
|
| } // namespace app_mode
|
|
|
| #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_
|
|
|