Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Side by Side Diff: mojo/public/interfaces/bindings/tests/test_associated_interfaces.mojom

Issue 1465293002: Mojo C++ bindings: introduce public associated-interface-related types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module mojo.test; 5 module mojo.test;
6 6
7 interface FooInterface {}; 7 interface FooInterface {};
8 8
9 struct StructContainsAssociated { 9 struct StructContainsAssociated {
10 associated FooInterface foo_interface; 10 associated FooInterface foo_interface;
(...skipping 10 matching lines...) Expand all
21 associated FooInterface& foo_request) => 21 associated FooInterface& foo_request) =>
22 (associated FooInterface foo_interface, 22 (associated FooInterface foo_interface,
23 associated FooInterface& foo_request); 23 associated FooInterface& foo_request);
24 24
25 PassStruct(StructContainsAssociated foo_struct) => 25 PassStruct(StructContainsAssociated foo_struct) =>
26 (StructContainsAssociated foo_struct); 26 (StructContainsAssociated foo_struct);
27 27
28 PassUnion(UnionContainsAssociated foo_union) => 28 PassUnion(UnionContainsAssociated foo_union) =>
29 (UnionContainsAssociated foo_union); 29 (UnionContainsAssociated foo_union);
30 }; 30 };
31
32 interface IntegerSender {
33 Echo(int32 value) => (int32 value);
34 Send(int32 value);
35 };
36
37 interface IntegerSenderConnection {
38 GetSender(associated IntegerSender& sender);
39 AsyncGetSender() => (associated IntegerSender sender);
40 };
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/associated_interface_unittest.cc ('k') | third_party/mojo/mojo_edk_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698