• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5module mojo.test {
6
7struct StructA {
8  uint64 i;
9};
10
11struct StructB {
12  StructA struct_a;
13};
14
15struct StructC {
16  uint8[] array;
17};
18
19struct StructD {
20  handle<message_pipe>[] message_pipes;
21};
22
23struct StructE {
24  StructD struct_d;
25  handle<data_pipe_consumer> data_pipe_consumer;
26};
27
28interface ConformanceTestInterface {
29  Method0(float param0);
30  Method1(StructA param0);
31  Method2(StructB param0, StructA param1);
32  Method3(bool[] param0);
33  Method4(StructC param0, uint8[] param1);
34  Method5(StructE param0, handle<data_pipe_producer> param1);
35  Method6(uint8[][] param0);
36};
37
38struct BasicStruct {
39  int32 a;
40};
41
42[Client=IntegrationTestInterface2]
43interface IntegrationTestInterface1 {
44  Method0(BasicStruct param0);
45};
46
47[Client=IntegrationTestInterface1]
48interface IntegrationTestInterface2 {
49  Method0() => (uint8[] param0);
50};
51
52}
53