Index: chrome/browser/profiles/profile.h |
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h |
index 37dd180c3ad3378f9e76099fe91b0a32b81c15e2..3912edaf3604c3c18079f37ac91c2c2a1bf9837e 100644 |
--- a/chrome/browser/profiles/profile.h |
+++ b/chrome/browser/profiles/profile.h |
@@ -65,8 +65,8 @@ class FileSystemContext; |
} |
namespace history { |
-class TopSites; |
class ShortcutsBackend; |
+class TopSites; |
} |
namespace net { |
@@ -75,6 +75,7 @@ class SSLConfigService; |
namespace policy { |
class PolicyService; |
+class UserCloudPolicyManager; |
} |
class Profile : public content::BrowserContext { |
@@ -249,6 +250,10 @@ class Profile : public content::BrowserContext { |
// doesn't already exist. |
virtual HistoryService* GetHistoryServiceWithoutCreating() = 0; |
+ // Returns the UserCloudPolicyManager (if any) that handles this profile's |
+ // connection to the cloud-based management service. |
+ virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() = 0; |
+ |
// Returns the PolicyService that provides policies for this profile. |
virtual policy::PolicyService* GetPolicyService() = 0; |