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

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

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: Address nits 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/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);

Powered by Google App Engine
This is Rietveld 408576698