| // Copyright 2020 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| module content.mojom; |
| |
| // The interfaces used for testing the mojo binder policy applier. |
| |
| // An interface whose MojoBinderPolicy is kDefer. |
| interface TestInterfaceForDefer { |
| // Runs the given callback when the interface is granted. |
| Ping() => (); |
| }; |
| |
| // An interface whose MojoBinderPolicy is kGrant. |
| interface TestInterfaceForGrant {}; |
| |
| // An interface whose MojoBinderPolicy is kCancel. |
| interface TestInterfaceForCancel {}; |
| |
| // An interface whose MojoBinderPolicy is kUnexpected. |
| interface TestInterfaceForUnexpected {}; |
| |
| interface MojoContextProvider{ |
| GrantAll(); |
| }; |