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

Side by Side Diff: chromeos/dbus/biod/biod_auth_session_client.h

Issue 2581403002: cros: Remaining interfaces for DBUS biometrics client. (Closed)
Patch Set: Rebased. 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 unified diff | Download patch
« no previous file with comments | « chromeos/BUILD.gn ('k') | chromeos/dbus/biod/biod_auth_session_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_BIOD_AUTH_SESSION_CLIENT_H_
6 #define CHROMEOS_DBUS_BIOD_BIOD_AUTH_SESSION_CLIENT_H_
7
8 #include "base/callback.h"
9 #include "base/macros.h"
10 #include "chromeos/chromeos_export.h"
11 #include "chromeos/dbus/dbus_client.h"
12 #include "chromeos/dbus/dbus_client_implementation_type.h"
13
14 namespace dbus {
15 class ObjectPath;
16 }
17
18 namespace chromeos {
19
20 // BiodAuthSessionClient is used to communicate with a biod auth sesion
21 // dbus interface.
22 class CHROMEOS_EXPORT BiodAuthSessionClient : public DBusClient {
Daniel Erat 2017/04/03 18:02:10 i don't think it makes sense to add classes for th
23 public:
24 ~BiodAuthSessionClient() override;
25
26 // Ends the auth session at |auth_session_path|.
27 virtual void End(const dbus::ObjectPath& auth_session_path) = 0;
28
29 // Creates the instance.
30 static BiodAuthSessionClient* Create(DBusClientImplementationType type);
31
32 protected:
33 // Create() should be used instead.
34 BiodAuthSessionClient();
35
36 private:
37 DISALLOW_COPY_AND_ASSIGN(BiodAuthSessionClient);
38 };
39
40 } // namespace chromeos
41
42 #endif // CHROMEOS_DBUS_BIOD_BIOD_AUTH_SESSION_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/BUILD.gn ('k') | chromeos/dbus/biod/biod_auth_session_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698