Index: content/common/sandbox_mac.h |
diff --git a/content/common/sandbox_mac.h b/content/common/sandbox_mac.h |
index 2c3e27c9f8ffad64919586f1f7df263393420424..e6630f27b1c94423ea99320381e84e67c1261d7e 100644 |
--- a/content/common/sandbox_mac.h |
+++ b/content/common/sandbox_mac.h |
@@ -43,6 +43,11 @@ class CONTENT_EXPORT Sandbox { |
// Returns true if the sandbox has been enabled for the current process. |
static bool SandboxIsCurrentlyActive(); |
+ // Allow the application to continue execution if launchservicesd cannot be |
+ // connected to. Without this call, the application will crash unless the |
+ // sandbox allows launchservicesd connections. |
+ static void LaunchServicesNotAvailable(); |
+ |
private: |
// Convert provided path into a "canonical" path matching what the Sandbox |
// expects i.e. one without symlinks. |