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

Unified Diff: chrome/common/mac/app_mode_common.h

Issue 66043003: Put app shim IPC socket in a temporary directory. (Mac) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
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..aeca4b48e0c31135c472109e30c2e58115aee3ec 100644
--- a/chrome/common/mac/app_mode_common.h
+++ b/chrome/common/mac/app_mode_common.h
@@ -127,6 +127,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.
tapted 2014/01/06 07:31:28 actually, it's not checking ownership (yet?).
+void VerifySocketPermissions(const base::FilePath& socket_path);
+
} // namespace app_mode
#endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_

Powered by Google App Engine
This is Rietveld 408576698