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

Unified Diff: chromeos/dbus/biod/biod_client.h

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 | « chromeos/BUILD.gn ('k') | chromeos/dbus/biod/biod_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/biod/biod_client.h
diff --git a/chromeos/dbus/biod/biod_client.h b/chromeos/dbus/biod/biod_client.h
index e5c3adaea79678c3099b79b4c8c0f40dd66dd89f..e34c9a0f6967e63a8dacd969e8624851703364f2 100644
--- a/chromeos/dbus/biod/biod_client.h
+++ b/chromeos/dbus/biod/biod_client.h
@@ -13,6 +13,7 @@
#include "base/macros.h"
#include "base/observer_list.h"
#include "chromeos/chromeos_export.h"
+#include "chromeos/dbus/biod/constants.pb.h"
#include "chromeos/dbus/dbus_client.h"
#include "chromeos/dbus/dbus_client_implementation_type.h"
#include "chromeos/dbus/dbus_method_call_status.h"
@@ -40,8 +41,11 @@ class CHROMEOS_EXPORT BiodClient : public DBusClient {
// Called whenever a user attempts a scan during enrollment. |scan_result|
// tells whether the scan was succesful. |enroll_session_complete| tells
// whether enroll session is complete and is now over.
+ // |percent_complete| within [0, 100] represents the percent of enrollment
+ // completion and -1 means unknown percentage.
virtual void BiodEnrollScanDoneReceived(biod::ScanResult scan_result,
- bool enroll_session_complete) {}
+ bool enroll_session_complete,
+ int percent_complete) {}
// Called when an authentication scan is performed. If the scan is
// successful, |matches| will equal all the enrollment IDs that match the
« no previous file with comments | « chromeos/BUILD.gn ('k') | chromeos/dbus/biod/biod_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698