Chromium Code Reviews| Index: chromeos/dbus/auth_policy_client.cc |
| diff --git a/chromeos/dbus/auth_policy_client.cc b/chromeos/dbus/auth_policy_client.cc |
| index cf2ed6b9faffdc08f427dee4e6d09550dde4d281..4a5b812fbac82c87c0acd52e93bb6ce0768b7903 100644 |
| --- a/chromeos/dbus/auth_policy_client.cc |
| +++ b/chromeos/dbus/auth_policy_client.cc |
| @@ -61,10 +61,11 @@ class AuthPolicyClientImpl : public AuthPolicyClient { |
| void RefreshUserPolicy(const AccountId& account_id, |
| const RefreshPolicyCallback& callback) override { |
| + DCHECK(account_id.GetAccountType() == AccountType::ACTIVE_DIRECTORY); |
| dbus::MethodCall method_call(authpolicy::kAuthPolicyInterface, |
| authpolicy::kAuthPolicyRefreshUserPolicy); |
| dbus::MessageWriter writer(&method_call); |
| - writer.AppendString(account_id.GetObjGuid()); |
| + writer.AppendString(account_id.GetAccountIdKey()); |
|
Thiemo Nagel
2016/12/29 16:58:20
I'm already changing this in https://codereview.ch
|
| proxy_->CallMethod( |
| &method_call, dbus::ObjectProxy::TIMEOUT_USE_DEFAULT, |
| base::Bind(&AuthPolicyClientImpl::HandleRefreshPolicyCallback, |