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

Unified Diff: chromeos/dbus/fake_auth_policy_client.cc

Issue 2587993002: Chromad: Switch AuthPolicyClient to use cros_system_api enums. (Closed)
Patch Set: 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
« chromeos/dbus/auth_policy_client.h ('K') | « chromeos/dbus/auth_policy_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 aaaa9b72d7ef785908f9e5c9e60bb328f9db10ae..69227547cf146d6d3447c752fae06b79389b7c81 100644
--- a/chromeos/dbus/fake_auth_policy_client.cc
+++ b/chromeos/dbus/fake_auth_policy_client.cc
@@ -14,6 +14,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;
@@ -64,7 +65,7 @@ void FakeAuthPolicyClient::JoinAdDomain(const std::string& machine_name,
const std::string& user,
int password_fd,
const JoinCallback& callback) {
- callback.Run(authpolicy::types::AD_JOIN_ERROR_NONE);
+ callback.Run(authpolicy::AD_JOIN_ERROR_NONE);
}
void FakeAuthPolicyClient::RefreshDevicePolicy(
« chromeos/dbus/auth_policy_client.h ('K') | « chromeos/dbus/auth_policy_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698