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

Unified Diff: components/policy/core/common/cloud/cloud_policy_client_registration_helper.h

Issue 506633004: Remove implicit conversions from scoped_refptr to T* in components/policy/ (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_registration_helper.h
diff --git a/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h b/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h
index 721282aad478e450f0b305104dcd9f7f31a8de04..a5731e0e6086f8198db5fbdd6a05c2e05167ffb7 100644
--- a/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h
+++ b/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h
@@ -107,7 +107,7 @@ class POLICY_EXPORT CloudPolicyClientRegistrationHelper
// GAIA to get information about the signed in user.
std::string oauth_access_token_;
- net::URLRequestContextGetter* context_;
+ scoped_refptr<net::URLRequestContextGetter> context_;
bartfab (slow) 2014/08/25 19:39:13 Nit: #include "base/memory/ref_counted.h"
dcheng 2014/08/25 20:59:58 Done.
CloudPolicyClient* client_;
enterprise_management::DeviceRegisterRequest::Type registration_type_;
base::Closure callback_;

Powered by Google App Engine
This is Rietveld 408576698