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 01a46fa84ad3ccf52cfed1da6eb7e5d19953d978..86501855649da0e7db5c89bbbefc90b127c4634d 100644 |
| --- a/chromeos/dbus/biod/biod_client.h |
| +++ b/chromeos/dbus/biod/biod_client.h |
| @@ -77,6 +77,10 @@ class CHROMEOS_EXPORT BiodClient : public DBusClient { |
| // one argument which states the type of biometric. |
| using BiometricTypeCallback = base::Callback<void(biod::BiometricType)>; |
| + // LabelCallback is for the RequestLabel method. It receives one argument |
|
Daniel Erat
2017/04/03 19:58:18
RequestRecordLabel
sammiequon
2017/04/03 21:35:09
Done.
|
| + // which is the label of the record. |
| + using LabelCallback = base::Callback<void(const std::string&)>; |
|
Daniel Erat
2017/04/03 19:58:18
i think you can include a parameter name here, e.g
sammiequon
2017/04/03 21:35:09
Done.
|
| + |
| // Starts the biometric enroll session. |callback| is called with the object |
| // path of the current enroll session after the method succeeds. |user_id| |
| // contains the unique identifier for the owner of the biometric. |label| is |
| @@ -103,6 +107,26 @@ class CHROMEOS_EXPORT BiodClient : public DBusClient { |
| // type after the method succeeds. |
| virtual void RequestType(const BiometricTypeCallback& callback) = 0; |
| + // Cancels the enroll session at |enroll_session_path|. |
| + virtual void CancelEnrollSession( |
| + const dbus::ObjectPath& enroll_session_path) = 0; |
| + |
| + // Ends the auth session at |auth_session_path|. |
| + virtual void EndAuthSession(const dbus::ObjectPath& auth_session_path) = 0; |
| + |
| + // Changes the label of the record at |record_path| to |label|. |
| + virtual void SetRecordLabel(const dbus::ObjectPath& record_path, |
| + const std::string& label) = 0; |
| + |
| + // Removes the record at |record_path|. This record will no longer be able to |
| + // used for authentication. |
| + virtual void RemoveRecord(const dbus::ObjectPath& record_path) = 0; |
| + |
| + // Requests the label of the record at |record_path|. |callback| is called |
| + // with the label of the record. |
| + virtual void RequestRecordLabel(const dbus::ObjectPath& record_path, |
| + const LabelCallback& callback) = 0; |
| + |
| // Creates the instance. |
| static BiodClient* Create(DBusClientImplementationType type); |