1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26

content / public / test / mojo_capability_control_test_interfaces.mojom [blame]

// 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();
};