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

Unified 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, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/fingerprint/public/interfaces/OWNERS ('k') | services/device/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/fingerprint/public/interfaces/fingerprint.mojom
diff --git a/device/fingerprint/public/interfaces/fingerprint.mojom b/device/fingerprint/public/interfaces/fingerprint.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..3180f9c0026c77dba7bfebf3fe6f40cdb591d027
--- /dev/null
+++ b/device/fingerprint/public/interfaces/fingerprint.mojom
@@ -0,0 +1,26 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module device.mojom;
+
+interface BiodObserver{
+ OnRestarted();
+ 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
+ OnAttempt(uint32 scan_result, array<string> recognized_user_ids);
+ OnFailure();
+};
+
+interface Fingerprint {
+ 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
+ StartEnroll(string user_id, string label);
+ CancelCurrentEnroll();
+ GetLabel(int32 index) => (string label);
+ SetLabel(string label, int32 index);
+ RemoveEnrollment(int32 index);
+ StartAuthentication();
+ EndCurrentAuthentication();
+ DestroyAllEnrollments();
+ AddBiodObserver(BiodObserver observer);
+};
+
« 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