#include "base/basictypes.h"
#include "base/callback.h"
#include "base/compiler_specific.h"
+#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "components/policy/core/common/cloud/cloud_policy_client.h"
#include "components/policy/core/common/cloud/user_info_fetcher.h"
// GAIA to get information about the signed in user.
std::string oauth_access_token_;
- net::URLRequestContextGetter* context_;
+ scoped_refptr<net::URLRequestContextGetter> context_;
CloudPolicyClient* client_;
enterprise_management::DeviceRegisterRequest::Type registration_type_;
base::Closure callback_;