From b49b98bd225e6454b9626f396c9150ccfee06f96 Mon Sep 17 00:00:00 2001 From: Sandboxed API Team Date: Thu, 3 Oct 2024 14:30:23 -0700 Subject: [PATCH] Exposed a friend API from the sandbox2 policy builder, which can be friended to components that need it. PiperOrigin-RevId: 682032921 Change-Id: If8a4cccf907e51aa3deadaba2b254caaf9392c79 --- sandboxed_api/sandbox2/policybuilder.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sandboxed_api/sandbox2/policybuilder.h b/sandboxed_api/sandbox2/policybuilder.h index 5b384384..05ff9e32 100644 --- a/sandboxed_api/sandbox2/policybuilder.h +++ b/sandboxed_api/sandbox2/policybuilder.h @@ -782,6 +782,8 @@ class PolicyBuilder final { // Returns the current status of the PolicyBuilder. absl::Status GetStatus() { return last_status_; } + const Mounts& mounts() const { return mounts_; } + private: friend class PolicyBuilderPeer; // For testing friend class StackTracePeer;