Skip to content

Commit

Permalink
Exposed a friend API from the sandbox2 policy builder, which can be f…
Browse files Browse the repository at this point in the history
…riended to components that need it.

PiperOrigin-RevId: 682032921
Change-Id: If8a4cccf907e51aa3deadaba2b254caaf9392c79
  • Loading branch information
Sandboxed API Team authored and copybara-github committed Oct 3, 2024
1 parent 69c9e72 commit b49b98b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sandboxed_api/sandbox2/policybuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b49b98b

Please sign in to comment.