OLD | NEW |
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.versioning; | 5 module mojo.test.versioning; |
6 | 6 |
7 // versioning_test_service.mojom and versioning_test_client.mojom contain | 7 // versioning_test_service.mojom and versioning_test_client.mojom contain |
8 // different versions of Mojom definitions for a fictitious human resource | 8 // different versions of Mojom definitions for a fictitious human resource |
9 // management system. They are used to test the versioning mechanism. | 9 // management system. They are used to test the versioning mechanism. |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 interface HumanResourceDatabase { | 29 interface HumanResourceDatabase { |
30 AddEmployee(Employee employee) => (bool success); | 30 AddEmployee(Employee employee) => (bool success); |
31 | 31 |
32 QueryEmployee(uint64 id, [MinVersion=1] bool retrieve_finger_print) | 32 QueryEmployee(uint64 id, [MinVersion=1] bool retrieve_finger_print) |
33 => (Employee? employee, [MinVersion=1] array<uint8>? finger_print); | 33 => (Employee? employee, [MinVersion=1] array<uint8>? finger_print); |
34 | 34 |
35 [MinVersion=1] | 35 [MinVersion=1] |
36 AttachFingerPrint(uint64 id, array<uint8> finger_print) | 36 AttachFingerPrint(uint64 id, array<uint8> finger_print) |
37 => (bool success); | 37 => (bool success); |
38 }; | 38 }; |
OLD | NEW |