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

Unified Diff: chromeos/dbus/auth_policy_client.cc

Issue 2835473002: Chromad: Allow offline login. (Closed)
Patch Set: Add TryAuthenticateUser call 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/auth_policy_client.h ('k') | chromeos/dbus/fake_auth_policy_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/auth_policy_client.cc
diff --git a/chromeos/dbus/auth_policy_client.cc b/chromeos/dbus/auth_policy_client.cc
index 9b3597929cbd3ef897df0ce08ea1428f43e9d8fe..36b864026ce2fac796312f6b3c06dd7bd5a995f7 100644
--- a/chromeos/dbus/auth_policy_client.cc
+++ b/chromeos/dbus/auth_policy_client.cc
@@ -57,12 +57,14 @@ class AuthPolicyClientImpl : public AuthPolicyClient {
}
void AuthenticateUser(const std::string& user_principal_name,
+ const std::string& object_guid,
int password_fd,
AuthCallback callback) override {
dbus::MethodCall method_call(authpolicy::kAuthPolicyInterface,
authpolicy::kAuthPolicyAuthenticateUser);
dbus::MessageWriter writer(&method_call);
writer.AppendString(user_principal_name);
+ writer.AppendString(object_guid);
writer.AppendFileDescriptor(password_fd);
proxy_->CallMethod(
&method_call, kSlowDbusTimeoutMilliseconds,
« no previous file with comments | « chromeos/dbus/auth_policy_client.h ('k') | chromeos/dbus/fake_auth_policy_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698