Index: chromeos/dbus/biod_enroll_session_client.h |
diff --git a/chromeos/dbus/biod_enroll_session_client.h b/chromeos/dbus/biod_enroll_session_client.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5b18fc7853c9a192c0edcdbb0b144325ff2ac843 |
--- /dev/null |
+++ b/chromeos/dbus/biod_enroll_session_client.h |
@@ -0,0 +1,42 @@ |
+// 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. |
+ |
+#ifndef CHROMEOS_DBUS_BIOD_ENROLL_SESSION_CLIENT_H_ |
+#define CHROMEOS_DBUS_BIOD_ENROLL_SESSION_CLIENT_H_ |
+ |
+#include <stdint.h> |
+ |
+#include "base/callback.h" |
+#include "base/macros.h" |
+#include "chromeos/chromeos_export.h" |
+#include "chromeos/dbus/dbus_client.h" |
+#include "chromeos/dbus/dbus_client_implementation_type.h" |
+#include "chromeos/dbus/dbus_method_call_status.h" |
+ |
+namespace chromeos { |
+ |
+// BiodEnrollSessionClient is used to communicate with a biod enroll session via |
+// dbus interface. |
+class CHROMEOS_EXPORT BiodEnrollSessionClient : public DBusClient { |
+ public: |
+ ~BiodEnrollSessionClient() override; |
+ |
+ // Cancels the enroll session at |enroll_session_path|. |
+ virtual void CancelEnrollSession( |
+ const dbus::ObjectPath& enroll_session_path) = 0; |
+ |
+ // Creates the instance. |
+ static BiodEnrollSessionClient* Create(DBusClientImplementationType type); |
+ |
+ protected: |
+ // Create() should be used instead. |
+ BiodEnrollSessionClient(); |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(BiodEnrollSessionClient); |
+}; |
+ |
+} // namespace chromeos |
+ |
+#endif // CHROMEOS_DBUS_BIOD_ENROLL_SESSION_CLIENT_H_ |