Index: chrome/browser/profile.h |
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h |
index f2accbf6b62573f90b0626e821625822c746bd69..b373faf3bcec59a520c1c08a29f41a088ccdd3dc 100644 |
--- a/chrome/browser/profile.h |
+++ b/chrome/browser/profile.h |
@@ -30,6 +30,11 @@ class TransportSecurityState; |
class SSLConfigService; |
} |
+namespace policy { |
+class DeviceManagementService; |
+class DeviceManagementPolicyProvider; |
+} |
+ |
namespace webkit_database { |
class DatabaseTracker; |
} |
@@ -472,6 +477,13 @@ class Profile { |
// Returns the PromoCounter for Instant, or NULL if not applicable. |
virtual PromoCounter* GetInstantPromoCounter() = 0; |
+ // Gets the device management service associated with this profile. |
+ virtual policy::DeviceManagementService* GetDeviceManagementService() = 0; |
+ |
+ // Get the device management policy provider for this profile. |
+ virtual policy::DeviceManagementPolicyProvider* |
+ GetDeviceManagementPolicyProvider() = 0; |
+ |
#if defined(OS_CHROMEOS) |
// Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. |
virtual chromeos::ProxyConfigServiceImpl* |