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

Unified Diff: components/policy/core/common/cloud/cloud_policy_client.cc

Issue 514143002: Manual fixups in components/policy for scoped_refptr operator T* removal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 4 months 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
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);

Powered by Google App Engine
This is Rietveld 408576698