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

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

Issue 466613002: Add validation logic for non-nullable types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | Annotate | Revision Log
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 22 matching lines...) Expand all
33 33
34 interface ConformanceTestInterface { 34 interface ConformanceTestInterface {
35 Method0(float param0); 35 Method0(float param0);
36 Method1(StructA param0); 36 Method1(StructA param0);
37 Method2(StructB param0, StructA param1); 37 Method2(StructB param0, StructA param1);
38 Method3(bool[] param0); 38 Method3(bool[] param0);
39 Method4(StructC param0, uint8[] param1); 39 Method4(StructC param0, uint8[] param1);
40 Method5(StructE param0, handle<data_pipe_producer> param1); 40 Method5(StructE param0, handle<data_pipe_producer> param1);
41 Method6(uint8[][] param0); 41 Method6(uint8[][] param0);
42 Method7(StructF param0, uint8[5] param1); 42 Method7(StructF param0, uint8[5] param1);
43 Method8(string[]?[] param0);
44 Method9(handle?[][]? param0);
43 }; 45 };
44 46
45 struct BasicStruct { 47 struct BasicStruct {
46 int32 a; 48 int32 a;
47 }; 49 };
48 50
49 [Client=IntegrationTestInterface2] 51 [Client=IntegrationTestInterface2]
50 interface IntegrationTestInterface1 { 52 interface IntegrationTestInterface1 {
51 Method0(BasicStruct param0); 53 Method0(BasicStruct param0);
52 }; 54 };
53 55
54 [Client=IntegrationTestInterface1] 56 [Client=IntegrationTestInterface1]
55 interface IntegrationTestInterface2 { 57 interface IntegrationTestInterface2 {
56 Method0() => (uint8[] param0); 58 Method0() => (uint8[] param0);
57 }; 59 };
58 60
59 } 61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698