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

Unified Diff: sandbox/mac/launchd_interception_server.h

Issue 1312893005: Fix forwarding of XPC messages to launchd on 10.10 and higher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: sandbox/mac/launchd_interception_server.h
diff --git a/sandbox/mac/launchd_interception_server.h b/sandbox/mac/launchd_interception_server.h
index 87ee83e8f98627c16bb4a78a1e522b6dd97cca82..0375ca2352e46c14c8e6252d4aef3c483e7a4780 100644
--- a/sandbox/mac/launchd_interception_server.h
+++ b/sandbox/mac/launchd_interception_server.h
@@ -56,6 +56,9 @@ class LaunchdInterceptionServer : public MessageDemuxer {
// The Mach IPC server.
scoped_ptr<MessageServer> message_server_;
+ // Whether or not the system is using an XPC-based launchd.
+ bool xpc_launchd_;
+
// The Mach port handed out in reply to denied look up requests. All denied
// requests share the same port, though nothing reads messages from it.
base::mac::ScopedMachReceiveRight sandbox_port_;
« no previous file with comments | « no previous file | sandbox/mac/launchd_interception_server.cc » ('j') | sandbox/mac/launchd_interception_server.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698