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

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

Issue 2276043002: Support custom message filtering on Mojo binding objects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 4 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";
8
7 interface FooInterface {}; 9 interface FooInterface {};
8 10
9 struct StructContainsAssociated { 11 struct StructContainsAssociated {
10 associated FooInterface? foo_interface; 12 associated FooInterface? foo_interface;
11 associated FooInterface& foo_request; 13 associated FooInterface& foo_request;
12 array<associated FooInterface> foo_interfaces; 14 array<associated FooInterface> foo_interfaces;
13 array<associated FooInterface&> foo_requests; 15 array<associated FooInterface&> foo_requests;
14 }; 16 };
15 17
16 union UnionContainsAssociated { 18 union UnionContainsAssociated {
(...skipping 18 matching lines...) Expand all
35 37
36 interface IntegerSender { 38 interface IntegerSender {
37 Echo(int32 value) => (int32 value); 39 Echo(int32 value) => (int32 value);
38 Send(int32 value); 40 Send(int32 value);
39 }; 41 };
40 42
41 interface IntegerSenderConnection { 43 interface IntegerSenderConnection {
42 GetSender(associated IntegerSender& sender); 44 GetSender(associated IntegerSender& sender);
43 AsyncGetSender() => (associated IntegerSender sender); 45 AsyncGetSender() => (associated IntegerSender sender);
44 }; 46 };
47
48 interface AssociatedPingProvider {
49 GetPing(associated PingService& request);
50 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698