| OLD | NEW |
| 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 [DartPackage="_mojo_for_test_only"] | 5 [DartPackage="_mojo_for_test_only"] |
| 6 module dart_to_cpp; | 6 module dart_to_cpp; |
| 7 | 7 |
| 8 // This struct encompasses all of the basic types, so that they | 8 // This struct encompasses all of the basic types, so that they |
| 9 // may be sent from C++ to Dart and back for validation. | 9 // may be sent from C++ to Dart and back for validation. |
| 10 struct EchoArgs { | 10 struct EchoArgs { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 // Responses from specific tests. | 45 // Responses from specific tests. |
| 46 PingResponse(); | 46 PingResponse(); |
| 47 EchoResponse(EchoArgsList list); | 47 EchoResponse(EchoArgsList list); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 interface DartSide { | 50 interface DartSide { |
| 51 SetClient(CppSide cppSide); | 51 SetClient(CppSide cppSide); |
| 52 Ping(); | 52 Ping(); |
| 53 Echo(int32 numIterations, EchoArgs arg); | 53 Echo(int32 numIterations, EchoArgs arg); |
| 54 }; | 54 }; |
| OLD | NEW |