Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module device.mojom; | |
| 6 | |
| 7 interface BiodObserver{ | |
|
blundell
2017/02/06 14:52:43
These interfaces and methods should have comments
xiaoyinh(OOO Sep 11-29)
2017/02/22 00:04:50
Done.
| |
| 8 OnRestarted(); | |
| 9 OnScanned(uint32 scan_result, bool is_complete); | |
| 10 OnAttempt(uint32 scan_result, array<string> recognized_user_ids); | |
| 11 OnFailure(); | |
| 12 }; | |
| 13 | |
| 14 interface Fingerprint { | |
| 15 GetFingerprintsList() => (array<string> enrollments); | |
| 16 StartEnroll(string user_id, string label); | |
| 17 CancelCurrentEnroll(); | |
| 18 GetLabel(int32 index) => (string label); | |
| 19 SetLabel(string label, int32 index); | |
| 20 RemoveEnrollment(int32 index); | |
| 21 StartAuthentication(); | |
| 22 EndCurrentAuthentication(); | |
| 23 DestroyAllEnrollments(); | |
| 24 AddBiodObserver(BiodObserver observer); | |
| 25 }; | |
| 26 | |
| OLD | NEW |