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

Unified Diff: chromeos/dbus/fake_auth_policy_client.h

Issue 2519823006: Chromad: Add authentication flow (Closed)
Patch Set: Fix profile creation, mojo types + rebase. Created 4 years 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 04dde91969078282d34596f97b29eca1a399c863..dddf5bba9c5f593ea7d9ef7b40627ecb0576292c 100644
--- a/chromeos/dbus/fake_auth_policy_client.h
+++ b/chromeos/dbus/fake_auth_policy_client.h
@@ -22,10 +22,13 @@ 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 RefreshDevicePolicy(const RefreshPolicyCallback& 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& callback) override;

Powered by Google App Engine
This is Rietveld 408576698