Index: chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h |
diff --git a/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h b/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h |
index 1b91202c50a0cdf96c8b97f5445fd81df2289ceb..25c1133e7908bb28a18f5dd3e4a4c876da9aa37e 100644 |
--- a/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h |
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h |
@@ -20,6 +20,7 @@ |
#include "google_apis/gaia/gaia_auth_consumer.h" |
class PrefService; |
+class Profile; |
namespace net { |
class URLRequestContextGetter; |
@@ -43,6 +44,7 @@ class UserCloudPolicyManagerChromeOS |
// If |wait_for_policy_fetch| is true, IsInitializationComplete() will return |
// false as long as there hasn't been a successful policy fetch. |
UserCloudPolicyManagerChromeOS( |
+ Profile* profile, |
scoped_ptr<CloudPolicyStore> store, |
scoped_ptr<ResourceCache> resource_cache, |
bool wait_for_policy_fetch); |
@@ -109,6 +111,9 @@ class UserCloudPolicyManagerChromeOS |
void StartRefreshScheduler(); |
+ // The profile this instance belongs to. |
+ Profile* profile_; |
+ |
// Owns the store, note that CloudPolicyManager just keeps a plain pointer. |
scoped_ptr<CloudPolicyStore> store_; |