Index: sandbox/mac/bootstrap_sandbox.h |
diff --git a/sandbox/mac/bootstrap_sandbox.h b/sandbox/mac/bootstrap_sandbox.h |
index 53fc54fa0e9e1ed61e47934a0e6d82bf0e72ef6e..9f713b14a6ded57cb60949a0821a7e90813e7f3d 100644 |
--- a/sandbox/mac/bootstrap_sandbox.h |
+++ b/sandbox/mac/bootstrap_sandbox.h |
@@ -77,6 +77,7 @@ class SANDBOX_EXPORT BootstrapSandbox { |
// with the |pid|, this returns NULL. |
const BootstrapSandboxPolicy* PolicyForProcess(pid_t pid) const; |
+ std::string server_bootstrap_name() const { return server_bootstrap_name_; } |
mach_port_t real_bootstrap_port() const { return real_bootstrap_port_; } |
private: |
@@ -86,6 +87,10 @@ class SANDBOX_EXPORT BootstrapSandbox { |
// requests. |
scoped_ptr<LaunchdInterceptionServer> server_; |
+ // The name in the system bootstrap server by which the |server_|'s port |
+ // is known. |
+ const std::string server_bootstrap_name_; |
+ |
// The original bootstrap port of the process, which is connected to the |
// real launchd server. |
base::mac::ScopedMachSendRight real_bootstrap_port_; |