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

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

Issue 2820783002: Add associated interfaces & bindings. (Closed)
Patch Set: Change Router.prototype.accept. Add a TODO for endpoint client not attached. 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
« no previous file with comments | « BUILD.gn ('k') | mojo/public/js/associated_bindings.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 27 matching lines...) Expand all
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 AsyncGetSender() => (associated IntegerSender sender); 45 AsyncGetSender() => (associated IntegerSender sender);
46 }; 46 };
47 47
48 interface IntegerSenderConnectionAtBothEnds {
49 GetSender(associated IntegerSender& sender);
50 SetSender(associated IntegerSender sender) => (int32 value);
51 };
52
48 interface AssociatedPingProvider { 53 interface AssociatedPingProvider {
49 GetPing(associated PingService& request); 54 GetPing(associated PingService& request);
50 }; 55 };
51 56
52 interface AssociatedPingProviderProvider { 57 interface AssociatedPingProviderProvider {
53 GetPingProvider(associated AssociatedPingProvider& request); 58 GetPingProvider(associated AssociatedPingProvider& request);
54 }; 59 };
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | mojo/public/js/associated_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698