Index: chrome/common/sandbox_mac.h |
diff --git a/chrome/common/sandbox_mac.h b/chrome/common/sandbox_mac.h |
index 80652982642d40182f7bc2e17f650594a8a2e19f..249eaa36c6accbc1b79359ad764cf5bb4e9a0ca8 100644 |
--- a/chrome/common/sandbox_mac.h |
+++ b/chrome/common/sandbox_mac.h |
@@ -50,6 +50,11 @@ void SandboxWarmup(); |
bool EnableSandbox(SandboxProcessType sandbox_type, |
const FilePath& allowed_dir); |
+// Convert provided path into a "canonical" path matching what the Sandbox |
+// expects i.e. one without symlinks. |
+// This path is not necessarily unique e.g. in the face of hardlinks. |
+void GetCanonicalSandboxPath(FilePath* path); |
+ |
} // namespace sandbox |
#endif // CHROME_COMMON_SANDBOX_MAC_H_ |