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

Unified Diff: services/device/public/interfaces/fingerprint.mojom

Issue 2858003002: Roll src/third_party/cros_system_api/ c6eab9e4d..6139ae009 + API change (Closed)
Patch Set: rebase Created 3 years, 7 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 | « services/device/fingerprint/fingerprint_chromeos_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/device/public/interfaces/fingerprint.mojom
diff --git a/services/device/public/interfaces/fingerprint.mojom b/services/device/public/interfaces/fingerprint.mojom
index c9059cb7263a406d19c2ad867e24292f3f312ce2..92515ce23e5c1fec2fe50fc73a81c40364639407 100644
--- a/services/device/public/interfaces/fingerprint.mojom
+++ b/services/device/public/interfaces/fingerprint.mojom
@@ -15,7 +15,11 @@ interface FingerprintObserver{
// Called whenever a user attempts a scan. |scan_result| tells whether the
// scan was succesful. |is_complete| tells whether record is complete
// and now over.
- OnEnrollScanDone(uint32 scan_result, bool is_complete);
+ // |percent_complete| within [0, 100] represents the percent of enrollment
+ // completion and -1 means unknown percentage.
+ OnEnrollScanDone(uint32 scan_result,
+ bool is_complete,
+ int32 percent_complete);
// Called to indicate a bad scan of any kind, or a succesful scan. If scan
// is successful, |matches| is a map of user id keys to a vector of
@@ -23,7 +27,8 @@ interface FingerprintObserver{
OnAuthScanDone(uint32 scan_result, map<string, array<string>> matches);
// Called during either mode to indicate a failure. Any EnrollSession record
- // that was underway is thrown away and AuthSession will no longer be happening.
+ // that was underway is thrown away and AuthSession will no longer be
+ // happening.
OnSessionFailed();
};
« no previous file with comments | « services/device/fingerprint/fingerprint_chromeos_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698