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

Unified Diff: chromeos/dbus/auth_policy_client.h

Issue 2685793004: Chromad: Wire up displayName and givenName (Closed)
Patch Set: Combine SetDisplayName and SetGivenName into SetDisplayAndGiveName Created 3 years, 10 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
« no previous file with comments | « chromeos/BUILD.gn ('k') | chromeos/dbus/auth_policy_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/auth_policy_client.h
diff --git a/chromeos/dbus/auth_policy_client.h b/chromeos/dbus/auth_policy_client.h
index 6b237250dd98231c9895660efb80045e10eae789..99c9b811c6ccfbede43344faed4eb363cbe5bb29 100644
--- a/chromeos/dbus/auth_policy_client.h
+++ b/chromeos/dbus/auth_policy_client.h
@@ -9,6 +9,7 @@
#include "base/callback.h"
#include "chromeos/chromeos_export.h"
+#include "chromeos/dbus/authpolicy/active_directory_account_data.pb.h"
#include "chromeos/dbus/dbus_client.h"
#include "third_party/cros_system_api/dbus/service_constants.h"
@@ -23,8 +24,9 @@ class CHROMEOS_EXPORT AuthPolicyClient : public DBusClient {
public:
// |user_id| is a unique id for the users. Using objectGUID from Active
// Directory server.
- using AuthCallback = base::Callback<void(authpolicy::ErrorType error,
- const std::string& user_id)>;
+ using AuthCallback = base::Callback<void(
+ authpolicy::ErrorType error,
+ const authpolicy::ActiveDirectoryAccountData& account_data)>;
using JoinCallback = base::Callback<void(authpolicy::ErrorType error)>;
using RefreshPolicyCallback = base::Callback<void(bool success)>;
« no previous file with comments | « chromeos/BUILD.gn ('k') | chromeos/dbus/auth_policy_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698