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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: services/device/public/interfaces/fingerprint.mojom
diff --git a/services/device/public/interfaces/fingerprint.mojom b/services/device/public/interfaces/fingerprint.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..3180f9c0026c77dba7bfebf3fe6f40cdb591d027
--- /dev/null
+++ b/services/device/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{
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.
+ OnRestarted();
+ OnScanned(uint32 scan_result, bool is_complete);
+ OnAttempt(uint32 scan_result, array<string> recognized_user_ids);
+ OnFailure();
+};
+
+interface Fingerprint {
+ GetFingerprintsList() => (array<string> enrollments);
+ 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);
+};
+

Powered by Google App Engine
This is Rietveld 408576698