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

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

Issue 921223002: Cpp bindings: Return false from Validator::Accept() on unrecognized message or invalid flags (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 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 2014 The Chromium Authors. All rights reserved. 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 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 5
6 [JavaPackage="org.chromium.mojo.bindings.test.mojom.mojo"] 6 [JavaPackage="org.chromium.mojo.bindings.test.mojom.mojo"]
7 module mojo.test; 7 module mojo.test;
8 8
9 struct StructA { 9 struct StructA {
10 uint64 i; 10 uint64 i;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 Method2(StructB param0, StructA param1); 47 Method2(StructB param0, StructA param1);
48 Method3(array<bool> param0); 48 Method3(array<bool> param0);
49 Method4(StructC param0, array<uint8> param1); 49 Method4(StructC param0, array<uint8> param1);
50 Method5(StructE param0, handle<data_pipe_producer> param1); 50 Method5(StructE param0, handle<data_pipe_producer> param1);
51 Method6(array<array<uint8>> param0); 51 Method6(array<array<uint8>> param0);
52 Method7(StructF param0, array<array<uint8, 3>?, 2> param1); 52 Method7(StructF param0, array<array<uint8, 3>?, 2> param1);
53 Method8(array<array<string>?> param0); 53 Method8(array<array<string>?> param0);
54 Method9(array<array<handle?>>? param0); 54 Method9(array<array<handle?>>? param0);
55 Method10(map<string, uint8> param0); 55 Method10(map<string, uint8> param0);
56 Method11(StructG param0); 56 Method11(StructG param0);
57 Method12(float param0) => (float param0);
57 }; 58 };
58 59
59 struct BasicStruct { 60 struct BasicStruct {
60 int32 a; 61 int32 a;
61 }; 62 };
62 63
63 interface IntegrationTestInterface { 64 interface IntegrationTestInterface {
64 Method0(BasicStruct param0) => (array<uint8> param0); 65 Method0(BasicStruct param0) => (array<uint8> param0);
65 }; 66 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698