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

Unified Diff: chromeos/dbus/auth_policy_client.cc

Issue 2555293002: Move ADJoinErrorType from authpolicy to authpolicy::types namespace (Closed)
Patch Set: missed one 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
« no previous file with comments | « chromeos/dbus/auth_policy_client.h ('k') | chromeos/dbus/fake_auth_policy_client.cc » ('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 076dd58f145ac642e1c99f999d705350f8c922fc..98bf6a6fc5fb5665eaa3167dc6bf103993f1c021 100644
--- a/chromeos/dbus/auth_policy_client.cc
+++ b/chromeos/dbus/auth_policy_client.cc
@@ -81,16 +81,16 @@ class AuthPolicyClientImpl : public AuthPolicyClient {
if (!response) {
LOG(ERROR) << "Join: Couldn't call to authpolicy";
// TODO(rsorokin): make proper call, after defining possible errors codes.
- callback.Run(authpolicy::AD_JOIN_ERROR_UNKNOWN);
+ callback.Run(authpolicy::types::AD_JOIN_ERROR_UNKNOWN);
return;
}
dbus::MessageReader reader(response);
- int res = authpolicy::AD_JOIN_ERROR_UNKNOWN;
+ int res = authpolicy::types::AD_JOIN_ERROR_UNKNOWN;
if (!reader.PopInt32(&res)) {
LOG(ERROR) << "Join: Couldn't get an error from the response";
// TODO(rsorokin): make proper call, after defining possible errors codes.
- callback.Run(authpolicy::AD_JOIN_ERROR_DBUS_FAIL);
+ callback.Run(authpolicy::types::AD_JOIN_ERROR_DBUS_FAIL);
return;
}
« no previous file with comments | « chromeos/dbus/auth_policy_client.h ('k') | chromeos/dbus/fake_auth_policy_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698