Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1840)

Unified Diff: chrome/browser/profile.h

Issue 5178005: Rework the device management backend implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/prefs/pref_value_store.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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*
« no previous file with comments | « chrome/browser/prefs/pref_value_store.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698