Chromium Code Reviews| 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 537163e7f4af8c4c76585257d54ecba1276b023d..8ebb81f0c2be287eaee54003c50d2d0f9d843bef 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, |
|
Joao da Silva
2013/11/04 09:53:38
Shouldn't this come in https://codereview.chromium
pneubeck (no reviews)
2013/11/04 12:38:50
Done.
|
| scoped_ptr<UserCloudPolicyStore> store, |
| scoped_ptr<CloudExternalDataManager> external_data_manager, |
| const scoped_refptr<base::SequencedTaskRunner>& task_runner); |
| @@ -71,8 +74,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. |