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

Side by Side Diff: services/device/public/interfaces/fingerprint.mojom

Issue 2664353002: Host fingerprint mojo service within the device service. (Closed)
Patch Set: Modify BUILD.gn Created 3 years, 10 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
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698