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

Unified Diff: chromeos/dbus/fake_biod_record_client.cc

Issue 2578323004: cros: Fake implementation of DBUS biometrics client. (Closed)
Patch Set: Rebased to master. Created 3 years, 9 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
Index: chromeos/dbus/fake_biod_record_client.cc
diff --git a/chromeos/dbus/fake_biod_record_client.cc b/chromeos/dbus/fake_biod_record_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..c94881e45ca96d87f46cea26e3a18b4b8e02d875
--- /dev/null
+++ b/chromeos/dbus/fake_biod_record_client.cc
@@ -0,0 +1,28 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chromeos/dbus/fake_biod_record_client.h"
+
+namespace chromeos {
+
+FakeBiodRecordClient::FakeBiodRecordClient() : weak_ptr_factory_(this) {}
+
+FakeBiodRecordClient::~FakeBiodRecordClient() {}
+
+void FakeBiodRecordClient::Init(dbus::Bus* bus) {}
+
+void FakeBiodRecordClient::SetLabel(const dbus::ObjectPath& record_path,
+ const std::string& label) {}
+
+void FakeBiodRecordClient::Remove(const dbus::ObjectPath& record_path) {}
+
+void FakeBiodRecordClient::GetLabel(const dbus::ObjectPath& record_path,
+ const StringCallback& callback) {}
+
+std::string FakeBiodRecordClient::GetLabelBlocking(
+ const dbus::ObjectPath& record_path) {
+ return "";
+}
+
+} // namespace chromeos
« chromeos/dbus/fake_biod_enroll_session_client.h ('K') | « chromeos/dbus/fake_biod_record_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698