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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_REGISTRATION_HEL PER_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_REGISTRATION_HEL PER_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_REGISTRATION_HEL PER_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_REGISTRATION_HEL PER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 #endif 100 #endif
101 101
102 // Helper class for fetching information from GAIA about the currently 102 // Helper class for fetching information from GAIA about the currently
103 // signed-in user. 103 // signed-in user.
104 scoped_ptr<UserInfoFetcher> user_info_fetcher_; 104 scoped_ptr<UserInfoFetcher> user_info_fetcher_;
105 105
106 // Access token used to register the CloudPolicyClient and also access 106 // Access token used to register the CloudPolicyClient and also access
107 // GAIA to get information about the signed in user. 107 // GAIA to get information about the signed in user.
108 std::string oauth_access_token_; 108 std::string oauth_access_token_;
109 109
110 net::URLRequestContextGetter* context_; 110 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.
111 CloudPolicyClient* client_; 111 CloudPolicyClient* client_;
112 enterprise_management::DeviceRegisterRequest::Type registration_type_; 112 enterprise_management::DeviceRegisterRequest::Type registration_type_;
113 base::Closure callback_; 113 base::Closure callback_;
114 114
115 DISALLOW_COPY_AND_ASSIGN(CloudPolicyClientRegistrationHelper); 115 DISALLOW_COPY_AND_ASSIGN(CloudPolicyClientRegistrationHelper);
116 }; 116 };
117 117
118 } // namespace policy 118 } // namespace policy
119 119
120 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_REGISTRATION_ HELPER_H_ 120 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_REGISTRATION_ HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698