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

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

Issue 2820783002: Add associated interfaces & bindings. (Closed)
Patch Set: Remove changes to vibration-iframe-expected.txt because it was removed in master. Created 3 years, 8 months 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 import "mojo/public/interfaces/bindings/tests/ping_service.mojom"; 7 import "mojo/public/interfaces/bindings/tests/ping_service.mojom";
8 8
9 interface FooInterface {}; 9 interface FooInterface {};
10 10
(...skipping 24 matching lines...) Expand all
35 (UnionContainsAssociated foo_union); 35 (UnionContainsAssociated foo_union);
36 }; 36 };
37 37
38 interface IntegerSender { 38 interface IntegerSender {
39 Echo(int32 value) => (int32 value); 39 Echo(int32 value) => (int32 value);
40 Send(int32 value); 40 Send(int32 value);
41 }; 41 };
42 42
43 interface IntegerSenderConnection { 43 interface IntegerSenderConnection {
44 GetSender(associated IntegerSender& sender); 44 GetSender(associated IntegerSender& sender);
45 SetSender(associated IntegerSender sender) => (int32 value);
45 AsyncGetSender() => (associated IntegerSender sender); 46 AsyncGetSender() => (associated IntegerSender sender);
46 }; 47 };
47 48
48 interface AssociatedPingProvider { 49 interface AssociatedPingProvider {
49 GetPing(associated PingService& request); 50 GetPing(associated PingService& request);
50 }; 51 };
51 52
52 interface AssociatedPingProviderProvider { 53 interface AssociatedPingProviderProvider {
53 GetPingProvider(associated AssociatedPingProvider& request); 54 GetPingProvider(associated AssociatedPingProvider& request);
54 }; 55 };
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | mojo/public/js/associated_bindings.js » ('j') | mojo/public/js/codec.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698