Index: components/policy/core/common/cloud/device_management_service.h |
diff --git a/components/policy/core/common/cloud/device_management_service.h b/components/policy/core/common/cloud/device_management_service.h |
index ffc7bfac52923121bf0f5e81d7cb3364343f957e..ff7565964302415c2d7073f74d65031df3d31915 100644 |
--- a/components/policy/core/common/cloud/device_management_service.h |
+++ b/components/policy/core/common/cloud/device_management_service.h |
@@ -13,6 +13,7 @@ |
#include "base/basictypes.h" |
#include "base/callback.h" |
#include "base/compiler_specific.h" |
+#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
#include "components/policy/core/common/cloud/cloud_policy_constants.h" |
#include "components/policy/policy_export.h" |
@@ -132,7 +133,7 @@ class POLICY_EXPORT DeviceManagementService : public net::URLFetcherDelegate { |
// the caller. |
virtual DeviceManagementRequestJob* CreateJob( |
DeviceManagementRequestJob::JobType type, |
- net::URLRequestContextGetter* request_context); |
+ const scoped_refptr<net::URLRequestContextGetter>& request_context); |
// Schedules a task to run |Initialize| after |delay_milliseconds| had passed. |
void ScheduleInitialization(int64 delay_milliseconds); |