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

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

Issue 2581403002: cros: Remaining interfaces for DBUS biometrics client. (Closed)
Patch Set: Fix patch set 8 errors. 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 unified diff | Download patch
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_AUTH_SESSION_CLIENT_H_
6 #define CHROMEOS_DBUS_BIOD_AUTH_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 // BiodAuthenticationClient is used to communicate with the biod authentication
20 // dbus interface.
21 class CHROMEOS_EXPORT BiodAuthSessionClient : public DBusClient {
22 public:
23 ~BiodAuthSessionClient() override;
24
25 // Ends the auth session at |auth_session_path|.
26 virtual void EndAuthSession(const dbus::ObjectPath& auth_session_path) = 0;
rkc 2017/03/25 00:41:37 Any reason why we are diverging the names from the
sammiequon 2017/04/03 17:52:27 I've changed them back.
27
28 // Creates the instance.
29 static BiodAuthSessionClient* Create(DBusClientImplementationType type);
30
31 protected:
32 // Create() should be used instead.
33 BiodAuthSessionClient();
34
35 private:
36 DISALLOW_COPY_AND_ASSIGN(BiodAuthSessionClient);
37 };
38
39 } // namespace chromeos
40
41 #endif // CHROMEOS_DBUS_BIOD_AUTH_SESSION_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698