Index: chrome/browser/policy/cloud/user_cloud_policy_manager.h |
diff --git a/chrome/browser/policy/cloud/user_cloud_policy_manager.h b/chrome/browser/policy/cloud/user_cloud_policy_manager.h |
index 1a37ce6094631c643785a3ba461d51dcabc2d1ed..750a000c61efa59d207c1a4c47339f204c4bb514 100644 |
--- a/chrome/browser/policy/cloud/user_cloud_policy_manager.h |
+++ b/chrome/browser/policy/cloud/user_cloud_policy_manager.h |
@@ -15,12 +15,15 @@ |
#include "components/browser_context_keyed_service/browser_context_keyed_service.h" |
class PrefService; |
-class Profile; |
namespace base { |
class SequencedTaskRunner; |
} |
+namespace content { |
+class BrowserContext; |
+} |
+ |
namespace net { |
class URLRequestContextGetter; |
} |
@@ -38,7 +41,7 @@ class UserCloudPolicyManager : public CloudPolicyManager, |
public: |
// |task_runner| is the runner for policy refresh tasks. |
UserCloudPolicyManager( |
- Profile* profile, |
+ content::BrowserContext* context, |
scoped_ptr<UserCloudPolicyStore> store, |
scoped_ptr<CloudExternalDataManager> external_data_manager, |
const scoped_refptr<base::SequencedTaskRunner>& task_runner); |
@@ -73,8 +76,8 @@ class UserCloudPolicyManager : public CloudPolicyManager, |
DeviceManagementService* device_management_service); |
private: |
- // The profile this instance belongs to. |
- Profile* profile_; |
+ // The context this instance belongs to. |
+ content::BrowserContext* context_; |
// Typed pointer to the store owned by UserCloudPolicyManager. Note that |
// CloudPolicyManager only keeps a plain CloudPolicyStore pointer. |