Skip to content

Commit b49b98b

Browse files
Sandboxed API Teamcopybara-github
authored andcommitted
Exposed a friend API from the sandbox2 policy builder, which can be friended to components that need it.
PiperOrigin-RevId: 682032921 Change-Id: If8a4cccf907e51aa3deadaba2b254caaf9392c79
1 parent 69c9e72 commit b49b98b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sandboxed_api/sandbox2/policybuilder.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,8 @@ class PolicyBuilder final {
782782
// Returns the current status of the PolicyBuilder.
783783
absl::Status GetStatus() { return last_status_; }
784784

785+
const Mounts& mounts() const { return mounts_; }
786+
785787
private:
786788
friend class PolicyBuilderPeer; // For testing
787789
friend class StackTracePeer;

0 commit comments

Comments
 (0)