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

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

Issue 2664353002: Host fingerprint mojo service within the device service. (Closed)
Patch Set: try to fix 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
« no previous file with comments | « device/fingerprint/public/interfaces/OWNERS ('k') | services/device/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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{
8 OnRestarted();
9 OnScanned(uint32 scan_result, bool is_complete);
Tom Sepez 2017/02/01 16:30:17 is scan_result really a uint32, or some sort of en
xiaoyinh(OOO Sep 11-29) 2017/02/02 23:25:59 Thanks for your comment. You're right, scan_resul
10 OnAttempt(uint32 scan_result, array<string> recognized_user_ids);
11 OnFailure();
12 };
13
14 interface Fingerprint {
15 GetFingerprintsList() => (array<string> enrollments);
Tom Sepez 2017/02/01 16:30:17 Is this a privileged interface? Which clients do
xiaoyinh(OOO Sep 11-29) 2017/02/02 23:25:59 I think right now only md-settings and lock screen
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
« no previous file with comments | « device/fingerprint/public/interfaces/OWNERS ('k') | services/device/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698