| Index: chromeos/dbus/fake_auth_policy_client.cc
|
| diff --git a/chromeos/dbus/fake_auth_policy_client.cc b/chromeos/dbus/fake_auth_policy_client.cc
|
| index 02a9b5bea6e7a75c0810cf9f73d8544e487fa73f..92eaea8198dd977e05be5b40a2d0458b98ef2d5f 100644
|
| --- a/chromeos/dbus/fake_auth_policy_client.cc
|
| +++ b/chromeos/dbus/fake_auth_policy_client.cc
|
| @@ -15,6 +15,7 @@
|
| #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h"
|
| #include "chromeos/chromeos_paths.h"
|
| #include "components/policy/proto/device_management_backend.pb.h"
|
| +#include "third_party/cros_system_api/dbus/service_constants.h"
|
|
|
| namespace em = enterprise_management;
|
|
|
| @@ -65,15 +66,14 @@ void FakeAuthPolicyClient::JoinAdDomain(const std::string& machine_name,
|
| const std::string& user_principal_name,
|
| int password_fd,
|
| const JoinCallback& callback) {
|
| - callback.Run(authpolicy::types::AD_JOIN_ERROR_NONE);
|
| + callback.Run(authpolicy::ERROR_NONE);
|
| }
|
|
|
| void FakeAuthPolicyClient::AuthenticateUser(
|
| const std::string& user_principal_name,
|
| int password_fd,
|
| const AuthCallback& callback) {
|
| - callback.Run(authpolicy::AUTH_USER_ERROR_NONE,
|
| - base::MD5String(user_principal_name));
|
| + callback.Run(authpolicy::ERROR_NONE, base::MD5String(user_principal_name));
|
| }
|
|
|
| void FakeAuthPolicyClient::RefreshDevicePolicy(
|
|
|