chromium/content/public/test/mojo_capability_control_test_interfaces.mojom

// Copyright 2020 The Chromium Authors
// 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 MojoBinderNonAssociatedPolicy is kDefer.
interface TestInterfaceForDefer {
  // Runs the given callback when the interface is granted.
  Ping() => ();
};

// An interface whose MojoBinderNonAssociatedPolicy is kGrant.
interface TestInterfaceForGrant {};

// An interface whose MojoBinderNonAssociatedPolicy is kCancel.
interface TestInterfaceForCancel {};

// An interface whose MojoBinderNonAssociatedPolicy is kUnexpected.
interface TestInterfaceForUnexpected {};

interface MojoContextProvider{
  GrantAll();
};