Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / mojo / public / interfaces / bindings / tests / validation_test_interfaces.mojom
index 366de6b..290b792 100644 (file)
@@ -4,7 +4,7 @@
 
 
 [JavaPackage="org.chromium.mojo.bindings.test.mojom.mojo"]
-module mojo.test {
+module mojo.test;
 
 struct StructA {
   uint64 i;
@@ -15,11 +15,11 @@ struct StructB {
 };
 
 struct StructC {
-  uint8[] array;
+  array<uint8> data;
 };
 
 struct StructD {
-  handle<message_pipe>[] message_pipes;
+  array<handle<message_pipe>> message_pipes;
 };
 
 struct StructE {
@@ -28,20 +28,21 @@ struct StructE {
 };
 
 struct StructF {
-  uint8[3] fixed_size_array;
+  array<uint8, 3> fixed_size_array;
 };
 
 interface ConformanceTestInterface {
   Method0(float param0);
   Method1(StructA param0);
   Method2(StructB param0, StructA param1);
-  Method3(bool[] param0);
-  Method4(StructC param0, uint8[] param1);
+  Method3(array<bool> param0);
+  Method4(StructC param0, array<uint8> param1);
   Method5(StructE param0, handle<data_pipe_producer> param1);
-  Method6(uint8[][] param0);
-  Method7(StructF param0, uint8[5] param1);
-  Method8(string[]?[] param0);
-  Method9(handle?[][]? param0);
+  Method6(array<array<uint8>> param0);
+  Method7(StructF param0, array<array<uint8, 3>?, 2> param1);
+  Method8(array<array<string>?> param0);
+  Method9(array<array<handle?>>? param0);
+  Method10(map<string, uint8> param0);
 };
 
 struct BasicStruct {
@@ -55,7 +56,5 @@ interface IntegrationTestInterface1 {
 
 [Client=IntegrationTestInterface1]
 interface IntegrationTestInterface2 {
-  Method0() => (uint8[] param0);
+  Method0() => (array<uint8> param0);
 };
-
-}