Index: components/policy/core/common/cloud/cloud_policy_client.cc |
diff --git a/components/policy/core/common/cloud/cloud_policy_client.cc b/components/policy/core/common/cloud/cloud_policy_client.cc |
index 3014fd7f1585755d8825c7c6ad01341d57aec0e5..6d47bf5ef74ede41b1e210fd784d0a5f4ebfd85e 100644 |
--- a/components/policy/core/common/cloud/cloud_policy_client.cc |
+++ b/components/policy/core/common/cloud/cloud_policy_client.cc |
@@ -227,9 +227,9 @@ void CloudPolicyClient::FetchRobotAuthCodes(const std::string& auth_token) { |
CHECK(is_registered()); |
DCHECK(!auth_token.empty()); |
- request_job_.reset(service_->CreateJob( |
- DeviceManagementRequestJob::TYPE_API_AUTH_CODE_FETCH, |
- GetRequestContext())); |
+ request_job_.reset( |
+ service_->CreateJob(DeviceManagementRequestJob::TYPE_API_AUTH_CODE_FETCH, |
bartfab (slow)
2014/08/29 09:42:38
Nit: Why did this get reformatted? I see no code c
dcheng
2014/08/29 09:56:37
I've reverted this change. It's because the line w
|
+ GetRequestContext())); |
// The credentials of a domain user are needed in order to mint a new OAuth2 |
// authorization token for the robot account. |
request_job_->SetOAuthToken(auth_token); |