OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROMEOS_DBUS_BIOD_ENROLL_SESSION_CLIENT_H_ | |
6 #define CHROMEOS_DBUS_BIOD_ENROLL_SESSION_CLIENT_H_ | |
7 | |
8 #include <stdint.h> | |
9 | |
10 #include "base/callback.h" | |
11 #include "base/macros.h" | |
12 #include "chromeos/chromeos_export.h" | |
13 #include "chromeos/dbus/dbus_client.h" | |
14 #include "chromeos/dbus/dbus_client_implementation_type.h" | |
15 #include "chromeos/dbus/dbus_method_call_status.h" | |
16 | |
17 namespace chromeos { | |
18 | |
19 // BiodEnrollSessionClient is used to communicate with a biod enroll session via | |
20 // dbus interface. | |
21 class CHROMEOS_EXPORT BiodEnrollSessionClient : public DBusClient { | |
22 public: | |
23 ~BiodEnrollSessionClient() override; | |
24 | |
25 // Cancels the enroll session at |enroll_session_path|. | |
26 virtual void CancelEnrollSession( | |
rkc
2017/03/25 00:41:38
Same as last comment. Being part of BiodEnrollSess
sammiequon
2017/04/03 17:52:27
Done.
| |
27 const dbus::ObjectPath& enroll_session_path) = 0; | |
28 | |
29 // Creates the instance. | |
30 static BiodEnrollSessionClient* Create(DBusClientImplementationType type); | |
31 | |
32 protected: | |
33 // Create() should be used instead. | |
34 BiodEnrollSessionClient(); | |
35 | |
36 private: | |
37 DISALLOW_COPY_AND_ASSIGN(BiodEnrollSessionClient); | |
38 }; | |
39 | |
40 } // namespace chromeos | |
41 | |
42 #endif // CHROMEOS_DBUS_BIOD_ENROLL_SESSION_CLIENT_H_ | |
OLD | NEW |