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

Unified Diff: content/common/sandbox_mac.h

Issue 2944623003: Call SetApplicationIsDaemon() in V2 sandbox. (Closed)
Patch Set: Get rid of extra private Created 3 years, 6 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: 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.

Powered by Google App Engine
This is Rietveld 408576698