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

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

Issue 2799043007: CrOS: Add success/failure indicators for biod methods with no callback. (Closed)
Patch Set: Empty -> null. Created 3 years, 8 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/dbus/biod/biod_client_unittest.cc ('k') | chromeos/dbus/biod/fake_biod_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/biod/fake_biod_client.h
diff --git a/chromeos/dbus/biod/fake_biod_client.h b/chromeos/dbus/biod/fake_biod_client.h
index e4fd8410ce8f81f8ca952890d82e4a988af9cea6..171826f8eafac47f4e316a3e3889dd1291f9bdb4 100644
--- a/chromeos/dbus/biod/fake_biod_client.h
+++ b/chromeos/dbus/biod/fake_biod_client.h
@@ -40,15 +40,18 @@ class CHROMEOS_EXPORT FakeBiodClient : public BiodClient {
const ObjectPathCallback& callback) override;
void GetRecordsForUser(const std::string& user_id,
const UserRecordsCallback& callback) override;
- void DestroyAllRecords() override;
+ void DestroyAllRecords(const VoidDBusMethodCallback& callback) override;
void StartAuthSession(const ObjectPathCallback& callback) override;
void RequestType(const BiometricTypeCallback& callback) override;
- void CancelEnrollSession(
- const dbus::ObjectPath& enroll_session_path) override;
- void EndAuthSession(const dbus::ObjectPath& auth_session_path) override;
+ void CancelEnrollSession(const dbus::ObjectPath& enroll_session_path,
+ const VoidDBusMethodCallback& callback) override;
+ void EndAuthSession(const dbus::ObjectPath& auth_session_path,
+ const VoidDBusMethodCallback& callback) override;
void SetRecordLabel(const dbus::ObjectPath& record_path,
- const std::string& label) override;
- void RemoveRecord(const dbus::ObjectPath& record_path) override;
+ const std::string& label,
+ const VoidDBusMethodCallback& callback) override;
+ void RemoveRecord(const dbus::ObjectPath& record_path,
+ const VoidDBusMethodCallback& callback) override;
void RequestRecordLabel(const dbus::ObjectPath& record_path,
const LabelCallback& callback) override;
« no previous file with comments | « chromeos/dbus/biod/biod_client_unittest.cc ('k') | chromeos/dbus/biod/fake_biod_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698