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

Unified Diff: chromeos/dbus/fake_auth_policy_client.h

Issue 2519823006: Chromad: Add authentication flow (Closed)
Patch Set: Created 4 years, 1 month 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
Index: chromeos/dbus/fake_auth_policy_client.h
diff --git a/chromeos/dbus/fake_auth_policy_client.h b/chromeos/dbus/fake_auth_policy_client.h
index 55da46fc5df900290bf1dff08ba538988288b59c..ab07e67a40dc5e67984b90a17674565bc19f1a61 100644
--- a/chromeos/dbus/fake_auth_policy_client.h
+++ b/chromeos/dbus/fake_auth_policy_client.h
@@ -22,9 +22,12 @@ class CHROMEOS_EXPORT FakeAuthPolicyClient : public AuthPolicyClient {
void Init(dbus::Bus* bus) override;
// AuthPolicyClient overrides.
void JoinAdDomain(const std::string& machine_name,
- const std::string& user,
+ const std::string& user_principal_name,
int password_fd,
const JoinCallback& callback) override;
+ void AuthenticateUser(const std::string& user_principal_name,
+ int password_fd,
+ const AuthCallback& callback) override;
void RefreshDevicePolicy(const RefreshPolicyCallback& calllback) override;
void RefreshUserPolicy(const std::string& account_id,
const RefreshPolicyCallback& calllback) override;

Powered by Google App Engine
This is Rietveld 408576698