Chromium Code Reviews| 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..7cd87214f1688a9360fe26cbd1f04c35168bbfe5 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, |
| + int32_t percent_complete) {} |
|
Daniel Erat
2017/05/03 20:47:34
just use int
xiaoyinh(OOO Sep 11-29)
2017/05/04 00:29:51
Changed here and other places. Except mojom file d
Daniel Erat
2017/05/04 03:07:11
yeah, i just meant in c++ code.
|
| // Called when an authentication scan is performed. If the scan is |
| // successful, |matches| will equal all the enrollment IDs that match the |